summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.sh b/backup.sh
index 38e2a89..58518a9 100755
--- a/backup.sh
+++ b/backup.sh
@@ -142,7 +142,7 @@ backup_borg() {
# ensure that we have at least one recent full backup when we purge.
if [[ $backup_prefix == 'backup-' ]]; then
borg prune --prefix "backup-" --keep-within 7d --keep-daily 7 --keep-weekly 12 --keep-monthly 6 --keep-yearly 0 -v "$dst"
- borg prune --prefix "partial-" --keep-within 7d --keep-daily 7 --keep-weekly 12 --keep-monthly 6 --keep-yearly 0 -v "$dst"
+ borg prune --prefix "partial-" --keep-within 31d -v "$dst"
fi
}