bob/roles/restic/defaults/main.yaml

29 lines
714 B
YAML

---
# inherited from global
restic_enable: true
restic_tz: "{{ timezone | default('America/Chicago') }}"
restic_version: latest
restic_auto_init: true
restic_prune_cron: 0 0 4 * * * # go-cron starts with seconds in first pos
restic_forget_args: --prune --keep-last 14 --keep-daily 2 --keep-weekly 2
restic_check_cron: 0 30 4 * * SUN
restic_check_args: --read-data-subset=15%
# backup target
restic_repo: /opt/stack_restic_backup
restic_pass: my-restic-pass
restic_s3_key:
restic_s3_secret:
restic_notify_success:
restic_notify_failure:
restic_notify_exit:
# S3 example
# restic_repo: s3.eu-central-1.wasabisys.com/myrepo
# restic_pass: <restic-pass>
# restic_s3_key: <s3-key>
# restic_s3_secret: <s3-secret>