diff --git a/roles/backup/templates/restic-wrapper.sh b/roles/backup/templates/restic-wrapper.sh index 12e04e7..aca236d 100644 --- a/roles/backup/templates/restic-wrapper.sh +++ b/roles/backup/templates/restic-wrapper.sh @@ -1,4 +1,6 @@ #! /bin/sh +export AWS_ACCESS_KEY_ID="{{ backup_s3_aws_access_key_id }}" +export AWS_SECRET_ACCESS_KEY="{{ backup_s3_aws_secret_access_key }}" exec nice -n 10 restic \ -r "s3:{{ backup_s3_aws_endpoint_url }}/{{ backup_s3_bucket }}/restic" \ -p /opt/restic-password \