summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"