Where backup copies should be stored
A backup that lives only on the same server as your site isn't much of a safety net. CISA defines a backup as a copy "stored separately from your primary systems."1 If the server fails, the site and its copy can go together.
That's the idea behind every storage rule below.
The 3-2-1 rule
CISA calls the 3-2-1 rule a trusted guideline.1 It says:
- 3 copies of important files1
- 2 different types of storage media, like a hard drive and the cloud1
- 1 copy stored off-site, away from your business location1
The NCSC describes it the same way: at least three copies, on two devices, and one offsite.2 "Off-site" simply means somewhere other than where the original lives.
What it looks like for a website
The WordPress handbook gives a plain example. It suggests copies in different locations: one on your hosting server, one on cloud storage, and one downloaded to your own computer.3
Here's how the three places compare.
| Place | What it protects against | What it doesn't |
|---|---|---|
| Hosting server | A bad update or a deleted file, with quick access | A server failure or a break-in that reaches the whole account |
| Cloud storage | The host failing, since it's separate from the host | Someone who gets your cloud login |
| Your own computer | Both of the above | Your computer being lost, damaged or infected |
The right column is general reasoning, not a quote from a source. Your own setup may differ.
Connected copies can be lost too
The NCSC has seen ransomware encrypt the original data and also the connected USB and network drives holding backups.2 A backup plugged in or mounted all the time is exposed to the same attack as the site.
Its answer is an offline copy, which stays disconnected unless needed. With at least one backup offline at any given time, an incident can't affect all your backups at once.2
For a small site, that can mean a download kept on a drive you only plug in to save a new copy. The NCSC also describes how to treat cloud storage as "offline", through account protection and access controls.2 Read its post if you use cloud storage that way.
Keep copies private
A backup holds your whole site. That can include database records with people's details. CISA lists protections for backups: physical security, encryption and offline copies.1 Use your host's or cloud service's own documented steps, and keep the login details to yourself.
A simple way to choose
These are general suggestions, not from the sources above.
- Just starting out: download a copy to your own computer and also keep one in cloud storage.
- A club or small business site: add a rule for who holds the cloud login, and write it down.
- A site that changes often: let a tool send copies to storage automatically, as long as the storage account stays protected.
How many copies to hold, and for how long, depends on your own needs. The WordPress handbook says to keep at least three to five recent backups.3 How often to back up helps you set the rhythm.
The WordPress handbook's example counts a copy on your hosting server as one of the places, though not necessarily one you control. The page on what a host keeps for you looks at that.
Sources used
- Back Up Business Data, CISA (US Cybersecurity and Infrastructure Security Agency)
- Offline backups in an online world, National Cyber Security Centre (UK)
- Backups – Advanced Administration Handbook, WordPress Developer Resources