RPO, RTO and backup design
Start with the business impact
A bookstore can tolerate an hour without recommendations, but lost paid orders create refunds, inventory errors and customer harm. Business continuity (BC) keeps essential business processes functioning during disruption, including people, communication, alternate procedures and suppliers. Disaster recovery (DR) restores technology and data after a defined disaster. High availability (HA) keeps a service usable during specified faults; it does not replace DR. A business impact analysis identifies critical functions, dependencies, financial and safety impacts, maximum tolerable disruption, and owners. Agree objectives with those owners rather than assigning every system the same target.
For this fictional bookstore, paid orders have a recovery point objective (RPO) of 30 minutes and a recovery time objective (RTO) of 90 minutes. RPO limits acceptable data loss expressed as time before the incident; RTO limits acceptable elapsed time until the defined service is restored. They are design targets, not measurements or guarantees. Define the starting event, the ending business transaction and the scope of data. A 30-minute RPO does not permit losing arbitrary orders older than 30 minutes; reconcile payments separately. The catalog can have different objectives. Dependencies such as identity and inventory must recover in time for checkout.
Understand what each protection mechanism does
| Mechanism | What it protects | Important limitation |
|---|---|---|
| Snapshot | Point-in-time state of a volume or supported resource | May depend on original account, keys or service; crash consistency is not application consistency |
| Backup | Recoverable retained copy with a documented restore path | Requires tested access, integrity, retention and restore procedures |
| Replication | Copies changes to another location | Can propagate corruption or deletion; lag and consistency matter |
| HA | Keeps service available across selected failures | Does not necessarily recover historical data |
| DR | Coordinates restoration of service after disaster | Includes people, identity, network, data and application validation |
A snapshot can be part of a backup system when its independence, consistency, retention and restoration are verified. Database backups must support the consistency required by transactions; a disk snapshot alone may not capture a usable application state. Point-in-time recovery (PITR) may restore a base backup and replay logs to a supported timestamp. Check log continuity, clock accuracy, supported recovery window and consistency across related stores. A replicated database may still need an older clean recovery point after a bad migration.
Choose cadence and retention from objectives
Assume captures start every 15 minutes, each takes 5 minutes to complete and the independently accessible copy needs another 5 minutes. With no missed runs and a consistent capture timestamp at the start, the oldest latest usable point just before the next copy becomes ready is almost 25 minutes old (15 + 5 + 5). That fits the fictional 30-minute RPO with 5 minutes of margin. One missed run can raise the bound to 40 minutes. A 30-minute schedule with the same delays can reach 40 minutes even without missed runs. Monitor the age of the latest verified usable point in the recovery location rather than merely the last successful job.
At incident minute 120, a usable point from minute 100 implies 20 minutes of observed recovery-point age. If corruption began at minute 90 and the latest known clean point is minute 85, the effective recovery-point age is 35 minutes relative to the incident minute. Record the failure scenario and timestamp definitions; no safe point means RPO is unknown, not zero.
Retention answers a different question: how far back can we recover? Choose daily, weekly and monthly retention from corruption detection windows, business needs, and approved legal requirements. With 7 independent full daily copies of 100 GB, stored data is 700 GB before compression. In an illustrative incremental model, a 100 GB base plus six 5 GB changes occupies 130 GB; losing the base or required incremental chain may make later points unusable. At a fictional $0.02/GB-month for a fixed 130 GB held an entire month, storage costs $2.60; 700 GB costs $14. These are arithmetic examples, not provider prices or billing promises. Include copy transfers, requests, restore staging, retrieval, test compute and retained keys separately.
Make copies recoverable after a security incident
Keep independent copies across the failure domains in the threat model. A separate account, subscription or project can reduce shared administrative risk if identities and keys are actually independent. A second region helps only if the service supports the required copy and restore path and residency rules allow it. Offline or logically isolated copies reduce shared online access; immutable retention can prevent alteration or premature removal for a defined period, but can also create permanent obligations and costs. Do not enable irreversible locks in this exercise. Preserve key versions needed to decrypt retained copies, protect recovery roles with least privilege and audited emergency access, and verify restoration without relying on unavailable primary infrastructure. Test access from the recovery environment. Keep backup catalog, signed or independently protected manifests, configuration and runbooks available; a checksum stored beside compromised data is not independent proof. Never use live secrets or customer records in this lab.
Compare recovery strategies and managed services
| Strategy | Recovery environment before incident | Trade-off |
|---|---|---|
| Backup and restore | Copies plus rebuild instructions | Lower ready capacity; provisioning, restore and validation take time |
| Pilot light | Essential data and selected core services ready; other resources deployed when needed | Less idle compute, more recovery steps |
| Warm standby | Smaller functioning stack | Faster takeover possible, capacity expansion and checks required |
| Multi-site active/active | Multiple sites serve traffic | Higher ongoing cost and coordination complexity; historical backup still required |
Use measured recovery for each scenario, not generic promises. AWS describes these patterns in its recovery strategy guidance. For supported resources AWS Backup can coordinate backups and recovery; AWS Elastic Disaster Recovery addresses server recovery rather than replacing every database backup. Azure Backup uses Backup vaults or Recovery Services vaults depending on workload; Azure Site Recovery supports replication and recovery of supported VM workloads. Cross-region restore depends on resource support, configuration and regional recovery conditions. See Azure Backup reliability and Azure continuity concepts. Google Cloud Backup and DR centralizes backup and recovery for supported cloud and hybrid workloads; backup plans and vaults have resource-specific scope. See Backup and DR overview. These products are not identical and none automatically recovers every application dependency. Verify supported workload, region, account boundary, restore permissions, retention, recovery type, charges and actual RPO/RTO before selecting. Source excerpts were reviewed; no live pricing or service tests were performed.
Check your design
For a fictional 30-minute RPO, choose a 10-minute cadence with 4 minutes capture and 6 minutes copy delay: the normal bound is 20 minutes, with one missed run it becomes 30. A longer undetected corruption window can still require an older point. For RTO, a backup-only strategy that takes 100 minutes to restore and verify cannot meet 90 minutes even if the RPO is excellent. Try a pilot light or warm standby, then measure again. Do not buy extra replicas without checking identity, keys, quotas, DNS, consistency and the cost of retained copies.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
RPO, RTO and backup design — knowledge check
Choose the best answer for each offline scenario.
What does a 30-minute RPO constrain?
Cadence 15 min, capture 5 min, copy 5 min. What is the normal worst-case point-age bound under the stated assumptions?
Why is replication alone insufficient for recovery from accidental deletion?
Which strategy keeps a smaller functioning recovery stack?
What should be verified before an immutable retention policy is enabled?