Two numbers you need to know
Before a test, know what you are measuring against. RPO is how much data you can afford to lose: with a daily backup, up to a day. RTO is how long it may take to be running again. Many people do not know their RTO until they try for the first time. That is exactly the point of a drill.
How we run a restore test
The test runs on a separate machine, so live systems are not touched.
- Choose what to test Take a whole system, not a single file. We test servers the way they would be rebuilt after an outage.
- Use only the offsite copy Fetch everything from the offsite backup, as if the original server and the provider account were gone.
- Rebuild on a spare machine Restore configuration, data and services. Note the time for each step.
- Count Compare the number of mailboxes, messages, tables and rows with the original. “Looks fine” is not a result.
- Test the services Run the services’ own configuration checks without the system being online.
- Write down the result Errors, times and what must be fixed. The next drill starts from that list.
Results from our latest drill
We rebuilt a mail server and a data server on a spare server, using only the offsite copy:
- 0 failures.
- 68 mailboxes and 5,684 messages matched the original.
- The mail services passed their configuration checks offline.
- The large database import took 2 hours 4 minutes. The total time for a full recovery is therefore estimated at about 4 hours.
The last line matters most. Around half of the estimated time goes to the large database, and that is what decides when the system is back. You only learn that by trying. The drill is repeated every quarter.
Smaller systems, same method
- Phone system: a full offsite copy, the last 7 kept, plus a weekly copy of the web part. The restore test gave 16 of 16 items identical.
- Irreplaceable data: an extra, independent copy was restored into a temporary database. 24 of 24 tables had matching row counts, negative tests failed as expected, and the checksum matched after downloading from the cloud.
- Monitoring data: encrypted backup with hourly catch-up. Each copy is restored automatically on another machine, 14 copies are kept, and an alert fires if the newest is more than 30 hours old.
Test the way back after a release too
A restore is not only for disasters. When we release new versions of our own systems, each release can be rolled back to an earlier version, and the system itself reports which version is running. Before automated releases were allowed, we rehearsed the rollback twice on production.
On top of the drills, a daily audit checks every backup job on every server. It found three hidden failures when it was rewritten to read only the latest run. Drills and the daily audit complement each other: the audit catches a job that fails, the drill catches a job that “succeeds” with something unusable.
Ask your supplier: when was a full restore last tested, how long did it take, and what was counted? If nobody can answer, the backup is not tested.
Database-specific questions such as dumps, replication and moving databases belong on database.best-choice.dk.
Questions about restore testing
How often should restores be tested?
We do it every quarter for whole servers and automatically for smaller data. For a small company, a full test once a year is a sensible minimum, plus after every major change.
Can a test break something?
Not when it runs on a separate machine with no connection to real users. That is why we never test on top of the running server.
What if the test fails?
Then it has done its job. It is far better to find the fault on a Tuesday during a drill than on the day the server is gone.
Fixed price, no commitment
Get your backup tested
Tell us what is backed up and where the copies are. We suggest a test on a separate machine and send a fixed price.
- A fixed price before we start
- An answer by e-mail, no calls
- Your details are used only to answer you