Dead man's switch for backups #223

Closed
opened 2019-10-12 03:37:54 +00:00 by witten · 1 comment
Owner

What I'm trying to do and why

One of the things that borgmatic has never claimed to do is protect against your backup cron job just failing and silently not making backups.

But what if it could?

The motivation is pretty obvious: You want confidence that your backups are still running, and you want to get notified as soon as they stop running so you can fix the problem.

Related issues: #86 #126

Implementation ideas

There are a number of existing services that could provide part of a solution. For instance, https://healthchecks.io/ provides "Instant Alerts When Your Cron Jobs Fail Silently".

So even without any work on this issue, a user today could add a post-backup hook in borgmatic's configuration that would hit healthchecks.io or a similar service. And then the service would notify the user if backups ever went radio silent.

But maybe a more built-in integration or feature around this in borgmatic would be pretty hot? For instance, built-in heathchecks.io integration?

Prior art

https://www.reddit.com/r/DataHoarder/comments/dggwjg/borgbackup_borg_consciousness_get_email_alerts_if/

#### What I'm trying to do and why One of the things that borgmatic has never claimed to do is protect against your backup cron job just failing and silently not making backups. But what if it could? The motivation is pretty obvious: You want confidence that your backups are still running, and you want to get notified as soon as they stop running so you can fix the problem. Related issues: #86 #126 #### Implementation ideas There are a number of existing services that could provide part of a solution. For instance, https://healthchecks.io/ provides "Instant Alerts When Your Cron Jobs Fail Silently". So even without any work on this issue, a user today could add a post-backup hook in borgmatic's configuration that would hit healthchecks.io or a similar service. And then the service would notify the user if backups ever went radio silent. But maybe a more built-in integration or feature around this in borgmatic would be pretty hot? For instance, built-in heathchecks.io integration? #### Prior art https://www.reddit.com/r/DataHoarder/comments/dggwjg/borgbackup_borg_consciousness_get_email_alerts_if/
Author
Owner
Done! And released in 1.3.25. See the docs here: https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#healthchecks-hook
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#223
No description provided.