This website requires JavaScript.
Explore
Help
Sign in
data.coop
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
acaaffb982
ansible
/
roles
/
docker
/
templates
/
restic
/
success.sh.j2
3 lines
86 B
Text
Raw
Normal View
History
Unescape
Escape
Add uptime-kuma push url for restic
2024-03-05 09:55:04 +01:00
#!/bin/sh
Restic: handle incomplete backups as success If we don't have a POST_COMMANDS_INCOMPLETE then POST_COMMANDS_FAILURE will trigger. This may be a bit misleading as we are doing backups of live systems and it is almost expected that a file will change or disappear during backup. Instead, we report backup as "up" with a message that the backup was incomplete.
2025-02-12 09:42:07 +01:00
curl --silent '{{ restic_secrets.uptime_kuma_url }}?status=up&msg=OK&ping='
Reference in a new issue
Copy permalink