How to test a restore Print

  • 0

Backups fail silently: wrong paths, expired credentials, a database dumped mid-write. The only proof is a restore.

A simple restore test

  1. Pick a system and a backup from a random date, not just last night.
  2. Restore to an isolated place: a test VM or separate directory, never over production.
  3. Check that it works, not just that files exist: start the database and run a query, open the website, check that the latest expected data is there.
  4. Time it. How long did the full restore take? That is your real recovery time.
  5. Write it down: date, system, backup used, result, duration, and any problems found.

How often

We test monthly per system tier for managed customers, with a full failover rehearsal at least once a year. Do it more often for systems you can't live without.

Useful commands

restic -r REPO snapshots
restic -r REPO restore latest --target /restore-test
borg list REPO
borg extract REPO::ARCHIVE

Was this answer helpful?

« Back