Lessons · IT support · RPO and RTO
RPO and RTO: how much you can lose, and how long you can be down
RPO, the recovery point objective, is how much work, measured in time, the business can afford to lose: it is set by how often the backup runs. RTO, the recovery time objective, is how long the business can afford to be down: it is set by how long the restore takes. Both are promises, and both are numbers you can check against a clock.
Hone is a place to practise a career, one idea a day. This is one of its lessons, written out in full and free to read without an account.
What it is for
The accounts server's disk dies at 14:00. The last backup ran at 22:00 the night before. Sixteen hours of invoices are gone, and the restore will take three hours. The director asks two questions, and only two: how much did we lose, and when are we back. RPO and RTO are those two questions with numbers on them, agreed before the disk died.
How to think about it
Work lost = the time of the failure minus the time of the last good backup; compare it with the RPO, and if it is larger, the backup was not running often enough. Downtime = the time to notice, plus the time to restore, plus the time to verify; compare it with the RTO. Write both against the promise in the ticket, because the gap between the number and the promise is the case for a better backup.
Worked example
Failure 14:00. Last backup 22:00 the night beforeThe two times that decide what was lost.
Work lost = 14:00 − 22:00 (previous day) = 16 h. RPO promised: 24 h → metSixteen hours of work gone, inside the promise. Nightly was enough, this time.
Restore: 3 h to copy back, 30 min to check → back at 17:30. RTO promised: 4 h → met, with 30 min to spareThree and a half hours down, against a four-hour promise.
Note: 'lost 16 h against RPO 24 h; down 3.5 h against RTO 4 h'Both numbers against both promises. That line is what the next backup budget is decided on.
Your turn
Backups run every 6 hours. The disk fails 2 hours after the last one. Write the work lost.
Work lost = h
Solve one, graded on the server
The trap
Quoting the RPO as the work lost. The RPO is the worst case the business accepted; the work lost is the actual gap between the last backup and the failure, which can be smaller, and, if the backup had been failing quietly, much larger.