add support for custom restic flags
This commit is contained in:
parent
9ddce74914
commit
231c983205
6 changed files with 7 additions and 5 deletions
|
|
@ -122,7 +122,7 @@ set -euo pipefail
|
|||
# restic backend
|
||||
source /etc/backup-client/restic.env
|
||||
restic backup \
|
||||
--cleanup-cache {% if not backup_restic_cache %} --no-cache{% endif %} \
|
||||
{{ restic_combined_flags }} \
|
||||
--verbose \
|
||||
--host "$DOMAIN" \
|
||||
--exclude-file "/etc/backup-client/vms/$DOMAIN/exclude_files" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue