Found a way to put excludes in secrets file
This commit is contained in:
parent
f91c451a1e
commit
07d36747c2
2 changed files with 5 additions and 21 deletions
|
@ -67,22 +67,7 @@ borg create \
|
|||
--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-from <(echo "$BORG_EXCLUDES")\
|
||||
--exclude '/var/cache/*' \
|
||||
--exclude '/var/log/*' \
|
||||
--exclude '/var/tmp/*' \
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
SETUP_COCKPIT_EMAIL=''
|
||||
SSH_REPO='user@ho.st'
|
||||
BORG_PASSPHRASE=''
|
||||
BORG_EXCLUDES="
|
||||
--exclude '' \
|
||||
--exclude '' \
|
||||
--exclude '' \
|
||||
--exclude '' \
|
||||
BORG_EXCLUDES="\
|
||||
/path/to/exlude/*
|
||||
/another/*/path/to/exlude/*
|
||||
/yet/another/*/one/
|
||||
"
|
||||
|
|
Loading…
Add table
Reference in a new issue