7 lines
364 B
Django/Jinja
7 lines
364 B
Django/Jinja
#!/usr/bin/env bash
|
|||
|
|
set -euo pipefail
|
||
|
|
# Repository and password credentials are host-local in {{ restic_config_path }}.
|
||
|
|
# shellcheck source=/dev/null
|
||
|
|
source '{{ restic_config_path }}'
|
||
|
|
exec '{{ restic_binary }}' backup --tag '{{ healthcheck_profile }}' --tag "$(hostname -s)" {% for source in restic_sources[healthcheck_profile] %}{{ source | quote }} {% endfor %}
|