humble-homelab/roles/backup/templates/restic.j2
2024-01-18 21:29:44 +01:00

7 lines
222 B
Django/Jinja

#!/bin/env bash
# Helper script to target correct repo and password. It passes
# any arguments to the restic binary.
RESTIC_PASSWORD="{{ restic_repo_pw }}" \
RESTIC_REPOSITORY="{{ restic_repo_url }}" \
restic "$@"