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-caches \
|
||||||
--exclude '/home/*/.*/*' \
|
--exclude '/home/*/.*/*' \
|
||||||
--exclude '/home/*/.*' \
|
--exclude '/home/*/.*' \
|
||||||
--exclude '/home/*/builds/*'\
|
--exclude-from <(echo "$BORG_EXCLUDES")\
|
||||||
--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/cache/*' \
|
||||||
--exclude '/var/log/*' \
|
--exclude '/var/log/*' \
|
||||||
--exclude '/var/tmp/*' \
|
--exclude '/var/tmp/*' \
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
SETUP_COCKPIT_EMAIL=''
|
SETUP_COCKPIT_EMAIL=''
|
||||||
SSH_REPO='user@ho.st'
|
SSH_REPO='user@ho.st'
|
||||||
BORG_PASSPHRASE=''
|
BORG_PASSPHRASE=''
|
||||||
BORG_EXCLUDES="
|
BORG_EXCLUDES="\
|
||||||
--exclude '' \
|
/path/to/exlude/*
|
||||||
--exclude '' \
|
/another/*/path/to/exlude/*
|
||||||
--exclude '' \
|
/yet/another/*/one/
|
||||||
--exclude '' \
|
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue