From 343ba1985fc30a08d77c0bdb516df5b86c06a672 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..048de4f 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/cache retention: keep_daily: 7 keep_weekly: 4