summaryrefslogtreecommitdiffstats
path: root/borgbackup
diff options
context:
space:
mode:
authorSimon Rettberg2018-08-24 09:47:48 +0200
committerSimon Rettberg2018-08-24 09:47:48 +0200
commit571e63e0d21e3a4ec02ca14d167778a38db502a1 (patch)
treefbfb7b5106d06e5f13d47f2e0d8e84bd7302f96d /borgbackup
parent[borg] Ignore root's .cache too (diff)
downloadsetup-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-xborgbackup/create-repo1
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"