• Docs
  • Talk to an expert
Blog
Blog
BlogProductCase studiesNewsInsights
Blog

RTO vs RPO: disaster recovery metrics explained

infrastructuredataDevOps
01 December 2026
Share
This post is also available in German and in French.

TL;DR

  • RTO, the recovery time objective, is the longest a system can be down after a disaster before the impact is unacceptable.
  • RPO, the recovery point objective, is the most data you can afford to lose, measured as time. An RPO of one hour means losing at most the last hour of changes.
  • Backup frequency sets your RPO. How quickly you can restore and get running again sets your RTO.
  • Lower targets cost more, so set them per system, based on what downtime and lost data actually cost the business.
  • A recovery plan you haven't tested is a guess. Practice restores to find your real RTO.
  • On Upsun Cloud, production environments get a daily automated backup by default, and you can schedule more frequent backups, down to every few hours, to shorten your RPO.

When something goes badly wrong, such as a deleted database, a failed region, or a ransomware attack, two questions decide how bad it gets: how long will we be down, and how much data will we lose? RTO and RPO are the names for your answers, set in advance.

This guide explains both, shows how they relate to backups and recovery, and covers how to set targets that match what your business can tolerate.

RTO and RPO at a glance

Key takeaway: RTO is about time to recover. RPO is about data lost.

 RTORPO
Stands forRecovery time objectiveRecovery point objective
The question it answersHow long can we be down?How much data can we lose?
Measured asTime from the incident until service is backTime between the last good copy of the data and the incident
ExampleBack online within 4 hoursLose no more than 1 hour of data
Mainly set byRestore speed, preparation, and how fast people can actHow often you back up or copy data

 

Picture a timeline. The incident happens at noon. If your last backup was at 11:00, you lose an hour of data: that's your actual recovery point. If you're back online at 15:00, you were down for three hours: that's your actual recovery time.

How RPO works

Key takeaway: your RPO can't be shorter than the gap between your backups.

If you back up once a day, you could lose up to a day of data, so your RPO is effectively 24 hours. To lower it:

ApproachTypical RPOTrade-off
Daily backupsUp to 24 hoursSimple and cheap, but a full day of data at risk
Backups every few hoursA few hoursMore storage, more backups to manage
Continuous replication to another locationSeconds to minutesMore cost and complexity

 

Replicas, live copies of a database, help with hardware failure, but they also copy mistakes almost instantly. Deleting a table on the main database deletes it on the replica too. So replication complements backups but doesn't replace them. Our guide What is a database read replica? explains replicas in more detail.

How RTO works

Key takeaway: RTO covers everything between the incident and being back online, not just the restore itself.

Recovery time is more than restoring a backup. It includes:

  1. Noticing the problem and deciding to recover.
  2. Getting the right people involved, which matters at 3:00 on a Sunday.
  3. Restoring data and systems.
  4. Checking everything works, and switching traffic back.

Large databases take longer to restore, and untested runbooks take longer to follow. The fastest way to shorten RTO is often preparation: clear steps, rehearsed restores, and alerts that reach the right people.

Setting RTO and RPO targets

Key takeaway: set targets per system, based on what an hour of downtime and an hour of lost data actually cost.

Not every system needs the same targets. A shop's checkout matters more than its internal wiki.

SystemExample RTOExample RPOWhy
Online checkout1 hour15 minutesEvery hour down loses sales, and lost orders are hard to rebuild
Customer database4 hours1 hourImportant, but brief unavailability is tolerable
Marketing website24 hours24 hoursContent rarely changes and can be republished
Internal reporting72 hours24 hoursInconvenient, but nothing urgent depends on it

 

To set yours, ask the business two questions for each system: what does an hour of downtime cost, and what would losing an hour of data cost? Lower targets mean more frequent backups, more redundancy, and more rehearsal, so match the spend to the risk.

Common mistakes

Key takeaway: two of the costliest mistakes are untested restores and backups kept in the same place as the data they protect.

MistakeWhat happensHow to avoid it
Never testing a restoreThe backup turns out to be incomplete, or the restore takes far longer than plannedRestore regularly and time it
Backups in the same place as the dataOne incident takes out bothKeep at least one copy somewhere separate
Counting a replica as a backupA mistake is copied to the replica instantlyKeep backups that hold earlier versions
One target for everythingMoney is spent protecting systems that don't need itSet targets per system
Forgetting files and configurationThe database is restored, but uploads or settings are missingBack up everything the app needs, not only the database

 

Backups and recovery on Upsun Cloud

Key takeaway: on Upsun Cloud, backups cover an environment's code, data, and files together, and you can schedule them often enough to meet your RPO.

According to the Upsun docs on backups:

What to knowDetails from the Upsun docs
What a backup includesThe environment's code, the data in every service, and files stored on mounts
Default scheduleOne automated backup a day for production environments, with 2 days of backups retained
Custom schedulesYou can set your own backup policy per environment type, with intervals measured in hours, days, weeks, months, or years
Manual backupsTake one before risky changes. They're kept until you delete or replace them
Downtime during backupsAutomated backups are live, with no downtime. Manual backups pause the site briefly, usually 15 to 30 seconds, holding requests rather than dropping them, unless you choose a live backup
Restoringupsun backup:restore returns the environment's code and data to the moment of the backup
Where backups are storedOn Upsun Cloud. They can't be downloaded, so export your data if you need a copy somewhere else

 

In RPO terms, the default daily backup means up to a day of data could be lost from a production environment. A custom policy with more frequent backups shortens that. For a copy outside the platform, the docs describe exporting your data.

The docs don't publish restore times, which depend on the size of your data. Find your real RTO by restoring and timing it. Our guide What is a deployment rollback? covers the difference between rolling back code and restoring data. For a real-world scenario, see the "delete everything" post.

You can deploy on Upsun Cloud free for 15 days, with no card needed, or see how backups and data recovery work on Upsun Cloud.


 

Frequently asked questions

What is the difference between RTO and RPO?
RTO is how long you can be down after an incident. RPO is how much data, measured in time, you can afford to lose.

What is a good RTO and RPO?
It depends on the system. A checkout might need an RTO of an hour and an RPO of minutes, while an internal wiki can tolerate a day of each.

How does backup frequency affect RPO?
Your RPO can't be shorter than the time between backups. With daily backups, you could lose up to a day of data.

Is a replica a backup?
No. A replica copies changes, including mistakes and deletions, almost instantly. Backups keep earlier versions you can go back to.

How do I measure my actual RTO?
Run a realistic restore test and time it from the moment you decide to recover until the service is working again.

What is the difference between disaster recovery and business continuity?
Disaster recovery is about restoring systems and data after an incident. Business continuity is the wider plan for keeping the business running, including people, processes, and communication.

Stay updated

Subscribe to our monthly newsletter for the latest updates and news.

Deploy possibility.
Try Upsun for free.

Build with DispatchDeploy on Cloud