diff options
author | Simon Rettberg | 2018-08-24 09:47:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-24 09:47:48 +0200 |
commit | 571e63e0d21e3a4ec02ca14d167778a38db502a1 (patch) | |
tree | fbfb7b5106d06e5f13d47f2e0d8e84bd7302f96d /borgbackup | |
parent | [borg] Ignore root's .cache too (diff) | |
download | setup-scripts-571e63e0d21e3a4ec02ca14d167778a38db502a1.tar.gz setup-scripts-571e63e0d21e3a4ec02ca14d167778a38db502a1.tar.xz setup-scripts-571e63e0d21e3a4ec02ca14d167778a38db502a1.zip |
[borg] Ignore /var/lib/apt/lists
Diffstat (limited to 'borgbackup')
-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 3ff3c68..42b44c1 100755 --- a/borgbackup/create-repo +++ b/borgbackup/create-repo @@ -74,6 +74,7 @@ borg create --filter AME --list --stats --show-rc \\ --exclude '/var/cache/*' \\ --exclude '/var/tmp/*' \\ --exclude '/var/run/*' \\ + --exclude '/var/lib/apt/lists/*' \\ '::main-{now}' /etc /home /root /var /opt /srv SCRIPT chmod 0700 "/opt/scripts/borg-backup.sh" |