Add BORG_EXCLUDES

This commit is contained in:
flyingscorpio@arch-desktop 2020-10-26 18:37:56 +01:00
parent 44be482846
commit b7b977aa0e
2 changed files with 9 additions and 18 deletions

View file

@ -65,27 +65,12 @@ 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 \

View file

@ -3,3 +3,9 @@
SETUP_COCKPIT_EMAIL=''
SSH_REPO='user@ho.st'
BORG_PASSPHRASE=''
BORG_EXCLUDES="
--exclude '' \
--exclude '' \
--exclude '' \
--exclude '' \
"