All posts

Blog

How to Write a Disaster Recovery Plan for a Small Website

Illustrated cover for the Security & SSL guide "How to Write a Disaster Recovery Plan for a Small Website"

Websites fail in boring ways far more often than dramatic ones. A plugin update breaks the checkout. Someone deletes the wrong folder. A domain renewal fails because the card expired. A hacked admin account fills your pages with spam. Occasionally, a server or data center has a real outage.

A disaster recovery plan is a short document that tells you, or whoever is on duty, exactly what to do when one of those things happens. You don't need an enterprise budget or a dedicated IT team. For most small websites, a few pages of clear notes and a tested backup routine are enough.

What a disaster recovery plan covers

Think of the plan as answers to four questions:

  1. What could go wrong? The risks that realistically apply to your site.
  2. How much can we afford to lose? Your recovery goals for downtime and data.
  3. What do we need to recover? Backups, credentials and contacts.
  4. What are the exact steps? Written procedures anyone on your team can follow.

Let's build each section.

Step 1: List the realistic risks

Start with a simple brainstorm. For a typical small business or blog, the list looks something like this:

  • Bad update (theme, plugin, CMS core or PHP version) breaks the site
  • Accidental deletion of files, pages, products or the database
  • Malware or a compromised admin account
  • Domain expires or DNS records get changed by mistake
  • SSL certificate fails to renew
  • Hosting account suspended (billing problem, resource limits, abuse complaint)
  • Server hardware failure or provider outage
  • Loss of access because the only person with the passwords is unavailable

Next to each, note how likely it feels and how bad it would be. You are not aiming for precision. You just want to know where to focus first.

Step 2: Set your recovery goals

Two terms from the IT world are useful here, even for tiny sites:

  • Recovery Time Objective (RTO): how long the site can be down before it really hurts. For a brochure site, a day might be acceptable. For an online store during the holidays, an hour might feel too long.
  • Recovery Point Objective (RPO): how much recent data you can afford to lose. If you post a blog article once a week, a weekly backup could be fine. If you take orders every few minutes, you may need daily or even more frequent database backups.

Write down a number for each. Those numbers decide how often you back up and how much effort goes into fast recovery.

Step 3: Get your backups right

Backups are the heart of any website disaster recovery plan. A few principles:

  • Back up both files and databases. Most dynamic sites need both to be restored.
  • Keep copies off the server. A backup stored only on the same hosting account disappears if that account does. The 3-2-1 backup rule is a good baseline: three copies, two types of storage, one offsite.
  • Match frequency to your RPO. Daily is a sensible default for active sites.
  • Keep several versions. If malware went unnoticed for two weeks, last night's backup is infected too. Retain at least a few weeks of history.
  • Include email if it lives on your hosting account, or confirm your email provider keeps its own backups.

If you use cPanel or DirectAdmin, our guide to backing up and restoring a site in your control panel shows the clicks.

Step 4: Build your recovery kit

During an outage, nobody wants to hunt for a password. Gather everything in one secure place, such as a shared password manager vault, plus a printed or offline copy of the essentials:

  • Logins for the registrar, DNS, hosting client area, control panel, CMS, database and email
  • Two-factor recovery codes, stored securely
  • The location of each backup and how to access it
  • Support contact details for your host, registrar and any developer you work with
  • Account numbers or customer IDs you may need to quote to support
  • A copy of current DNS records

Make sure at least two people can reach this kit. A plan that depends on one person's phone is not much of a plan.

Step 5: Write the runbooks

A runbook is a step-by-step procedure for one scenario. Keep each one short and specific. Here are three examples to adapt.

Runbook: the site is down

  1. Confirm the outage from a different network or device, and with an outside checker.
  2. Check whether the domain and SSL certificate are still valid.
  3. Log in to the hosting client area and look for service status notices or suspension messages.
  4. If the server is up but the site shows errors, check recent changes: updates, new plugins, edited files.
  5. Roll back the last change, or restore the most recent good backup.
  6. Contact your host's support with the time it started, the error message and what you have tried.

Runbook: the site was hacked

  1. Change passwords for the CMS, hosting, database and email, and sign out all sessions.
  2. Put up a maintenance page if visitors are being redirected or shown malicious content.
  3. Scan for malware and identify when the compromise started (see our guide to scanning your website for malware).
  4. Restore from a clean backup taken before that date, then update everything.
  5. Find and close the entry point: an outdated plugin, a weak password, a leaked key.
  6. Check search engine webmaster tools for security warnings and request a review once clean.

Runbook: the domain stopped working

  1. Run a WHOIS lookup to check the expiry date and status.
  2. Log in to the registrar and renew if needed, then confirm nameservers are correct.
  3. Compare current DNS records with your saved copy and restore any that changed.
  4. Allow time for DNS changes to spread, and keep checking from different networks.

Step 6: Decide who does what

Even on a two-person team, write down roles:

  • Who declares an incident and starts the plan
  • Who does the technical recovery (you, a staff member or an outside developer)
  • Who talks to customers through social media, email or a status note

Add a short template for a customer message. Something calm and honest, such as letting people know the site is temporarily unavailable, that you are working on it, and how to reach you in the meantime.

Step 7: Test it

A backup you have never restored is a guess. At least once or twice a year:

  • Restore a recent backup to a staging site or a spare account and check that it works
  • Walk through one runbook with whoever would follow it
  • Confirm every login in the recovery kit still works
  • Update anything that changed: new plugins, new staff, new providers

Testing also tells you how long a real recovery takes, which shows whether your RTO is realistic.

Step 8: Prevent the common disasters

A good plan also reduces the chance of needing it:

  • Turn on auto-renew for domains and keep payment details current
  • Use strong unique passwords and two-factor authentication
  • Test major updates on a staging site first
  • Set up uptime monitoring so you hear about problems quickly
  • Remove unused plugins, themes and user accounts

A simple template

If you want a starting point, your document can be as simple as:

  1. Site overview: URL, platform, host, registrar, key contacts
  2. Recovery goals: RTO and RPO
  3. Backup schedule and locations
  4. Recovery kit location and who has access
  5. Runbooks for your top risks
  6. Roles and customer message template
  7. Testing log with dates and results

Wrapping up

A disaster recovery plan for a small website doesn't have to be long or formal. Know your risks, decide how much downtime and data loss you can accept, keep offsite backups, gather your logins in one secure place, and write down the steps. Then test it. When something does go wrong, you will be following a checklist instead of panicking.