How to Back Up Your Files: 3-2-1, Sync and Testing a Restore
A backup is the one security measure that helps with almost everything: a dead hard drive, a phone dropped in the sea, a file deleted by mistake, a stolen laptop, ransomware. It is also the one most people discover they do not really have on the day they need it. This guide sets out a simple plan, explains the difference between syncing and backing up, and ends with the step that matters most: proving you can get your files back.
Decide what matters
Start with a list, not a product. What would you grieve to lose? For most households it is photos and videos, documents (tax records, letters, scans of important papers), and anything you have made yourself. Programs and apps do not need backing up: you can download them again. Passwords live in your password manager, which keeps its own copy; your printed recovery codes stay on paper at home.
The 3-2-1 rule of thumb
A widely used rule of thumb for backups is 3-2-1:
- Three copies of what matters: the original plus two backups.
- Two kinds of storage, for example the computer's own drive and an external drive, or an external drive and a cloud service.
- One copy away from home or in the cloud, so a fire, flood or burglary does not take every copy at once.
Add one more rule: keep one copy disconnected between backups. Ransomware and other malware can reach any drive or folder the infected computer can reach. A drive that is unplugged and on a shelf cannot be touched. The FBI's ransomware guidance and the UK's National Cyber Security Centre both advise keeping a backup offline for exactly this reason. See ransomware protection basics.
It is a rule of thumb, not a standard. Two copies are much better than one; the rule just tells you where to aim.
Sync is not backup
Many people think their files are backed up because they are "in the cloud". Often they are synced, which is different:
| Sync (a shared folder, photo sync) | Backup | |
|---|---|---|
| Purpose | The same files on every device | A separate copy you can go back to |
| You delete a file | It disappears everywhere | The backup still has it |
| Ransomware scrambles your files | The scrambled versions are copied everywhere | An earlier, clean copy survives, if the backup was out of reach |
| You need last month's version | Only if the service keeps old versions, and only for as long as it keeps them | Yes, if the backup keeps versions |
Sync is still useful, and many cloud services keep deleted files and older versions for a while. Check in the service's own settings or help pages how long that is. But treat sync as one copy, not as your backup.
A plan that works for most households
- An external drive with the computer's built-in backup. Windows and macOS each include backup tools (on a Mac, Time Machine). Set one up to back up your documents and photos to an external drive, then unplug the drive and put it away. Plug it in on a fixed day each week or month, let the backup finish, and unplug it again.
- A cloud copy. A cloud backup or storage account gives you the copy away from home. Protect that account with a unique, generated password and two-factor sign-in (see two-factor authentication explained): a backup account is a master key to your files.
- Phones. Turn on the phone's own backup to its maker's cloud account, which also makes moving to a new phone painless. Photo syncing is not the same as a backup: copy your photos to the computer or the external drive every so often too.
- Versions. Choose settings that keep several older versions rather than only the latest, so a file damaged last week can be fetched from the week before.
Encrypt backups, and keep the key
A backup holds everything that matters, so it deserves the same protection as the original. The built-in backup tools can usually encrypt an external drive's backup; turn that on. Then write the backup password or recovery key down and keep it somewhere safe at home, apart from the drive, or in your password manager. Without it, an encrypted backup cannot be opened by anyone, including you. Encryption explained covers device and backup encryption in more detail.
Test a restore
A backup you have never restored from is a hope. Every few months:
- Pick one folder: some photos, or last year's documents.
- Restore it from the backup to a new place (a new folder on the desktop, not over the original).
- Open a few of the files. Do the photos show? Do the documents open?
- Note the date, then delete the test copy.
Do this once for the external drive and once for the cloud copy. If anything fails, you found out on a quiet afternoon, not after a disaster.
Check a copy against the original with a hash
For important single files (a scan of a will, a family video), you can confirm that a backup copy is bit-for-bit identical to the original with a checksum. Our File Hash Generator computes a SHA-256 "fingerprint" of a file in your browser, without uploading it. Hash the original, then the copy, and paste one result into the compare box: a match means the two files are identical.
The fingerprint changes completely if a single character changes. Typed as text into the tool, these two lines differ by one letter:
- "Family photos backup, drive 2, March" gives
1d78115c668f7297b2f6a6bfced7b2cba5c762bac0645b2053429c3247f79997 - "Family photos backup, drive 2, Match" gives
c8c83917a5d979a22a85101a86823bf0ff7bec6db69029d470e66b6d62cc953b
So a matching hash is strong evidence the copy is undamaged. It says nothing about whether the file was safe or clean in the first place, only that the copy equals the original. How to check a file hash explains the tool in full.
Common mistakes
- Leaving the backup drive plugged in all the time, where ransomware or a power surge can reach it.
- Relying only on sync, and finding that a deletion or damage was copied everywhere.
- Backing up to a second folder on the same drive. When the drive dies, both copies go.
- Encrypting a backup and losing the password.
- Never testing a restore.
- Forgetting the phone, where most family photos now live.
For a small office, backups and a tested restore are part of the basics; see small office security basics.