From 82e6be5d82f58425bd069b5088d2614fae448bb5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 22 Aug 2018 12:15:21 +0200 Subject: [borg] Ignore root's .cache too --- borgbackup/create-repo | 1 + 1 file changed, 1 insertion(+) diff --git a/borgbackup/create-repo b/borgbackup/create-repo index 52e86be..3ff3c68 100755 --- a/borgbackup/create-repo +++ b/borgbackup/create-repo @@ -70,6 +70,7 @@ export BORG_REPO="ssh://${user}@${THIS_HOST}${basedir}/repo" borg create --filter AME --list --stats --show-rc \\ --exclude-caches \\ --exclude '/home/*/.cache/*' \\ + --exclude '/root/.cache/*' \\ --exclude '/var/cache/*' \\ --exclude '/var/tmp/*' \\ --exclude '/var/run/*' \\ -- cgit v1.2.3-55-g7522