top of page

A Backup Is Not a Recovery Plan: Automated Restore Testing Explained

OmerNarman
Aug 3
2 min read

Updated: Oct 24

The backup job finished at 02:14 with a status of success. That tells you a file was written. It does not tell you whether the file can be restored, whether the database inside it opens, whether the data in it is the data you think, or how long all of that takes. Yet most organisations run on exactly that evidence.


What a successful backup proves

A green backup log proves that the backup software ran to completion and wrote something to a destination. It does not prove the destination is readable, that the retention policy kept the copies you need, that encryption keys are still available, or that the restore fits inside the recovery time the business expects. Every one of those failures is discovered, in practice, during a real outage.


What automated restore testing does

Automated restore testing turns recovery from a belief into a measurement. On a schedule, with no human in the loop, the automation does what you would do in an emergency and records how it went.

  1. Selects a backup to test, usually the latest full backup plus the logs needed to reach a point in time.

  2. Restores it to an isolated target that cannot touch production: a separate host, a container or a temporary cloud instance.

  3. Recovers the database to the chosen point and opens it.

  4. Validates it: row counts against production, checksums on key tables, integrity checks, and a short application-level smoke test.

  5. Measures the elapsed time of every step and compares it with the agreed recovery time objective.

  6. Records the result, alerts on failure or on a time that is drifting, and destroys the target.


How it looks on each platform

  • Oracle: RMAN restore and recover into an auxiliary instance, with block checking enabled. RMAN validation catches corrupt backup pieces, but only a full restore proves the database opens.

  • SQL Server: restore to a test instance with a point-in-time stop, followed by DBCC CHECKDB. A restore that completes but fails the integrity check is a finding, not a pass.

  • PostgreSQL: a base backup restored with WAL replay to a target timestamp, confirming that archiving is complete and that point-in-time recovery actually reaches the requested moment.


What you get out of it

  • Recovery point and recovery time figures that are measured, not estimated, and that you can show an auditor or a board.

  • Broken backups found within a day of breaking, rather than during an incident.

  • A trend line: when restore times creep up as the database grows, you see it months before it matters.

  • A rehearsed procedure, because the automation is the runbook, kept current by running it.


Where to start

Pick the one database whose loss would hurt most and test it monthly. Make the test report land where people will read it. Once the first one runs cleanly, add the next database and tighten the schedule for the systems with the shortest recovery objectives. Most estates are fully covered within a quarter.


This is usually the first automation Soro Consulting builds for a client, because it answers the question executives actually ask. Book a consultation if you would like your backups measured rather than assumed.

Recent Posts

See All

Comments


bottom of page