Add host-specific variables for backup dirs and options.

This commit is contained in:
Andreas B. Mundt 2020-01-20 19:32:00 +01:00
parent 8a821f501d
commit 23766673be
4 changed files with 9 additions and 2 deletions

View file

@ -2,8 +2,8 @@
set -eu
REPOSITORY="{{ backup_repo }}"
BACKUP=({{ backup_dirs|join(' ') }})
EXTRAOPTIONS=({{ backup_opts }})
BACKUP=({{ backup_dirs|join(' ') }} {{ backup_dirs_extra|join(' ') }})
EXTRAOPTIONS=({{ backup_opts }} {{ backup_opts_extra }})
export BORG_PASSCOMMAND="cat {{ borg_pwd_file }}"
MOUNTED=""