From f91c451a1e86d8770dd844847e5ea3ba4a85aad6 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Mon, 26 Oct 2020 19:37:34 +0100 Subject: [PATCH] Reput hard coded excludes, doesn't work --- borg_backup.sh | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/borg_backup.sh b/borg_backup.sh index 48f3cd9..882a5ac 100755 --- a/borg_backup.sh +++ b/borg_backup.sh @@ -65,12 +65,27 @@ borg create \ --show-rc \ --compression lz4 \ --exclude-caches \ + --exclude '/home/*/.*/*' \ + --exclude '/home/*/.*' \ + --exclude '/home/*/builds/*'\ + --exclude '/home/*/github_dotfiles/*'\ + --exclude '/home/*/github_misc/*'\ + --exclude '/home/*/Downloads/*'\ + --exclude '/home/*/Desktop/*'\ + --exclude '/home/*/Keepass/*'\ + --exclude '/home/*/Lessons/*'\ + --exclude '/home/*/Music/*'\ + --exclude '/home/*/PersonnalScripts/*'\ + --exclude '/home/*/Podcasts/*'\ + --exclude '/home/*/RootMe/*'\ + --exclude '/home/*/SetupCockpit/*'\ + --exclude '/home/*/SRC/*'\ + --exclude '/home/*/VirtualBox VMs/*'\ + --exclude '/home/*/Videos/*'\ + --exclude '/home/*/Documents/MBSR/*'\ --exclude '/var/cache/*' \ --exclude '/var/log/*' \ --exclude '/var/tmp/*' \ - --exclude '/home/*/.*/*' \ - --exclude '/home/*/.*' \ - "$BORG_EXCLUDES" \ ::'{hostname}-{now}' \ /etc \