Disaster recovery (RPO and RTO)
A flooded data centre at 15:00, read on a timeline: how much data is gone, how long the outage lasts, and what three recovery strategies cost.
In 30 seconds
Disaster recovery planning comes down to two targets. RPO, the recovery point objective, is how much recent data you can accept losing. RTO, the recovery time objective, is how long you can accept being offline.
Nightly backups are cheap but can lose a day of data and take hours to restore. A warm standby, a small live copy kept in sync, brings both down to minutes. Active-active, two full sites serving users at once, brings them close to zero.
Each improvement costs more, so the targets should come from what an outage really costs.
Disaster recovery (RPO and RTO), step by step
The figures for each strategy are typical orders of magnitude, not guarantees. A fourth option, pilot light, sits between backup and warm standby. An untested plan cannot be trusted.
- Step 1: Something breaks. A shop’s servers run happily until 15:00, when the data centre floods. Fire, a failed disk, a bad deployment or ransomware would do the same. Disaster recovery planning asks two questions before that day comes: how much work will be gone, and how long will we be offline.
- Step 2: RPO: how much data is lost. The last backup ran at midnight, so everything written in the 15 hours since is gone. The recovery point objective, RPO, is the target you set in advance for this: the most data, measured in time, you can accept losing. This shop’s RPO is 1 hour. Nightly backups can lose up to 24.
- Step 3: RTO: how long you are down. New servers are rented, the backup is fetched and restored, and the shop reopens at 23:00: eight hours offline. The recovery time objective, RTO, is the target for this: the longest outage you can accept. This shop’s RTO is 4 hours, so this recovery was twice too slow.
- Step 4: Backup and restore. The cheapest plan: copy the data somewhere safe every night and keep nothing else running. After a disaster you build a new site from scratch and load the last backup. You pay only for storage, but can lose a day of data and be down for hours.
- Step 5: Warm standby. A second site runs all the time as a small copy of the first, and every change to the data is streamed to it within minutes. When disaster strikes, users are switched over and the standby is scaled up. Minutes of data are lost and the outage is around half an hour, for the price of a second, smaller site.
- Step 6: Active-active. Two full sites both serve users all the time and keep each other’s data in sync. If one disappears, the other simply carries the whole load: almost nothing is lost and users barely notice. It costs at least twice the hardware, and keeping two live copies consistent is hard engineering.
- Step 7: The cost trade-off. Every step toward losing less and recovering faster costs more. So the question is not which strategy is best, but what an hour of downtime and an hour of lost data cost the business. For targets of 1 hour and 4 hours, warm standby is the cheapest plan that meets both.
Try it yourself
Learn this first
Nothing. This concept starts from scratch.
Spotted a mistake on this page?