Worried a bad update or hack could wipe your site? A solid website backup follows the 3-2-1 rule: three copies, two storage types, one off-site, tested regularly.
This guide is part of our wider look at website security, where backups are one layer of protection.
| Item | Value |
|---|---|
| Copies of your data | 3 copies |
| Storage types | 2 different types of storage |
| Off-site copy | 1 copy off-site |
| Year the rule’s originator published it | 2005 |
| Restore test frequency | At least quarterly |
| Backup history to keep | 90 days or more |
Figures come from Duplicator’s 3-2-1 guide and the U.S. Chamber of Commerce’s CO- guide. They can change, so check the sources before you rely on them.
What the 3-2-1 rule means for a website backup
The rule says to keep 3 copies of your data, on 2 different types of storage, with 1 copy off-site, according to Duplicator’s explainer. Your live site counts as the first copy, so you only need to create two backups.
Photographer Peter Krogh coined the idea in his 2005 book, per Duplicator. It has lasted because it targets the single point of failure, a weakness Commvault says the rule is meant to remove.
- Three copies: the live site plus two backups, so one failed copy still leaves you a fallback.
- Two storage types: for a site, that can be the web server’s local disk plus a remote cloud account such as Amazon S3, Google Drive or Dropbox, as TeamUpdraft describes.
- One off-site copy: Commvault points out that fires and floods can destroy everything in one location, backups included.
In hosting terms, off-site means a copy that does not sit on your host’s own servers, so a failure at the host cannot take it too. TeamUpdraft uses the same definition.

What a complete website backup contains
Most sites have two halves, and a restorable backup needs both. TeamUpdraft describes WordPress files as your themes, plugins, uploads and core files, and the database as your posts, page text, comments, user accounts and settings.
Files without the database leave you with a design and no content. As the same source puts it, having the database without the files means you have the text but no way to display it. If you run a different platform, check how it stores content before you choose a tool.
How to set up your website backup, step by step
Work through these steps once, then let automation carry the routine.
- Decide what needs protecting. Commvault starts by identifying the data that needs protection and how long each type should be kept.
- Choose a backup tool that runs on a schedule and can send copies to remote storage. The criteria are listed below.
- Keep a second copy somewhere easy to reach, such as a backup downloaded to your own computer, as TeamUpdraft suggests.
- Send the off-site copy to a separate cloud account, not to your host’s servers.
- Encrypt every copy, including the off-site one.
- Switch on the schedule so backups run without you.
- Watch for failed jobs and fix them quickly.
- Write down your recovery procedure so anyone on your team can follow it.
Steps five to eight come straight from Commvault’s implementation advice, which stresses encryption, automation, monitoring and documentation.
When you compare tools, use stated criteria. The U.S. Chamber of Commerce guide advises looking for vendors with object lock or WORM, automatic encryption in transit and at rest, and extended version histories.
This site is independent. It names no host or backup product as its pick, and no affiliate link appears on this page.
Why isn’t your host’s backup enough?
If your hosting account is hacked, the attacker often reaches those backups and deletes them, according to TeamUpdraft. A billing dispute that locks you out can also cut you off from your site and its backups at once.
How long you keep copies matters too. Malware can sit unnoticed for weeks, so the U.S. Chamber guide warns that a 30-day default may fall short and suggests 90 days or more of history.
A backup will not clear a browser warning either. If visitors see one, our guide on how to fix not secure website warning covers that separate issue.
Going beyond 3-2-1: immutable and verified copies
Attackers have adapted. Barracuda’s blog notes that ransomware often begins by trying to find and destroy backup files, which is why variations of the rule have appeared.
The best known, 3-2-1-1-0, adds an immutable copy and zero restore errors, as the U.S. Chamber guide explains. Barracuda defines an immutable backup as one that cannot be altered or deleted.
The zero is the part many site owners skip. Duplicator is blunt: a backup that has never been tested cannot be relied on.
How do you test and restore a website backup?
Schedule a restore drill quarterly at the least, as the U.S. Chamber guide recommends, so you can meet your recovery time and recovery point goals. Commvault adds that tests should cover every backup location and include the time needed to pull remote copies back over the internet.
When you need to restore for real, follow this order:
- Work out when the problem began. If it was a hack, a newer copy may carry the same damage, so pick one from before it.
- If the cause is an infection, read our guide on website malware removal before you restore, so the same problem does not return.
- Restore the files and the database together from the same backup, since a site needs both to work, per TeamUpdraft.
- Click through key pages, logins and forms to confirm everything behaves.
- Add what you learned to your written recovery procedure.
Frequently asked questions
Does a small site really need this backup rule?
Show answer
Yes. TeamUpdraft lists a failed plugin update, a malicious hack and a server hardware fault as everyday ways a site goes down, and a small site faces all of them. Spreading copies across places means no single event wipes out every one.
What is an air-gapped backup?
Show answer
It is a copy with no digital route to reach it, so malware on your network cannot touch it. Barracuda describes it alongside immutable copies as strong protection against sophisticated ransomware.
Why encrypt a backup?
Show answer
Criminals value stolen backups as much as your live data. Commvault says backup data can be as attractive to them as your production environment, so lock every copy.
Can I just download a copy by hand?
Show answer
You can, but people forget, as TeamUpdraft admits with the line “We’re human – we forget things.” A schedule keeps backups regular, which Commvault calls essential.



