From bd1191cf378f3b16ea0fc85c79af2e46dd7adc71 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Sat, 21 Dec 2024 22:30:29 +0500 Subject: [PATCH] Call "restic prune" after "restic forget" command --- roles/backups/templates/backup.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/backups/templates/backup.sh.j2 b/roles/backups/templates/backup.sh.j2 index fb7bfdc..2079d93 100644 --- a/roles/backups/templates/backup.sh.j2 +++ b/roles/backups/templates/backup.sh.j2 @@ -34,3 +34,4 @@ docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/synapse docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/vaultwarden docker exec restic-1 restic -o s3.bucket-lookup=dns forget --keep-daily 7 --keep-weekly 2 +docker exec restic-1 restic -o s3.bucket-lookup=dns prune