Email Alert for failed backups #24
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/backup-bot-two#24
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There should be the option to get notified for failed backups. I would simply recommend the same technique like kadabra with ssmpt and cronjobs:
https://docs.coopcloud.tech/operators/tutorial/#automatic-upgrades
We use healthchecks.io at autonomic, and I'm also using it personally, for backup notifications.
It supports receiving pings by HTTP and email, so if we want to stick with email then all we'd need for healthchecks.io is to be able to configure different addresses for successful and failed backups.
For bonus points, it would be nice to have:
I really like the idea of healthchecks.io and I wonder if there is something similar that could be self hosted?
I think this should be an additional way of notification besides email.
Haven't found anything yet 😞
Sounds fine. "different addresses for successful and failed backups" is my only recommended addition to your proposal, but also fine to start with just one address.
We decided to use the json log output in grafana to create alerts if the last backup is either too long ago or an error message was produces. We'll publish the grafana setup soon.
But anyway I like the idea to additionally have the option for webhooks and email alerts.
Maybe we could also publish backup metrics to prometheus, then we could set up alerts this way
That's the way we try to do it currently.
https://git.coopcloud.tech/coop-cloud/monitoring-ng
Unfortunately it's not possible to create Alerts in Grafana for non existing logs. Therefore we now use the Push API of Uptime Kuma to get alerts of failed or missing backups. I created a commit to add different kinds of Push URLs.
We for don't need email notifications any more, as push notification are much more reliable. Uptime Kuma will not only notify on a failed backup but also if there was no successful backup for more than 24 hours.
I might close this issue if there is no one who would like to have email notifications.
folks can always set up email notifications using Healthchecks.io or a custom automation (using e.g. n8n) if they like. Closing!