-
-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
Hi,
I have a feature request: An Integration of Healthchecks. There is a hosted version, but it can also be selfhosted. It should do the following things:
- Webhook when starting a location
- Webhook when finishing a location, including status (or success/fail) as well as a (truncated?) log.
Suggested config:
locations:
my-location-name:
from: path/to/backup
to: name-of-backend
healthcheck: <uuid> (assume hc-ping.com) OR <url> (for selfhosting)
For comparison, here is a shell script I currently use:
HEALTHPING="https://hc-ping.com/<uuid>"
curl -fsS -m 10 --retry 5 -o /dev/null ${HEALTHPING}/start
LOG=$(restic [or other programs] 2>&1)
curl -fsS -m 10 --retry 5 --data-raw "$LOG" -o /dev/null ${HEALTHPING}/$?
The benefit of having that directly integrated here is that it is one thing less to break. Or in a Windows case, one thing less to properly install [curl] as well as not having to fight with shitty Windows batch syntax just to set up a backup for my moms pictures (especially once #68 is merged).
Metadata
Metadata
Assignees
Labels
No labels