When a server fails, the power goes out or ransomware hits, two questions come up immediately: when will the service be back, and how much data was lost? The answers to these two questions are the foundation of every disaster recovery plan, and in the industry they are called RTO and RPO. In this guide we explain what each term means, how they differ, how to set the objectives for your own business and how to test whether the objectives you set really hold.
RTO (Recovery Time Objective) is the longest time within which a service must be running again after an outage. Put differently, it is the longest downtime you can accept. If the RTO is four hours, the goal is that the service is available to users again within four hours of the disaster.
RTO is not just the time to restart a server. Noticing the outage, the decision to declare a disaster, preparing the target environment, restoring data, starting applications in the right order, changing DNS or IP routing and verifying functions all count towards it. When you set a target you need to add up the real time of every step; otherwise the RTO on paper and the actual downtime will be far apart.
RPO (Recovery Point Objective) is the maximum amount of data you can afford to lose in a disaster, expressed as time. If the RPO is fifteen minutes, data up to fifteen minutes before the disaster is expected to be recovered, while changes in the last fifteen minutes may be lost.
What drives RPO is how often data is copied. If you take a backup once a day you can lose roughly a day of data in the worst case, so your effective RPO is about twenty-four hours. Hourly copying brings the RPO to an hour and continuous replication can bring it down to seconds. A tighter RPO means more frequent copying, more network traffic and usually higher cost.
Mixing the two up is very common in practice. The easiest way to tell them apart: RTO measures time, RPO measures data. RTO answers "how long can I be down?" and RPO answers "how much data can I lose?". They are set independently; you can have a tight RPO with a loose RTO or the other way round.
| Feature | RTO | RPO |
|---|---|---|
| What it measures | Downtime | Data-loss window |
| Time axis | Looks forward from the disaster | Looks back from the disaster |
| Core question | When is the service back? | Up to which point is data recovered? |
| What affects it | Ready resources, automation, restore speed | Backup or replication frequency |
| When you tighten it | More ready infrastructure is needed | More frequent copying is needed |
RTO and RPO are a business decision, not a technical preference. The right answer comes from the owner of the business, not the server team. To set the objectives, answer these four questions in order.
This analysis is called a business impact analysis (BIA). As a practical start you can split your services into three groups: critical (revenue-generating and customer-facing), important (internal operations) and standard (archive, reporting). Assign an RTO and RPO to each group, then handle exceptions one by one.
Let us set your disaster recovery objectives together
Send us your number of servers, data volume and target RTO/RPO and we will review the scope with you.
See the Disaster Recovery serviceOnce the objectives are clear you choose the architecture that meets them. The table below is a general frame; real times depend on data size, network speed and the structure of your application.
| Approach | Typical RPO | Typical RTO | When it fits |
|---|---|---|---|
| Restore from backup (cold) | As old as the backup interval, often hours or a day | Hours, days | Archive, test and low-priority systems |
| Frequent copying with a ready environment (warm) | Minutes, hours | Minutes, hours | Internal applications and medium-priority services |
| Continuous replication with a running second environment (hot) | Seconds, minutes | Minutes | Customer-facing, revenue-critical systems |
One critical point: replication does not replace backup. Replication mirrors changes to the target system; it also copies accidentally deleted data or ransomware encryption as it is. To return to an earlier point in time you need a separate backup, and against an attack you need a copy that cannot be deleted. A good plan uses replication for a low RTO and an independent backup for rollback flexibility and attack protection.
When choosing a backup approach you can look at practical setup guides such as VDS backups with JetBackup, and when planning infrastructure at the VPS versus dedicated server comparison.
Once the objectives are set on the business side, a few technical factors decide whether you can meet them. The first is data size: restoring a database of hundreds of gigabytes over the network takes far longer than restoring an application directory of a few gigabytes. The second is network bandwidth: the speed at which data can move from where the backup is stored to the target environment sets the lower bound for restore time. The third is the level of automation: if recovery steps are written down and scripted, the time shrinks; if they are done by hand from memory, the risk of mistakes and the time grow.
The fourth factor is data consistency. If several databases or services write at the same time, the copies must belong to the same moment; restoring copies from different moments can leave the application inconsistent. Finally, account for the human factor: disasters usually happen outside office hours and key people may be unreachable, so the plan must say who makes which decision and include backups for those people.
The scenarios below are only meant to give an idea; the numbers must be recalculated with the real data of your business.
Writing an objective is easy; meeting it only becomes clear by trying. A disaster recovery drill makes your objectives measurable. You can progress through three levels:
The simplest way to measure RTO is to time the restore command. For example, you can measure how long it takes to restore a PostgreSQL backup into a separate database:
time pg_restore --clean --if-exists -d target_database backup.dump
To measure RPO, look at the timestamp of the latest record in the restored data and compare it with the moment of the disaster. The difference is your actual RPO in that test. Record the measured values in writing: which step took how long, where did it get stuck, what was found missing? The plan must be updated after every test.
It is important to keep two things clearly apart. Today you can keep an immutable copy of your data in our data center in Turkey on S3 Object Storage with Object Lock, which protects your backup against ransomware and accidental deletion. However, this is not a second geographic copy or an environment that restarts your service.
To run the service itself from another location, our Disaster Recovery (DR) service is planned project by project. The second location in Istanbul is still at the planning stage and is not in service, so today there is no replication, automatic switchover, measured RTO and RPO values or service-level commitment. It is possible to define the scope and objectives together and verify them with a recovery test after setup.
To strengthen your own infrastructure as well, you can look at our dedicated server and VDS options, and at our data center page for the facility and network infrastructure. For data location and data protection, the guide to servers located in Turkey may also help; this article is not legal advice and compliance remains your organisation's responsibility.
Let us design your backup and recovery plan together
Send us your objectives, data volume and current infrastructure and we will review a suitable design with you.
Open the contact formWhat is the difference between RTO and RPO?
RTO is how quickly a service must be running again after an outage, the acceptable downtime. RPO is the maximum amount of data you can afford to lose, the acceptable data-loss window. RTO measures time, RPO measures data.
Can RTO and RPO be zero?
In theory you can approach zero, but that means synchronous replication, a second environment that is always ready and high cost. Most organisations do not need a zero target; objectives are balanced against business impact and budget.
Should every system have the same RTO and RPO?
No. Customer-facing, revenue-generating systems get tight objectives, while internal reporting or archive systems can have looser ones. Objectives are set per service, taking dependencies into account.
Does backup alone meet an RPO target?
Backup frequency sets the RPO: with daily backups you can lose roughly a day of data in the worst case. Restore time, however, directly affects RTO, and restoring large data sets can take a long time.
How are RTO and RPO values verified?
By a recovery test. You run a real restore or a partial switchover, measure the time and check how old the latest copy is. Objectives that have not been tested are assumptions.
How often should RTO and RPO objectives be reviewed?
There is no fixed rule; common practice is once a year and whenever the application, data volume or infrastructure changes significantly. As data grows, restore time grows and old objectives may no longer hold.
How does a ransomware attack affect RTO and RPO?
Finding a clean recovery point and cleaning the environment lengthens the recovery time. If the backups are encrypted too, the effective RPO becomes much worse. A backup copy that cannot be reached or modified keeps the objectives realistic.