The short version

Almost every team says "we have backups", and almost none can tell you how long a recovery takes or how much data it loses, because nobody has ever done one on purpose. Two numbers answer the question: how long until customers can use the product again (recovery time) and how much recent data is gone (recovery point). You only get them by breaking things deliberately, in a copy of production, under realistic traffic, and measuring what real requests experienced. Done properly it finds things diagrams hide: redundancy that is not actually redundant, health checks that say everything is fine while the database is down, and tests that pass only because nobody was using the system. Keep fixing the test until its results repeat, publish objectives with headroom above the slowest result, keep the evidence, and be honest about what you did not test.

Ask any team if they have backups and the answer is yes. Ask how long it takes to restore one, and the room goes quiet.

That silence is normal. Backups are switched on once, usually by default, and then nobody thinks about them again. They run every night, a dashboard says “successful”, and everyone assumes that if the worst happens, the data will come back. Nobody has ever checked, because checking means deliberately breaking something, and nobody wants to be the person who broke production to prove a point.

Then a customer’s procurement team, an investor or an auditor asks the question properly: how long would you be down, how much data would you lose, and can you show me? “We have backups” doesn’t answer any of that.

We went through exactly this with a client this year. Their contract said recovery in under five minutes, both for downtime and for lost data. On paper the platform looked built for it. It runs on AWS, with two copies of everything spread across two data centres (AWS calls them availability zones). Nobody had ever measured it, so we did, and it found problems the diagram had hidden for years.

The Two Numbers You Should Know

Disaster recovery comes down to two numbers. Every customer questionnaire, every certification audit and every serious investor will eventually ask for both.

The first is recovery time: when something breaks, how long until customers can use the product again. Engineers call it RTO, the recovery time objective.

The second is recovery point: when something breaks, how much recent data is gone for good. If your last good copy is from midnight and the failure happens at 4pm, you just lost sixteen hours of orders, signups and edits. That is RPO, the recovery point objective, and it is measured in time, not in gigabytes.

Most founders can’t answer either one, and most developers can only guess. The guesses are almost always optimistic, because they come from the hosting provider’s marketing page rather than from a failure anyone has watched.

< 5 min
what the contract required, for both downtime and data loss
0
times anyone had measured it before we started
3
full runs of the final test suite in thirteen hours, with matching results

An auditor will accept the number you measured. The number in the contract is only what you promised.

What to ask your team: “If our database died right now, how long until customers can log in again, and how much data would we lose?” Then ask the follow-up that matters: “When did we last measure that?” If the answer is never, the number is a guess.

Redundant on the Diagram, Single in Reality

The first problem turned up before any test ran, and it had nothing to do with backups.

The architecture diagram showed everything doubled up. The database had a standby copy in a second data centre. The load balancer in front of the application spanned both data centres. Anyone reading the diagram would assume losing one data centre was survivable.

Then we looked at what was actually running. The application itself, the part that handles every customer request, was running as exactly one copy, in one data centre. The load balancer was ready to send traffic to two places. There was only ever one place to send it. Losing that data centre meant a complete outage of three to six minutes, already over the contracted five, before anything else went wrong.

The fix was one setting: run two copies instead of one, one in each data centre. It went live with zero customer impact. Nobody would have known it was needed if someone hadn’t compared the running system with the drawing.

Red flag

A diagram shows what someone meant to build

What is running today is the result of two years of quick fixes, cost cuts and settings changed during an incident at midnight, and the diagram rarely kept up. Redundancy that exists on paper but not in production is the most common gap we find, and nobody sees it until the day it matters. Ask to see the running configuration.

Your Test Can Lie to You

I didn’t expect what came next, and if you remember one thing from this article, make it this: our first tests passed, and they were wrong.

The test suite has six scenarios, each a different kind of failure: losing one application server, deliberately moving all traffic out of one data centre, forcing the database over to its standby copy, losing a whole data centre, restoring the database to a point in the past, and shipping a release that cannot start. We started the way most teams do: break something in a pre-production copy of the platform, watch a health check, record how long it took to recover. The health check is a simple page that answers “I’m up”. Every scenario looked great. Losing a data centre showed zero failed requests out of ninety.

Then we went back and read the load balancer’s own logs, the record of every real request and what the user actually got back. In the same window where the health check reported zero failures, 48 out of 51 real requests had failed. That is 94 percent. The test had reported a clean pass while the product was effectively down.

Bar chart: during the same three minutes and sixteen seconds of a simulated data centre loss, the health check reported 0 of 90 requests failed, while 48 of 51 real customer requests failed, 94 percent.
The same window, measured two ways. Pre-production copy of the platform, simulated loss of one data centre.

Two problems, found in two different rounds, made the early results look better than they were.

In this round, the health check didn’t touch the database. It answered “I’m up” from memory. So when the database went away, the health check kept saying everything was fine, the load balancer believed it, and real requests failed behind a green light. Plenty of products have exactly this kind of health check, because it is the default in most frameworks.

In the round before it, the environment was idle. Pre-production had about three requests a minute, and at that rate a multi-minute outage can hide between requests. That round looked clean for no other reason. Nobody happened to be knocking on the door while it was locked.

A test that flatters you
  • Watches a health check that never touches the database
  • Runs in a quiet environment with almost no traffic
  • Reports how fast the hosting provider said it recovered
  • Run once, and the number goes straight into the contract
A test you can trust
  • Counts what real requests actually got back, from the load balancer's logs
  • Generates steady, realistic traffic for the whole test
  • Reports when customers could use the product again
  • Run until the results repeat, with headroom above the slowest result

Before trusting anything, we also checked the measurement itself. We ran it against a healthy platform with nothing broken. It reported zero impact. A measurement that reports problems on a healthy system can’t be trusted to report them on a broken one, so that check comes first, every time.

Keep Going Until It Repeats

The early rounds didn’t agree with each other. We forced the database over to its standby copy in two separate rounds, the same week, on the same system. The first time, the database finished failing over in 40 seconds. The second time it took 3 minutes and 27 seconds.

The second round also found something worse. A few minutes after the database had officially “recovered”, there was a second, bigger outage. While it rebuilt its spare copy in the background, the database ran out of memory on an undersized server and failed 94 percent of requests for over three minutes. That window alone would have broken the five-minute target, and it only showed up because we kept measuring after the all-clear.

Timeline chart: in an early round, a forced database failover caused 46 seconds of minor errors, then seven minutes after the fault a second window of 94 percent failed requests lasting 3 minutes 26 seconds, well past the five-minute target. Below, early rounds recovered in 40 seconds and 3 minutes 27 seconds, while the final method recovered in 57 and 50 seconds.
An early round of the failover test. The official recovery came first. The real damage came later.

In our tests, the worst damage came minutes after everyone had declared the outage over.

A single number from a test like that would have been a coin toss. So we fixed both halves of the problem. The measurement: steady generated traffic, every real request counted, the all-clear called only when the system reports itself fully back. And the cause: the database was cleaned up and moved to a server with enough memory for its standby rebuild.

Then we ran the whole suite again, three times in thirteen hours: twice in one evening and once the next morning. From here on we track two moments in each scenario. The first is when customers are being served cleanly again, read from the load balancer’s logs. The second is full recovery: clean traffic and the database confirming its failover is complete, whichever comes later. Full recovery is the number we report.

This time the results matched. In the forced database failover, customers were served cleanly again after 22, 32 and 24 seconds, and the database finished failing over in 57 seconds in the first run and 50 in the third, against 40 seconds and 3 minutes 27 seconds in the early rounds. When we took out a whole data centre, customers were served cleanly again after 82, 83 and 84 seconds. No run had a second outage, and no data was lost. The longest stretch in which the database refused writes was 22.1 seconds in one run and 22.0 seconds in another. Only after that did we treat the numbers as something we could promise.

Grouped bar chart of failed requests per 10 seconds during a simulated data centre loss, for three runs aligned on the moment of the fault. All three runs show the same two short impact windows, at 0 to 20 seconds and at 60 to 90 seconds, and are clean afterwards.
Three runs of the final method, aligned on the fault. The two impact windows land in the same place every time: the load balancer dropping the unreachable server, then the database failing over.

We still publish the objective with headroom above the slowest result. Repeatable doesn’t mean identical, and the hosting provider’s side of a failover will always move around a little.

Restore the Backup

Restoring a backup was one of the six scenarios: rewind the database to a specific second in the past, as a separate copy, and check what comes back.

The first time we tried, the restore “succeeded” and the application still could not reach it. The restored database came back with only one of the two network access rules the original had. The restore had worked, but in a real emergency it would have been useless, at exactly the moment you can least afford to debug network rules.

In the final runs, the restore took between 7 and 15 minutes, and we did not stop at “it’s back”. We checked the content. A small probe had been writing one row per second throughout, so we knew exactly what should be there. At the chosen moment, the original database held 945 probe rows. The restored copy held exactly 945, and none written after that moment. A second, much larger table matched too, at 175,083 rows on both sides.

7m 15s
to restore the database to a chosen second in the past
945 / 945
probe rows present up to that second, none after it
1
missing network rule that made the first restore useless

We count a restore as finished when the application can use it and someone has checked the data. The hosting dashboard says available long before that.

The first big query on the restored database timed out. A freshly restored database loads its data lazily on first access, so it’s slow for a while before it’s fast. If your recovery plan assumes full speed the moment the restore completes, plan for a warm-up instead.

A backup nobody has restored is a hope. Ask your team to restore last night’s backup into a throwaway copy, connect the application to it, and check that a known record is there. If that takes them a week to organise, you have learned something important, and it is much better to learn it on a Tuesday than during an outage.

Make It Measurable and Repeatable

A disaster recovery test that depends on one engineer at a keyboard with a stopwatch can’t be repeated, and a test that can’t be repeated isn’t evidence. So the final version was built to run the same way every time.

Steady, realistic traffic ran for the whole suite: two requests a second, tagged so it could be separated from anything else. A separate probe wrote to the database once a second from inside the network, so we could prove afterwards that no confirmed write went missing. Every result was read from the load balancer’s logs in ten-second slices, and every slice had enough requests in it to mean something. Every scenario had a pre-flight check that refused to start if anything didn’t add up. Server and database failures were injected with AWS’s own fault injection service, but nothing here is specific to AWS. The same approach works on any cloud. A report with charts was generated from the same queries, so the numbers in the document are the numbers in the logs.

Here is what the final run of record showed, six scenarios in under forty minutes, in a pre-production copy of the platform. The two runs the evening before matched it on every recovery we measured. Its 110 seconds for losing a data centre is the full-recovery figure for the same run in which customers were served cleanly after 84 seconds:

110 s
worst full recovery, losing a whole data centre, against 5 minutes
0
confirmed writes lost, out of 4,758 across two forced failovers
70 s
total time customers would have noticed, across all six scenarios

5,475 requests during the scenarios, 72 failed (1.3%). Losing an application server and evacuating a whole data centre on purpose caused no failed request at all.

That page, with a chart per scenario, is what you show a customer or an auditor: what we broke, what users experienced, how long recovery took, and the data behind each number. The conversation that follows is usually short.

It also changed how recovery gets reported internally. “Customers can use the product again” came back in under two minutes. “The system is fully redundant again”, with its spare copy rebuilt, took between 18 and 40 minutes, mostly waiting on the hosting provider. Those are different promises. We commit to the first and disclose the second, and any honest recovery plan should say which one it means.

Be Honest About What You Didn’t Test

No test covers everything, and a report that claims to is the one an auditor trusts least. Ours lists what is still open, in plain words.

The tests ran in pre-production, not on the live platform. That was deliberate. It found four defects in the test method itself, any one of which would have invalidated a live run, and one of which would have caused a genuine production incident. Losing an entire cloud region isn’t covered. The contract didn’t ask for it, a second region would cost more and move data out of the country, so it is being recorded as a risk management has accepted, instead of pretending it is handled. And for a while, one person held all the knowledge of how to run these tests. A second responder is now named, with a written runbook, because a recovery plan that depends on one specific person being awake is not a plan.

The cost, for what it is worth, was modest. Keeping the platform recoverable within its region adds roughly £40 a month in hosting. Most of the cost was the weeks of careful testing nobody had done before.

An honest list of what you haven’t covered makes the rest of the report believable. “We accept the risk of a full region outage, and here is who signed off on that” is a strong answer. Silence on the subject is a weak one.

What to Do This Month

You can start without a six-scenario test suite. A few questions will tell you whether anyone has ever tested your recovery plan.

Ask your team for the two numbers, recovery time and recovery point, and when they were last measured. Ask them to restore last night’s backup into a throwaway copy and show you a known record in it. Ask whether the health check actually touches the database. Check that the redundancy on the diagram exists in the running system. And ask who, other than one specific engineer, could do all of this at 3am.

If the answers are vague, that’s normal, and it’s fixable. Most teams have never done this because nobody asked. Once someone does, the first restore test tends to find more than a year of planning would have.

Run the checklist below. If you’re not sure how to answer half of it, that’s the useful signal, and it’s exactly the conversation we’re happy to have.

Could you actually recover?

Mark anything that is true right now.

0 / 6 0%

Nobody has proven your backups work yet. That is common, and the first restore test will tell you more than any document. Better to find out now.

Read next Your MVP Works. Here's What Breaks First.