Build a disaster recovery plan by setting recovery targets, listing site dependencies in restore order, assigning owners, and testing backup restore steps before an outage. Without that, a backup may restore files yet still leave DNS, database, email, or payment flows broken. This guide turns ordinary website backups into a runbook with priorities, validation checks, and a maintenance schedule.
This guide is part of our Website backups: Complete guide to backup and restore series.
What a website disaster recovery plan covers
A website disaster recovery plan says what to restore, in what order, who approves cutover, and how to verify the site is ready for traffic. Backups are the raw material. Disaster recovery is the action plan for bringing the site back after hacking, bad deployments, host failure, or accidental deletion.
Backup, restore, and disaster recovery
Backup captures data. Restore puts that data back. Disaster recovery includes both, plus the sequence for DNS, hosting, certificates, logs, credentials, and checks before relaunch. A backup without a restore runbook is only a copy of data.
When a plan is needed
Any site that sells, publishes, collects leads, or depends on frequent content changes needs a plan. If downtime affects revenue, search visibility, or support operations, document recovery targets and dependency order now, not during an outage.
Which site assets need recovery planning?
A usable plan covers every asset needed to make the site work, not only files and database exports. The list should include media, themes, plugins, configs, certificates, secrets, and the services that connect the site to users and payments. That turns a backup set into a recovery set.
Files, database, media, and configs
At minimum, document the web root, database dump, media library, theme files, plugin files, and configuration files. For common CMS setups, include environment variables, cache settings, and any custom code outside the main theme or application directory.
Credentials, secrets, and access
Recovery fails if no one can reach the registrar, DNS, host, CDN, email admin, or database console. Keep admin logins, API keys, SSH keys, database credentials, and SSL certificate data in a secure place separate from production. Access must be available during recovery, but not exposed in the live site.
Release logs and recent changes
A change log helps identify the last known good state. Record plugin updates, theme edits, code deployments, DNS changes, payment changes, and content releases. If an outage follows a release, the log becomes the first rollback clue.
How do RTO and RPO shape the plan?
RTO and RPO decide how fast you must restore and how much data loss is acceptable. RTO is the maximum acceptable downtime. RPO is the maximum acceptable data loss measured in time. Set both per site or critical system, then use them to choose backup cadence and restore priority.
Setting recovery time objective
RTO answers, “How quickly must the site be usable again?” A brochure site may tolerate a longer window than an ecommerce checkout or a lead form tied to daily sales. The shorter the RTO, the more the plan should focus on fast failover, clear ownership, and a tested restore sequence.
Setting recovery point objective
RPO answers, “How much recent work can be lost?” A site with hourly product changes or daily order data needs a tighter RPO than a static marketing site. RPO should reflect transaction volume and content update rate, because those two factors define how often backups must run.
Matching backup cadence to risk
If the RPO is about 15 minutes, a nightly backup is not enough. If the site can accept 24 hours of loss, daily backups may be fine. The cadence should match the most recent data you can afford to rebuild manually.
Suppose an ecommerce site processes 80 orders a day and changes product stock during business hours. A 24-hour RPO could lose an entire day of orders and inventory updates. A 15-minute or hourly database backup schedule is a more realistic fit.
Website recovery worksheet
The worksheet below maps each asset to its backup source, recovery target, order, dependencies, owner, and validation check. Use it as the working sheet for the runbook, then keep it with the plan so the team can restore under pressure.
| Asset | Backup source | RTO | RPO | Restore order | Dependencies | Owner | Validation check |
|---|---|---|---|---|---|---|---|
| Small business site: WordPress files, database, theme, plugins, and uploads | Nightly file snapshot; hourly database dump; offsite copy in object storage | 4 hours | 1 hour | 1 | Hosting account, DNS, SSL certificate, SMTP service | Site admin | Homepage loads, contact form submits, admin login works |
| Ecommerce site: application code, product images, database, payment config, order queue, and API secrets | 15-minute database backups; twice-daily file backup; offsite immutable copy | 1 hour | 15 minutes | 1 | Registrar, DNS, CDN, payment gateway, tax service, email service | Operations lead | Catalog loads, cart works, checkout creates test order, webhook retries |
Where should website backups and access details live?
Use the 3-2-1 backup rule: three copies of data, two different storage media, and one copy offsite. That structure matters when the host fails, the main account is locked, or ransomware touches the primary environment. The plan should also say where passwords and keys are stored and how they are retrieved during an incident.
3-2-1 backup rule
Keep one working copy, one local backup copy, and one offsite copy. Offsite storage protects against host outage, site-wide deletion, and encryption attacks that reach the production server and attached volumes. A local backup alone may fail in the same event that takes production down.
Offsite copy options
Offsite can mean cloud object storage, a second provider, or another account under separate access control. The key point is separation from the production host and from the credentials used to manage the live site. Separate billing and access reduce the chance that one breach takes out every copy.
Password and secret storage
Store access details in a password manager or secure vault with a documented break-glass process. Keep the recovery steps inside the plan so the team knows how to retrieve keys for the registrar, DNS provider, CDN, host, and database without searching through chat history during an outage.
How do you restore a site in the right order?
Restore order matters because some systems depend on others. DNS should not point to a server that is not ready. Email and payment services should not be reconnected until the app, credentials, and webhooks are valid. A runbook should name the sequence, the approver, and the rollback point.
Dependency order for DNS and hosting
Start with access to the registrar and hosting account. Restore the application, database, media, and configs before changing DNS. Then verify SSL, CDN, and email-related services that affect launch. If a CDN or caching layer sits in front of the site, clear or rewarm it only after the origin is healthy.
- Confirm incident scope. Decide whether the problem is hacking, bad deploy, host failure, or deletion. That choice changes the restore path and whether rollback is faster than full restore.
- Secure access first. Retrieve registrar, DNS, host, CDN, and database credentials from the recovery vault. Change exposed passwords if compromise is suspected before reconnecting the site.
- Restore core data. Rebuild files, database, media, configs, and secrets in the target environment. Restore the most recent clean version that still meets the RPO.
- Verify dependencies. Check SSL, cron jobs, payment settings, SMTP, cache, and API endpoints. A restored homepage means little if forms or checkout still fail.
- Approve DNS cutover. Update records only after the app passes validation. Keep the rollback point available until the new environment is stable.
Rollback and approval roles
Assign one person to restore, one to approve cutover, and one to communicate status. That separation reduces rushed changes. The approver should be able to compare the current state with the change log and decide whether a rollback is safer than a forward fix.
Communication during outage
The communication plan should list internal escalation contacts and customer-facing update owners. Tell stakeholders what failed, what is being restored, and when the next update will arrive. Clear timing reduces confusion and duplicate work.
A common first-timer mistake is restoring the database before checking DNS ownership and registrar access. If the domain is still controlled by a compromised account, the site can come back and then be pointed somewhere else minutes later.
How do you validate a restored site before relaunch?
Validation proves the restore is complete and safe to publish. Check content, database behavior, forms, logins, checkout, indexing settings, and security controls before traffic returns. A restore is not finished until the site behaves correctly in the same places users and crawlers will touch.
Content and database checks
Open the homepage, a few content pages, and the admin area. Confirm post counts, media links, categories, and recent records match the backup point. Look for broken images, missing menus, and stale cache that can hide a partial restore.
Login, forms, and checkout checks
Test admin login, contact forms, password reset, and any checkout or booking flow. Use a non-production transaction or sandbox mode when possible. If a webhook, tax calculator, or payment callback fails, keep the site in maintenance mode until that issue is fixed.
Search indexing and security checks
Confirm no accidental noindex tags, robots rules, or maintenance banners remain live. Review file permissions, active plugins, admin users, and recent logins. A restored site should be functional and safe before it is made public again.
What should change after a site update or incident?
Update the plan whenever the site changes in a way that affects recovery. New plugins, new hosts, new payment tools, new DNS providers, or a major design release can all change restore order and credential needs. After any incident, revise the runbook using the change log and the results of the restore test.
Update the backup inventory
Keep a current inventory of backup locations, versions, retention periods, and owners. Include files, database, media, configs, and secrets. If a backup set is removed or moved, update the inventory the same day.
Revise the runbook
Change the restore steps when the architecture changes. Add new dependencies, remove old ones, and refresh contact names. A runbook that matches the live stack is easier to execute under stress.
Retest after major changes
Run a partial restore after routine updates and a fuller restore after migrations, platform swaps, or plugin overhauls. Scheduled restore testing should prove both integrity and completeness, not only that backup jobs are running.
Frequently asked questions
How do I turn my website backups into a disaster recovery plan?
Turn backups into a plan by adding recovery targets, restore order, owners, and validation checks. Backups tell you what data exists. The plan tells you how to bring the site back in the right sequence and confirm that DNS, database, access, and user flows all work.
What should be included in a website disaster recovery plan?
Include backup inventory, RTO, RPO, restore steps, dependency order, access credentials, owner roles, rollback approval, communication contacts, and validation checks. The plan should also name where offsite copies live and how to retrieve secrets if the primary host is unavailable.
How often should I test my website restore process?
Test on a schedule that matches site risk, then retest after major changes. Many teams use monthly partial restores and quarterly full restores, but the right cadence depends on release frequency, transaction volume, and the cost of downtime. Any migration or redesign should trigger another test.
What is the difference between backup and disaster recovery?
Backup is the stored copy of data. Disaster recovery is the procedure for restoring the site, validating it, and returning it to service after an outage. Recovery includes roles, dependencies, communication, and approval, while backup only answers where the data lives.
How quickly should a website be restored after a failure?
The target depends on the site’s RTO. A brochure site may tolerate several hours, while ecommerce or lead capture often needs a much shorter window. Set the RTO per site or critical system, then organize backup frequency and runbook detail to match that target.
How do I know if my backups are actually restorable?
Run restore tests. A backup is only proven when files, database records, media, and access details come back in a clean environment and the site passes validation. Check that forms submit, logins work, and key pages load without missing assets or broken dependencies.