aboutsummaryrefslogtreecommitdiff
path: root/lib/subcommands/backup.bash
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subcommands/backup.bash')
-rw-r--r--lib/subcommands/backup.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/subcommands/backup.bash b/lib/subcommands/backup.bash
index 8048053..3d56539 100644
--- a/lib/subcommands/backup.bash
+++ b/lib/subcommands/backup.bash
@@ -72,7 +72,7 @@ backup_filesystem() {
"--keep-weekly" "$(config "bashtard.backup.keep.weekly")"
"--keep-monthly" "$(config "bashtard.backup.keep.monthly")"
"--keep-yearly" "$(config "bashtard.backup.keep.yearly")"
- "--prefix" "{fqdn}-"
+ "--glob-archives" "${BASHTARD_PLATFORM[fqdn]}-"
"--remote-path" "$remote"
"$repo/hostfs"
)
@@ -144,7 +144,7 @@ backup_database_postgresql() {
"--keep-weekly" "$(config "bashtard.backup.keep.weekly")"
"--keep-monthly" "$(config "bashtard.backup.keep.monthly")"
"--keep-yearly" "$(config "bashtard.backup.keep.yearly")"
- "--prefix" "$database-"
+ "--glob-archives" "$database-"
"--remote-path" "$remote"
"$repo/postgresql-$database"
)