From f97ef4dee6d32bd89ec19de04d9988a7a1d61d0a Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sat, 11 Mar 2023 19:42:29 +0100 Subject: [PATCH] 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. --- templates/borgbackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/borgbackup.sh b/templates/borgbackup.sh index 5ddf124..c93e0b4 100644 --- a/templates/borgbackup.sh +++ b/templates/borgbackup.sh @@ -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