#!/bin/bash set -euo pipefail {% if backup_backend == 'restic' %} # restic backend source /etc/backup-client/restic.env restic check --read-data \ {{ restic_combined_flags }} {% endif %} {% if not backup_backend %} echo "Noop, backup is handled external" {% endif %}