From e10700539e74cee6644e9bfd0e20315cd2336ca0 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 25 Nov 2024 14:31:17 +0500 Subject: [PATCH] Backup nextcloud files --- 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 7991d0f..040eaa5 100644 --- a/roles/backups/templates/backup.sh.j2 +++ b/roles/backups/templates/backup.sh.j2 @@ -6,4 +6,5 @@ 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 forget --keep-daily 7 --keep-weekly 2