From bba1293a0e0fad95cfcb2e52e108723f3409e97b Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sat, 15 Feb 2025 18:41:11 +0100 Subject: [PATCH] borgbackup: Exclude /usr/lib/ and /root/.cache/ --- templates/borgbackup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/borgbackup.sh b/templates/borgbackup.sh index 66eb197..656034b 100644 --- a/templates/borgbackup.sh +++ b/templates/borgbackup.sh @@ -19,6 +19,8 @@ borg create \ --compression lz4 \ --exclude-caches \ --exclude '/home/*/.cache/*' \ + --exclude '/root/.cache/*' \ + --exclude '/usr/lib/*' \ --exclude '/var/run' \ --exclude '/var/cache/*' \ --exclude '/var/tmp/*' \