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:
parent
e85b765e0e
commit
f97ef4dee6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue