Guides
Website Disaster Recovery Planning
A disaster recovery plan turns a crisis into a procedure. Learn how to set RPO and RTO targets, write runbooks and test that your site can actually be restored.
- Published
- Updated
- Reading time
- 7 min read
Every business website will eventually have a bad day. A hosting provider suffers a major outage, an update corrupts the database, an administrator account is compromised, a domain renewal is missed or someone deletes the wrong thing. What separates an inconvenient afternoon from a business crisis is rarely the event itself; it is whether anyone knew in advance exactly what to do.
A disaster recovery (DR) plan is that advance knowledge, written down. It defines how much data you can afford to lose, how long you can afford to be offline, where your recovery assets are, who does what and in which order. Without one, recovery depends on memory, guesswork and whoever happens to be available – usually under pressure and often outside working hours.
This guide explains how to build a practical disaster recovery plan for a business website or online store. The same principles apply to web applications, with a few extra moving parts.
Start with the business impact
Disaster recovery planning begins with business questions rather than technical ones:
- What does the website do for the business – generate leads, take orders, serve customers, support staff?
- What happens, in practical terms, if it is unavailable for an hour, a day or a week?
- Which data changes frequently and would be painful or impossible to recreate (orders, form submissions, user accounts, bookings)?
- Are there contractual, regulatory or reputational consequences to downtime or data loss?
The answers determine how much to invest in recovery capability. A brochure site that changes monthly and a busy e-commerce store need very different plans.
Define RPO and RTO
Two measures sit at the heart of every DR plan:
- Recovery Point Objective (RPO) – the maximum amount of data, measured in time, you can accept losing. If your RPO is four hours, backups or replication must capture changes at least every four hours.
- Recovery Time Objective (RTO) – the maximum acceptable time from the start of an incident until the service is working again.
Both are targets you choose, not figures your provider hands you. Shorter targets need more sophisticated – and more costly – infrastructure. The table below gives illustrative examples of how targets typically map to approaches; your own figures should come from your business impact assessment.
| Website type (example) | Example RPO | Example RTO | Typical approach |
|---|---|---|---|
| Brochure site, infrequent changes | 24 hours | 1 business day | Daily off-site backups, documented manual restore |
| Lead-generation site with forms | A few hours | Several hours | More frequent database backups, form data also emailed or sent to CRM |
| Busy online store | Minutes to an hour | Under a few hours | Frequent or continuous database backups, standby environment, rehearsed restore |
| Business-critical application | Near zero | Minutes to an hour | Database replication, multi-zone or multi-region infrastructure, automated failover |
These examples are for illustration only; the right targets depend on your business.
Identify the scenarios you are planning for
A good plan covers several distinct failure types, because each needs a different response:
- Hosting or infrastructure failure – server hardware, data centre or cloud region outage.
- Data corruption or loss – a failed update, faulty import, accidental deletion or database corruption.
- Security compromise – malware, defacement, ransomware or a malicious administrator.
- Third-party failure – DNS provider, CDN, payment gateway or email service outage.
- Administrative failure – expired domain, expired SSL certificate, lapsed hosting account or lost credentials.
Security incidents need special care: restoring the most recent backup may simply restore the infection. Your plan needs to identify a clean restore point and close the original entry route before going live again. Our malware detection and removal service covers that investigation.
Design your recovery assets
Backups
Backups are the foundation, but only if they are designed for recovery rather than for ticking a box. Key principles:
- Follow the 3-2-1 principle: at least three copies of your data, on two different types of storage, with one copy off-site.
- Keep at least one copy in a separate account or provider from your hosting, so a compromised or closed hosting account cannot take the backups with it.
- Consider immutable or write-once storage for backups, which helps protect against ransomware and malicious deletion.
- Match frequency to your RPO and retention to how long an issue might go unnoticed.
- Back up everything needed to rebuild: files, database, server configuration, environment variables and any external storage such as media buckets.
Our article on why website backups often fail covers the most common gaps we find.
Infrastructure as documentation (or code)
Being able to rebuild the environment is as important as having the data. Record the server specification, PHP or runtime version, web server and database configuration, scheduled tasks, firewall rules and DNS records. Where possible, define infrastructure as code so a replacement environment can be created consistently.
Standby environments
For lower RTOs, a pre-provisioned standby environment – warm (ready but not serving traffic) or hot (running and synchronised) – removes the time spent building a server during an incident. This is where cloud platforms help, as standby capacity can be kept small and scaled when needed.
DNS and domain readiness
Recovery often involves pointing traffic somewhere else. Know where your DNS is hosted, who can log in, and consider lowering record TTLs in advance if you rely on DNS changes for failover. Keep domain registration on auto-renew with up-to-date payment and contact details. Our domain, DNS and SSL management service treats these as monitored assets.
Write the runbook
A runbook is the step-by-step procedure for recovering from each scenario. It should be specific enough that a competent engineer unfamiliar with your site could follow it. Include:
- Contacts and escalation – who declares a disaster, who performs the recovery, who communicates with customers and staff, plus supplier support contacts.
- Access – where credentials are vaulted and how they are retrieved in an emergency.
- Decision points – for example, when to fail over versus wait for the provider to resolve an outage.
- Recovery steps – in order, with commands or screen paths where relevant.
- Verification checks – how to confirm the restored site is complete and working: key pages, forms, checkout, logins, integrations and scheduled tasks.
- Communication templates – a status page message, a customer email and an internal update.
- Post-incident tasks – root cause analysis, plan updates and any notifications required, such as personal data breach reporting obligations under UK GDPR.
Store the runbook somewhere that does not depend on the website or server it describes.
Test the plan
An untested plan is a hypothesis. Testing turns it into a capability and reveals the gaps – missing credentials, backups that do not include a crucial directory, a restore that takes three times longer than expected.
Tests can be scaled to your needs:
- Restore tests – regularly restore a backup to an isolated environment and verify it. Our backup restore test checklist sets out what to check.
- Tabletop exercises – walk the team through a scenario on paper to check roles and decisions.
- Full failover rehearsals – for critical services, actually switch to the standby environment during a planned window.
Record how long each test takes and compare it with your RTO. If restores consistently overrun, either the targets or the approach need to change.
Gaps that tests commonly reveal
Restore tests are valuable precisely because they surface problems nobody anticipated. Typical examples include backups that exclude a media directory or a custom uploads location, database dumps that are incomplete because a job timed out, credentials for the backup storage known only to someone who has left, scheduled tasks that were never documented, and integrations that need new API keys or allow-listed IP addresses when the site moves to a different server. Each one found in a test is one fewer surprise during a real incident.
Keep the plan current
Websites change: new plugins, new integrations, new hosting, new staff. Review the DR plan at least annually and after any significant change, and update contact details whenever people move on. Make plan review part of your routine maintenance rather than a separate project.
Next steps
A disaster recovery plan does not need to be complicated to be effective. Clear RPO and RTO targets, well-designed off-site backups, a written runbook and regular tests will put most businesses in a far stronger position than the majority of websites operating today.
Our website backup and recovery service is designed to provide verified backups, documented restore procedures and scheduled restore testing. If you would like to know how recoverable your site is right now, start with a free website health check.