diff options
author | Simon Rettberg | 2018-08-22 12:15:21 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-22 12:15:21 +0200 |
commit | 82e6be5d82f58425bd069b5088d2614fae448bb5 (patch) | |
tree | 9914e6b2a14e44315df53d5af3c862e10536c441 | |
parent | [borg] Actually use $BORG_VERSION (diff) | |
download | setup-scripts-82e6be5d82f58425bd069b5088d2614fae448bb5.tar.gz setup-scripts-82e6be5d82f58425bd069b5088d2614fae448bb5.tar.xz setup-scripts-82e6be5d82f58425bd069b5088d2614fae448bb5.zip |
[borg] Ignore root's .cache too
-rwxr-xr-x | borgbackup/create-repo | 1 |
1 files changed, 1 insertions, 0 deletions
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/*' \\ |