Backup nextcloud files

This commit is contained in:
Ivan R. 2024-11-25 14:31:17 +05:00
parent e558ab6609
commit e10700539e
Signed by: lumin
GPG key ID: E0937DC7CD6D3817

View file

@ -6,4 +6,5 @@ docker exec restic-1 restic -o s3.bucket-lookup=dns \
backup --stdin-filename /data/postgresql.sql --stdin-from-command \ backup --stdin-filename /data/postgresql.sql --stdin-from-command \
-- pg_dumpall -U postgres -h postgresql --no-password -- 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/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 docker exec restic-1 restic -o s3.bucket-lookup=dns forget --keep-daily 7 --keep-weekly 2