From 0fdfd2e76fdd62d91326a3530d9d245d7c5e1013 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Wed, 10 Jan 2024 18:03:39 +0100 Subject: [PATCH] Exclude Mastodon cache from backup --- roles/docker/templates/compose-files/restic.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/docker/templates/compose-files/restic.yml.j2 b/roles/docker/templates/compose-files/restic.yml.j2 index 1f2ed2b..333a7e5 100644 --- a/roles/docker/templates/compose-files/restic.yml.j2 +++ b/roles/docker/templates/compose-files/restic.yml.j2 @@ -14,6 +14,7 @@ services: RESTIC_BACKUP_ARGS: >- --tag datacoop-volumes --exclude '*.tmp' + --exclude '/mnt/volumes/mastodon/mastodon_data/cache/' --verbose RESTIC_FORGET_ARGS: >- --keep-last 10