restic: Add notification
Notifies double for each prune/check run which may need to be fixed. Also custom notification contents cannot currently be passed. Lastly, we should put identifying information into the notification body (such as the hostname/container name for which the notification is relevant).
This commit is contained in:
parent
003cf64a77
commit
fab6f5ff7c
3 changed files with 84 additions and 9 deletions
|
|
@ -12,11 +12,16 @@ 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue