What are RPO and RTO in disaster recovery?

RPO (recovery point objective) is the maximum amount of data, measured in time, you can afford to lose in a disaster. RTO (recovery time objective) is the maximum time a service may stay down before it must be restored.

Also called recovery point objective, recovery time objective, RPO vs RTO, RTO and RPOUpdated

Every disaster recovery plan answers two questions. If the primary system is lost right now, how much recent data can we afford to lose? And how long can customers wait before it works again? The answers are the RPO and the RTO. They are business decisions. Once agreed, they set the backup schedule, the replication design and the cost of the standby.

Here RTO means recovery time objective. In e-commerce, RTO also means return to origin, an undelivered parcel sent back to the seller.

RPO vs RTO

  • RPO looks backwards. It is the gap between the last good copy of the data and the moment of failure. Nightly backups give a worst-case RPO of about 24 hours. Continuous replication can bring it to seconds.
  • RTO looks forwards. It is the time from the failure until the service is usable again: detecting the problem, deciding to fail over, promoting the standby and redirecting traffic.

They are set separately. A reporting system might accept an RPO of 24 hours but need an RTO of 4 hours. A payments ledger needs both near zero. Both are targets. What counts is what you achieve in a test.

Disaster recovery strategies

AWS's Well-Architected Framework describes four patterns, in order of rising cost and falling RPO and RTO:

Strategy What runs in the recovery site Typical RPO Typical RTO
Backup and restore Only backups Hours Up to a day
Pilot light Replicated data, compute off Minutes Tens of minutes
Warm standby A scaled-down working copy Seconds Minutes
Multi-site active-active Full production in each site Near zero Near zero

The patterns apply on Azure and Google Cloud too. Replication copies a mistaken DELETE or ransomware as faithfully as good data, so keep point-in-time backups as well.

Example: a payments platform in India

An Indian payment aggregator runs on AWS in Mumbai. RBI's payment data localisation rules mean the recovery site must also be in India, so it uses Hyderabad.

  • Agreed targets: RPO 1 minute, RTO 30 minutes for the transaction service; RPO 24 hours, RTO 8 hours for internal analytics, restored from nightly snapshots copied to Hyderabad.
  • Transaction database: asynchronous cross-region replication to Hyderabad, plus point-in-time recovery backups. Replication lag is monitored and alerts if it exceeds 30 seconds.
  • Compute: a warm standby in Hyderabad running two small instances, defined in the same infrastructure as code as production.
  • Test: a failover drill each quarter. The last one took 22 minutes and lost 4 seconds of data, inside both targets.

On SQL Server or PostgreSQL without replication, the interval between transaction log backups sets the RPO. Log backups every 15 minutes mean up to 15 minutes of lost transactions.

RPO, RTO, MTTR and SLAs

RTO is a target for one disaster. MTTR is the average recovery time actually achieved across ordinary incidents. An availability SLO limits total downtime over a month, so one long recovery can use up a whole year's budget. Regulators ask for documented targets too. Under the EU's Digital Operational Resilience Act, ICT vendors to financial entities are commonly asked for RTO and RPO per service in the contract.

Common mistakes

  • Setting targets nobody has tested.
  • Forgetting dependencies such as DNS, the identity provider, secrets and third-party APIs.
  • Failing over without a plan for failing back.

For in-country recovery design, see RBI payment data localisation architecture or our cloud and infrastructure work.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call