Short answer: Keep three copies of your website (the live site plus two backups), on two different types of storage, with at least one copy off the server and in another location. Back up before every change, automate the schedule and test a restore now and then.
Most website owners have one backup, stored next to the thing it is meant to protect. The 3-2-1 rule is a simple, decades-old way to make sure one mistake, hack or failure can never take everything at once.
The rule
- 3 copies: your live site and two backups.
- 2 storage types: for example your hosting backups and a cloud storage service.
- 1 off-site: at least one copy away from your hosting server and provider.
Some teams add a fourth rule: keep one copy that can't be changed or deleted for a set time, which protects against ransomware. See ransomware and websites.
What a website backup includes
- All site files, including uploads and configuration.
- Every database.
- Email, if your mailboxes live on the same hosting.
- DNS records, noted down or exported, so you can rebuild them. Our DNS lookup shows them all.
How often
Match the schedule to how often the site changes. A static site needs weekly backups; a busy shop needs its database backed up several times a day. See WordPress backups.
| Site | Files | Database |
|---|---|---|
| Brochure site | Weekly | Weekly, and before every change |
| Blog | Daily | Daily |
| Online shop or membership | Daily | Several times a day |
Where to keep copies
- Hosting backups: quick to restore. cPanel's tools, and JetBackup where available, are good for this. See cPanel backup and restore.
- Cloud storage: a backup plugin or script that copies to an external service.
- Your own computer for an occasional extra copy of important sites.
How long to keep them
Keep several recent daily copies, a few weekly ones and at least one monthly copy. Hacks and data problems are often noticed days or weeks later, and you need a copy from before the problem began.
Test your restores
Restore to a staging site every few months. Check pages, logins, forms and orders. A backup you've never restored might be incomplete. See staging sites.
Backups vs snapshots
On a VPS, snapshots capture the whole server at a moment in time and are great before risky changes, but they usually live with the same provider. They complement off-site backups rather than replacing them. See backups vs snapshots.
Make it part of a plan
Write down where each copy is, how to restore it and who does it. If your website is critical to your business, a short disaster recovery plan saves hours of panic.
Frequently asked questions
Isn't my host's backup enough?
It's a great first layer, but if your hosting account is compromised or deleted, backups stored with it can go too. Keep one copy elsewhere.
How long should I keep backups?
Keep several recent daily copies and a few monthly ones, so you can go back before a problem started.
Do I need to back up email?
If your mailboxes matter for your business, yes. Include them or use your email client to keep local copies.
Should backups be encrypted?
Yes, especially off-site copies. Backups contain customer data and passwords, so protect them like the live site.



