Recovery objectives and drills
Set recovery objectives from business needs
Recovery time objective (RTO) is the target time to restore a workload after disruption; recovery point objective (RPO) is the maximum acceptable age of the recoverable data relative to the disruption. They are objectives, not measured outcomes. Set them for an agreed workload and incident scope, including the proxy, application, identity and data dependencies. A stateless proxy can be rebuilt from a configuration artifact, but customer orders need durable recovery. A cache can often be rebuilt rather than restored. Local node HA and regional disaster recovery (DR) address different failure scopes.
Fictional order service targetsRTO: 15 minutes until verified customer serviceRPO: 5 minutes of order dataPublic cache: rebuild, not authoritativeMeasure the complete recovery window
At minute 0 a disaster interrupts the order service. Detection takes 2 minutes, decision and isolation 3, restoration 6 and end-to-end verification 3. Recovery completes at minute 14, inside the 15-minute RTO. The newest consistent recoverable order data is from minute -4; the observed recovery-point gap is 4 minutes, inside the 5-minute RPO. If an apparently healthy proxy answers at minute 8 but orders cannot be read until minute 14, minute 8 is not the workload recovery time. Record actual timestamps and use the latest consistent recoverable state, not just backup creation time.
2 + 3 + 6 + 3 = 14 minutes observed recovery0 - (-4) = 4 minutes recovery-point gap14 <= 15 and 4 <= 5 -> both targets met in this synthetic drillWrite and rehearse a dependency-aware recovery plan
Record owners, recovery order, required configuration and software versions, certificate access, data backup restoration, DNS or entry-tier changes and the authorized rollback decision. Restore application data to a consistent point, verify identity and service connectivity, validate proxy configuration, and test the user-visible workflow before announcing recovery. A backup is not proof of recovery until it has been restored and checked. Use a disposable tabletop exercise before live failover; no public traffic changes or real credentials are needed. A failing target requires a corrective action and a repeat drill.
1. Declare scope and incident start2. Isolate failed owner and restore dependencies3. Restore compatible proxy artifact and protected TLS material4. Verify read/write/session and entry routing5. Measure RTO/RPO; record evidence and decisionsExercise failback without creating a second outage
Failback means moving service back to the original environment after recovery. First reconcile data and configuration versions and confirm that the original environment is healthy and allowed to receive traffic. Drain or gradually shift traffic under a reviewed plan, observe errors, latency and data correctness, and preserve a rollback path. Never activate two independent writable primaries unless the data system is designed for it. In this example a second drill restores the service in 12 minutes but loses 7 minutes of order data. It fails the RPO despite meeting RTO. Investigate replication or backup frequency rather than tuning the proxy alone.
Drill B: RTO observed 12 / target 15 -> PASSRPO observed 7 / target 5 -> FAILOverall recovery gate -> FAIL; repair data recovery, then retestApply what you learned
Practice: A service has RTO 20 minutes and RPO 3 minutes. Disruption at minute 0; dependency restore finishes at 11; customer workflow succeeds at 18. Latest consistent data is minute -5. Decide the gate result and propose a retest. Work from the stated assumptions; the manual exercise and quiz are staged separately. Related references and next lesson are listed in the chapter authored map.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Recovery objectives and drills
Assess high-availability and recovery reasoning.
Which objective limits acceptable recoverable data age?
A service is disrupted at minute 0 and verified at minute 14. What is observed recovery time?
At disruption minute 0, the latest consistent state is minute -4. What is the recovery-point gap?
A drill meets a 15-minute RTO but loses 7 minutes against a 5-minute RPO. What is the outcome?
What should precede failback to the original environment?