From b7cadf2b91da2c0c39ee7b47495dd510055d5ba4 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 25 Nov 2024 17:00:49 +0500 Subject: [PATCH] Backup nextcloud docker volume --- roles/backups/templates/backup.sh.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/backups/templates/backup.sh.j2 b/roles/backups/templates/backup.sh.j2 index d5248c0..7eba3c3 100644 --- a/roles/backups/templates/backup.sh.j2 +++ b/roles/backups/templates/backup.sh.j2 @@ -6,6 +6,9 @@ docker exec restic-1 restic -o s3.bucket-lookup=dns \ backup --stdin-filename /data/postgresql.sql --stdin-from-command \ -- pg_dumpall -U postgres -h postgresql --no-password docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/immich + docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/nextcloud +docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/docker/nextcloud + docker exec restic-1 restic -o s3.bucket-lookup=dns backup /data/peertube docker exec restic-1 restic -o s3.bucket-lookup=dns forget --keep-daily 7 --keep-weekly 2