Reput hard coded excludes, doesn't work

This commit is contained in:
flyingscorpio@arch-desktop 2020-10-26 19:37:34 +01:00
parent b7b977aa0e
commit f91c451a1e

View file

@ -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 \