From 0b86a6a82ee75f14c47c00f9f42a979d7ff663be Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 5 Feb 2021 11:47:47 +1100 Subject: [PATCH] borg-backup: add a few more global excludes These were gleaned from looking at what files are taking up space in the deltas of backups. Nothing major, but mlocate in partiuclar is taking up to a couple of hundred mb on some servers. Change-Id: I4b08c4e2491fa7138045aabcb23017ff8cef7600 --- playbooks/roles/borg-backup/defaults/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/roles/borg-backup/defaults/main.yaml b/playbooks/roles/borg-backup/defaults/main.yaml index 5e7a723e68..efc9ae69b2 100644 --- a/playbooks/roles/borg-backup/defaults/main.yaml +++ b/playbooks/roles/borg-backup/defaults/main.yaml @@ -8,8 +8,11 @@ borg_backup_excludes: - '/var/tmp/*' - '/var/run/*' - '/var/lock/*' + - '/var/spool/*' - '/var/lib/lxcfs/*' - '/var/lib/docker/*' + - '/var/lib/containerd/*' + - '/var/lib/mlocate/*' borg_backup_excludes_extra: [] borg_backup_dirs: