Backups: the 3-2-1 rule
Keep at least three copies of your site, on two different kinds of storage, with one copy off-site (somewhere other than your host). A backup that lives on the same server as the website disappears in the same disaster.
What to back up
- Files: themes, code, uploaded images and documents.
- Database: for CMS sites, this holds your pages, posts, settings and users.
- Configuration: DNS records, redirects, server settings and environment variables. Screenshot or export them; they're painful to recreate from memory.
- Accounts list: where everything is hosted and who can access it. The digital legacy planner works well for this.
How often
Match backup frequency to how much work you can afford to lose. That figure is called your recovery point objective. A blog updated weekly might back up daily and keep 30 days. A shop taking orders every hour needs more frequent database backups. Keep several older copies too: some problems, like a quiet malware infection, go unnoticed for weeks.
Test the restore
A backup you've never restored is a hope, not a plan. Once a quarter, restore a backup to a staging site or a local copy and check that pages, images and forms work. Time how long it takes. That number is your realistic recovery time.
Uptime: hear about it first
Use an external uptime monitor that checks your site every few minutes from outside your host. Point it at a page that exercises your database, not only a static file, and send alerts to your phone. Also monitor certificate and domain expiry dates; expired certificates and lapsed domains cause some of the most avoidable outages. The uptime calculator converts your host's SLA into real minutes so you know what "99.9%" allows.
Incident response: the first hour
If the site is down
- Confirm it's not just you: try another network or device, and check your monitor's report.
- Check the obvious: domain expiry, certificate expiry, hosting account status and your host's status page.
- Undo the last change: if you updated something in the last day, roll it back or restore the most recent backup from before the change.
- Contact your host with the exact error, the time it started and what you've already tried.
- Tell people who depend on the site (customers, a team) what's happening and when you'll update them.
If the site is hacked
- Contain: change passwords for your host, CMS, registrar, email and any connected services, starting from a clean device. Revoke unknown users and API keys.
- Preserve evidence: take a copy of the compromised files and logs before cleaning, in case you need to understand the entry point.
- Restore clean: restore from a backup taken before the compromise, then update everything immediately.
- Close the door: find out how they got in (an outdated plugin, a reused password) and fix it, or the attack will repeat.
- Request review: if search engines or browsers flagged the site, request a review through Search Console after it's clean.
- Notify if required: if personal data may have been exposed, check your legal obligations to inform users or regulators.
Write it down now
Create a one-page runbook while you're calm: where backups live, how to restore, who to call at your host, and the order of the steps above. Store it somewhere you can reach even if your site and email are down.
This guide is general information to help you make your own decisions. It isn't legal, financial or tax advice. Spotted something out of date? Tell us and we'll fix it.