summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.sh b/backup.sh
index 8985acb..4c143d2 100755
--- a/backup.sh
+++ b/backup.sh
@@ -87,7 +87,7 @@ backup_borg() {
fi
borg create "${options[@]}" "$dst::backup-$(date "+%Y%m%d-%H%M%S")" "$src"
- borg prune -v --keep-within 6m "$dst"
+ borg prune --keep-within 7d --keep-daily 7 --keep-weekly 12 --keep-monthly 12 --keep-yearly 3 -v "$dst"
}
### support functions below ###