add support for custom restic flags

This commit is contained in:
nd 2021-12-02 22:54:14 +01:00
parent 9ddce74914
commit 231c983205
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
6 changed files with 7 additions and 5 deletions

View file

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