The 3-2-1 Backup Rule: A Simple Plan to Protect Your Files
The 3-2-1 rule is a simple plan for backups: three copies of anything important, on two kinds of storage, with one copy kept somewhere else. It protects against the common ways files are lost, from a dead drive to theft, fire and ransomware.
What the rule says
A guide written for US-CERT, the federal computer emergency team now part of the Cybersecurity and Infrastructure Security Agency (CISA), warns that saving a single backup file may not be enough. It recommends the 3-2-1 rule:
- 3. Keep three copies of any important file: one primary and two backups.
- 2. Keep the files on two different media types, to protect against different types of hazards.
- 1. Store one copy offsite, meaning outside your home or business.
Each number answers a different risk. A second copy covers a failed drive or an accidental deletion. A different kind of storage covers a weakness that affects one technology. An offsite copy covers events that destroy everything in one place, such as fire, flood or burglary.
Why one backup is not enough
The same guide describes a trap that catches many people. Keeping the backup on the same internal drive as the original is quick and needs no extra hardware, but if that drive is damaged, stolen or corrupted, both copies go together.
It also warns about rolling backups, which update the backup automatically with the newest version of each file. They are convenient, but they can quietly copy corruption or malware from the original into the backup. If a file was damaged last week and the backup has been overwritten every night since, the backup is damaged too.
Ransomware raises the stakes. The National Institute of Standards and Technology (NIST) describes it as an attack in which criminals encrypt a victim's data and demand payment to restore access. NIST notes that paying can be very expensive and comes with no guarantee that the data will be recovered. A backup the malware could not reach is what lets a person or a business restore files without relying on the attacker's word.
The storage options
The US-CERT guide compares the main choices for home users and small offices.
Cloud storage
A cloud backup service keeps copies on a provider's servers, reached over the internet. This is the simplest way to get an offsite copy. It protects against disasters at home and failures of local devices, and the files can be reached from anywhere with a connection. The trade-offs are dependence on the internet, less direct control over the data and reliance on the provider's security. The guide advises reading the service agreement for security practices and looking for a provider that encrypts stored data and transfers it over a secure connection.
External hard drives
An external drive is the same technology as the drive inside many computers, in a portable case. Hard drives tend to cost less per gigabyte than solid-state storage. They are prone to physical damage, so a drop can end one.
Solid-state storage
USB flash drives, memory cards and solid-state drives have no moving parts, which makes them small and resistant to shock. The guide notes that they cost more per gigabyte than hard drives and that writing data to them eventually wears them out, though modern controllers extend their life.
Removable media in general
Anything you can unplug has one clear benefit: once it is disconnected, online attackers and power surges cannot touch it. The weakness is that portable things get lost or stolen. The guide recommends protecting removable media with a password, encrypting the data where possible and removing the device from the computer when the backup is complete.
A setup that fits most households
The rule does not require special equipment. One common arrangement looks like this:
- Primary copy. The files on your computer or phone.
- Local backup. An external drive that receives a scheduled backup using the tool built into the operating system or a backup application. Unplug it when the backup is done.
- Offsite backup. A cloud backup or sync service that uploads files automatically.
That gives three copies, on two kinds of storage, with one outside the house. People who prefer not to use a cloud service can keep a second external drive at a relative's home or at work and swap it on a regular schedule.
Phones belong in the plan as well. Photos are often the files people most regret losing, and many exist only on the phone that took them. Check that the phone's backup setting is on and that it has finished recently.
Protect and test the backups
A backup holds everything worth stealing in one place. CISA's home network guidance says to encrypt backups to protect the confidentiality and integrity of the information. Most backup tools offer encryption as a setting. Keep the password or recovery key somewhere safe, because an encrypted backup without its key is unreadable to you too.
Finally, try a restore. Pick a few files, recover them from each backup and open them. A backup that has never been tested is only a hope. Repeat the check from time to time, and whenever you change computers, drives or services.