From 23a75af38ce73da48cf0f26a6fd5060bf2e72c86 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 14 Jul 2023 16:57:31 +0200 Subject: [PATCH] exclude mastodon cache from backups --- ansible/roles/borg/backup.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/borg/backup.yml.j2 b/ansible/roles/borg/backup.yml.j2 index 31894ab..882ea49 100644 --- a/ansible/roles/borg/backup.yml.j2 +++ b/ansible/roles/borg/backup.yml.j2 @@ -3,6 +3,8 @@ location: - /mnt/thecloud repositories: - /mnt/backups/share + exclude_patterns: + - /mnt/thecloud/mastodon/system/cache retention: keep_daily: 7 keep_weekly: 4