LinuxL · Disaster RecoveryRPO RTO
RPO and RTO - modelling recovery objectives
What you'll learn
- Define RPO and RTO
- Calculate RPO from backup frequency
- Design a strategy to meet RTO
- Trade off cost vs objectives
Prerequisites
Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09
RPO (Recovery Point Objective) and RTO (Recovery Time Objective) are the two numbers that define a backup and DR strategy. This lesson covers how to model them and design a strategy to meet them.
Definitions
- RPO (Recovery Point Objective): how much data loss is acceptable. The age of the most recent backup at the time of disaster. E.g. RPO 1 hour = at most 1 hour of data is lost.
- RTO (Recovery Time Objective): how long recovery takes. The time from disaster to service restored. E.g. RTO 4 hours = service is back within 4 hours.
Calculate RPO from backup frequency
| Backup frequency | RPO |
|---|---|
| Real-time replication | seconds |
| Hourly backup | 1 hour |
| Daily backup | 24 hours |
| Weekly backup | 7 days |
For RPO 15 minutes, you need a 15-minute backup cadence (or continuous replication).
Design RTO
RTO depends on:
- Restore time: how long to recover the data.
- Service setup time: how long to set up the service.
- Validation time: how long to verify the service works.
RTO = restore_time + service_setup + validation
For RTO 4 hours, the sum must be under 4 hours.
Trade-offs
| RPO | RTO | Cost |
|---|---|---|
| Minutes | Minutes | High (replication, hot standby) |
| Hours | Hours | Medium (frequent backups, automation) |
| Days | Days | Low (daily backups) |
Tighter RPO and RTO cost more. The right level is the minimum that meets the business requirement.
Per-service objectives
Different services may have different objectives:
- Authentication service: RPO 5 min, RTO 1 hour (critical for the whole fleet).
- Internal tooling: RPO 24 hours, RTO 24 hours (low priority).
- Customer-facing: RPO 1 hour, RTO 4 hours (business impact).
Document the objectives per service in the runbook.
Knowledge check
Knowledge check · 3 questions
Q1. What does RPO mean?
Q2. RPO 1 hour means at most 1 hour of data is lost.
Q3. Which of the following are valid components of RTO? Select all that apply.
Passing score: 75%. Answers are checked in this browser.