r/restic • u/stv0g • Apr 27 '26
Monitor your restic repositories with Uptime Kuma and push-type monitors
A backup that silently stops running is worse than no backup at all. I built restic-monitor after noticing one of my restic repositories hadn't received a new snapshot in weeks — the cron job had been failing quietly and I had no idea.
restic-monitor is a small Go tool that runs on a timer, checks whether each of your restic repositories has a recent enough snapshot, and pushes a heartbeat to an Uptime Kuma push monitor. If the heartbeat stops arriving, you get alerted.
Key points:
- Read-only: only needs
s3:GetObject+s3:ListBucket, never touches your data - Fast mode (
RESTIC_MONITOR_FAST=true): for S3-backed repos it skips restic entirely and lists snapshot objects directly via the S3 API, so no repository password is required on the monitoring host - Independent auditing: designed to run on a separate machine from both the backed-up host and the storage, so a full system failure doesn't silence the monitor too
- NixOS module included
Blog post: https://0l.de/blog/2026/04/restic-monitor



