Vaultwitness: automatic restore tests and integrity checks for restic (self-hosted)

Hi all,

I got tired of checking my backups by hand. The worst part was a backup that simply wasn’t made: no error, no message, nothing — you only find out when you go looking for it. Checking by hand that each backup exists and actually restores takes time, and it’s easy to skip.

So I built a tool that does it for me, and I’d love feedback from people who know restic well.

It doesn’t run your backups — it watches the restic setup you already have (plain cron/systemd, resticprofile, autorestic) and tells you whether those backups would actually restore.

What it does, per repository:

  • Restore test — reads a real file back out of the newest snapshot and verifies it, on a schedule
  • Integrity — runs restic check, plus a full --read-data-subset re-read spread over 7–60 nights so the whole repo gets covered without one huge read
  • Late backups — learns each repo’s rhythm and warns when a backup is overdue or missing
  • Failed jobs — finds the cron/systemd job that runs restic, reads its log and explains the error in plain words
  • Database dumps that suddenly shrank or are empty, must-have paths that dropped out, mass deletion of old snapshots, disk space forecast
  • Alerts by email, Telegram or webhook

How it’s built:

  • A small agent on each machine finds the restic repositories by itself from your cron and systemd jobs, and from resticprofile and autorestic configs — no config to write. It runs at low CPU/IO priority, one check at a time, and never opens a port.
  • The agent runs on Linux x86-64 and ARM64 — Raspberry Pi, ARM servers, ARM-based NAS boxes.
  • One dashboard server you host yourself (Linux x86-64 with systemd). No cloud account, no telemetry; it works on networks with no internet at all.
  • It checks Borg repositories the same way, if you use both.

Pricing, plainly: free for 2 servers, forever — no license key, no sign-up, no email. Just download and install. All features are unlocked for the first 14 days; a license is only needed for more than 2 servers. The agent is open source (Apache 2.0), so you can read exactly what runs as root on your machines; the dashboard is closed source.

I also wrote up how to do the basics by hand with plain restic and a few scripts:

Feedback very welcome — especially on the checks. Is there a failure mode you’ve hit with restic that this wouldn’t catch? And if you try the ARM agent on a Pi or a NAS, I’d really like to hear how it goes.

2 Likes