borgbackup: Replace deprecated option (borg >= v1.1)

Debian 10 (currently oldstable) has v1.1.9, so we should be save to
depend on at least v1.1.0.
This commit is contained in:
Jannik Beyerstedt 2023-03-11 19:42:29 +01:00
parent e85b765e0e
commit f97ef4dee6
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ backup_exit=$?
# Prune old backups: keep 7 daily, 3 weekly and 2 monthly (3 months total)
borg prune \
--prefix '{{ borgbackup_hostname }}-' \
--glob-archives '{{ borgbackup_hostname }}-*' \
--keep-daily 7 \
--keep-weekly 3 \
--keep-monthly 2