How to write a disaster recovery plan

A disaster recovery plan is the written answer to one question: if a server, a data centre or an account were lost today, what exactly would we do, in what order, and how long would it take?

What belongs in a disaster recovery plan?

An inventory of systems, a recovery target for each, the standby arrangements that meet those targets, step-by-step runbooks, the people and contacts involved, and a record of tests. It should be short enough to follow under stress and stored where it remains readable when the systems it describes are down, such as a printed copy and a copy on a separate account.

Which disasters should it cover?

The likely ones first. Hardware failure on a single server, an operator mistake that deletes data, a software update that corrupts a database, a ransomware infection, a compromised administrator account, and the loss of a whole data centre from power, fire or network problems. Each scenario has a different blast radius, so the plan lists which recovery path applies to which.

How do I set recovery targets?

Agree two numbers per system with the people who use it. The recovery point objective (RPO) is how much recent data you can afford to lose; the recovery time objective (RTO) is how long the system may be unavailable. A shop's order database might need an RPO of one minute and an RTO of one hour; an internal wiki might accept a day for both. Tighter targets cost more, so they should be justified by the business, not set by habit.

Standby typeHow it worksTypical RTOCost
ColdBackups only; order and build a server when neededA day or moreBackup storage only
WarmA smaller server already installed, data copied regularlyOne to four hoursOne extra machine
HotA full replica in another location, kept in syncMinutesA second production machine

How does ordering time affect a cold standby?

Directly. With a cold plan, your RTO includes the time to get a new machine: delivery is usually within 24 hours, and up to 72 hours for Storage and Enterprise models, then the rebuild and data restore. If that is too long, keep a warm standby: a smaller machine such as ESSENTIAL-S at $46.20 a month, in a different data centre, receiving database replication and nightly file copies.

What should a runbook look like?

Numbered steps, exact commands and a check after each. Write it so a colleague who did not build the system could follow it. A database promotion runbook, for example:

ssh ops@standby-waw "sudo -u postgres psql -Atc 'SELECT pg_last_wal_replay_lsn(), now() - pg_last_xact_replay_timestamp()'"
ssh ops@standby-waw "sudo -u postgres pg_ctlcluster 17 main promote"
ssh ops@standby-waw "sudo -u postgres psql -Atc 'SELECT pg_is_in_recovery()'"
# expect f, then switch the application's DATABASE_URL and reload it

Include how to change DNS, since our machines have one IPv4 each and we do not sell failover addresses: lower record TTLs to around 300 seconds in calm times so a switch to the standby's address takes effect quickly.

Who does what?

Name an incident lead who decides, an operator who runs the steps and a communicator who updates users. List phone numbers and backup contacts, where credentials are stored and who can reach them, and how to reach your registrar, DNS host and payment provider. A plan that depends on one person being awake is not finished.

How do I test the plan?

In rising order of realism. A tabletop review walks through a scenario on paper. A component test restores one backup or promotes one replica. A full exercise fails over a real service to the standby in a planned window and measures the time. Record each result, fix the gaps and update the plan. Testing at least twice a year keeps it in step with the systems.

Where should the standby be?

In a different city, so one event cannot hit both. Pairs such as Gravelines and Strasbourg, Frankfurt and Warsaw, or Beauharnois and Toronto keep traffic within one region. Backups for the plan go to a server of your own, since we do not sell a backup product; Data backup and recovery covers methods and retention.

Machines often used as standbys and backup targets

ModelProcessorCoresMemoryDrivesPortPer month
ESSENTIAL-SAMD Ryzen 7 9700X864 GB2x 512 GB SSD NVMe1 Gbps unmetered$46.20
ESSENTIAL-2Intel Xeon-E 2388G832 GB2x 512 GB SSD NVMe1 Gbps unmetered$43.20
STORAGE-1AMD Ryzen 7 Pro 3700832 GB2x 480 GB SSD SATA + 4x 14 TB HDD SAS1 Gbps unmetered$109.80
STORAGE-2 2026AMD EPYC 4345P832 GB2x 960 GB SSD NVMe + 2x 24 TB HDD SAS3 Gbps unmetered$273.00
BUSINESS-1 2026AMD EPYC 4245P632 GB2x 960 GB SSD NVMe3 Gbps unmetered$113.40

Related pages

Data backup and recovery

What a backup is and is not, the 3-2-1 rule for rented servers, file and database methods, retention, encryption and proving that a restore works.

Read more

Choosing a data centre location

Latency, traffic rules, data residency and price: how to pick one of our twelve data centres for the people you serve.

Read more

Migrate to a new server

Move a live service to a newer or larger machine with minutes of downtime: plan the overlap, copy, replicate the database and switch DNS.

Read more

Backup and archive storage

Hard disk chassis from 44 TB to 576 TB raw for offsite backups, archives and object storage targets.

Read more

Questions and answers

How do RPO and RTO differ?

RPO is how much recent data you can afford to lose; RTO is how long a system can be down before recovery must be complete.

What is a warm standby?

A smaller server already installed in another location, receiving regular data copies, ready to take over within hours.

How often should a disaster recovery plan be tested?

At least twice a year, with a component test or a full failover exercise, and after any major change to the systems.

Can a failover IP move traffic to my standby?

We do not sell failover addresses. Switch DNS to the standby's address, with TTLs lowered to about 300 seconds in advance.

How long does it take to get a replacement server?

Usually within 24 hours, and up to 72 hours for Storage and Enterprise models, which a cold plan must include in its RTO.