7.8 RPO and RTO
The RPO (recovery point objective) sets how old the newest restore point may be at most, that is, how much data may be lost in the worst case. The RTO (recovery time objective) sets how long a restore may take at most. PDC-Backup evaluates both targets continuously and shows whether they are met. This page covers where the targets are set and how the evaluation calculates.
Where RPO and RTO are set
Place | What can be set there | Default |
|---|---|---|
Protection plans, in the plan editor (see section 7.6 Plans) | RPO: data you may lose at most (1 to 744 hours) and RTO: time until the data is back at most (1 minute to 31 days). They apply to all jobs of the plan | RPO 24 h, RTO 240 min |
Agents, Settings tab, RPO field | RPO of the machine in hours, 1 to 8760. The hint reads: "hours: a restore point must be this recent for 'protected' (empty: server default)" | empty (server default) |
| Default RPO of all machines, 1 to 8760 hours (see chapter 13 Configuration Reference) |
|
For the protection status of a machine (see below), the strictest value applies: if a machine has enabled backup jobs with plans, the smallest RPO of those plans wins. Without a plan, the RPO from the agent settings applies, and without that the server default.
RPO compliance
There are two evaluations, which differ in their reference.
Per job in a plan
In the plan details (see section 7.6 Plans), each job's RPO shows met or missed. The target is met if the job's last successful backup is at most the RPO plus one hour old. The extra hour gives the next backup time to run, because it is running exactly when the RPO expires. A job without a successful backup counts as missed ("never").
In the plan list, the row summarizes it: "n jobs on target" if no job misses the RPO or RTO, otherwise "x of y miss a target".
Per machine: the protection status
The dashboard and the agent list show a traffic light for every machine. It refers to the machine's newest snapshot in any repository (copies included), not to a single job.
Traffic light | Meaning |
|---|---|
Green | There is a restore point within the RPO (plus one hour) and nothing has failed. Restore tests are optional: without one the status stays green, and the reason says that no test is set up |
Yellow | There is a restore point within the RPO, but the last restore test failed or the last run of an enabled backup job ended with a warning or an error |
Red | No restore point within the RPO, no backup yet, or no backup job at all |
For red, the reason reads for example "no restore point within the RPO of 24 h", "no restore point yet", or "no backup job".
RTO compliance
A job's RTO is the expected restore time of its newest backup. PDC-Backup uses the best available basis for it, in this order:
Basis | Calculation | Display in the plan details |
|---|---|---|
Measured | There is a full restore or a restore test of the job that covered at least 90 percent of the size of the newest backup. The time of that run is extrapolated to the full size | Time without "β": "measured by a full restore or restore test" |
From the restore speed | The up to 10 latest successful restores and tests of the job yield an average speed. Size of the newest backup divided by this speed, plus one minute for connecting and opening the repository | "β" before the time: "estimated from the restore speed of earlier restores and restore tests" |
From the backup speed | Without a restore, the average speed of the up to 10 latest successful backups is used, again plus one minute | "β" and the suffix "(rough)": "rough estimate from the backup speed (no restore measured yet)" |
Unknown | There is no backup yet | "no backup yet" or unknown |
The RTO counts as met if the calculated time is at most the plan's RTO, otherwise as missed; without a basis for the calculation it reads unknown. An unknown RTO does not count as a missed target in the plan list.
A restore test turns the estimate into a measurement: under Jobs, New job, choose the type Restore test and set a schedule. The test restores data of the chosen job on a trial basis, and its duration feeds into the RTO calculation. The plan details point this out: "Set up a restore test β¦ to measure the RTO instead of estimating it." Details on restore tests are in chapter 09 Restore.
Summary of the evaluations
Quantity | Reference | Basis for "met" |
|---|---|---|
RPO per job (plan details) | last successful backup of the job | at most the plan's RPO plus 1 hour old |
RPO per machine (protection status) | newest snapshot of the machine in any repository | at most the RPO (plan, agent, or server default) plus 1 hour old; additionally no errors and no failed restore test |
RTO per job (plan details) | size of the newest backup and measured or estimated speed | calculated time at most the plan's RTO |
Practical notes
The cadence should be at least as dense as the RPO. A plan with an RPO of 4 h and a cadence of every 4 h fits thanks to the extra hour; if the job runs only daily, the 4 h RPO counts as missed after a few hours at the latest.
The cadence from the RPO (see section 7.6 Plans) takes this into account automatically: it is based on the RPO.
Machines that are often off (laptops) need a generous RPO or Wake-on-LAN and catch-up (see section 7.5 Power, Wake-on-LAN and catch-up), otherwise the protection status quickly turns red.
An RTO is only as reliable as its measurement. A regular restore test is the basis for a dependable value.