Skip to content
Snippets Groups Projects
Commit a02a598b authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

[borg] change archive name to match borg default

Archive names must be unique, so if the backup runs more than once per
day with the previous default, it will throw and error because of the
duplicate archive name. This is also consistent with the addition of
the keephourly prune option.
parent 245454b7
No related branches found
No related tags found
1 merge request!10Borg support (rebased)
......@@ -372,7 +372,7 @@ borg_wizard() {
borg_directory=/backup/`hostname`
borg_user=root
borg_host=localhost
borg_archive='{now:%Y-%m-%d}'
borg_archive='{now:%Y-%m-%dT%H:%M:%S}'
borg_compression=lz4
borg_encryption=none
borg_passphrase=
......
......@@ -35,7 +35,7 @@ getconf host
getconf directory
# strip trailing /
directory=${directory%/}
getconf archive {now:%Y-%m-%d}
getconf archive {now:%Y-%m-%dT%H:%M:%S}
getconf compression lz4
getconf encryption none
getconf passphrase
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment