ansible/roles/backup/templates/restic-wrapper.sh

6 lines
143 B
Bash

#! /bin/sh
exec nice -n 10 restic \
-r "s3:{{ backup_s3_aws_endpoint_url }}/{{ backup_s3_bucket }}/restic" \
-p /opt/restic-password \
"$@"