diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-19 11:25:50 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-19 11:25:55 +0100 |
commit | 20ff53212b13ac53a95b0a021ac326aee1bb8bab (patch) | |
tree | c9e01ad355f471ad4b4efe7b2219ec727793b28a /lib/subcommands/backup.bash | |
parent | 4dbada1e0e903725c5d10d19a356527a3fb5a964 (diff) |
Use --glob-archives for borg
Diffstat (limited to 'lib/subcommands/backup.bash')
-rw-r--r-- | lib/subcommands/backup.bash | 4 |
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" ) |