How to Back Up Your Data

A good backup turns a lost laptop or a ransomware attack from a disaster into an inconvenience. Here is the simple 3-2-1 rule and exactly how to set up automatic backups on every device.

Almost everyone loses important files at some point — a dropped laptop, a stolen phone, an accidental delete, or a ransomware attack that locks every document on the machine. The difference between a minor annoyance and a genuine disaster is whether you had a backup. A good backup runs quietly in the background and means a failed drive costs you an afternoon, not your family photos, tax records and years of work. This guide explains the simple rule the professionals use and shows you exactly how to set up automatic backups on Windows, Mac, iPhone and Android.

Key takeaways

  • The biggest threats are drive failure, theft, accidental deletion and ransomware — a single backup defeats all four.
  • Follow the 3-2-1 rule: keep 3 copies of your data on 2 different media, with 1 copy stored offsite.
  • Use the built-in tools: File History or OneDrive on Windows, Time Machine on a Mac, iCloud or Google on your phone.
  • An untested backup is just a hope — restore a file occasionally to prove it actually works.
13 copiesThe original + two ofbackups every file22 media typese.g. internal driveplus an external SSD31 offsiteOne copy in the cloudor another building
The 3-2-1 rule in one picture: three copies, on two kinds of media, with one copy kept offsite.

Why backups matter (and what really goes wrong)

Every storage device has a finite lifespan. Mechanical hard drives fail mechanically; solid-state drives wear out their memory cells. Either can die without warning, and when they do, the data is often unrecoverable without an expensive specialist — if it can be recovered at all. But hardware failure is only one of four common ways people lose files.

Accidental deletion is just as frequent: you empty the Recycle Bin, reformat the wrong drive, or a syncing app deletes a folder on every device at once. Theft and loss take the device and everything on it — a laptop left on a train, a phone snatched in a café. And ransomware — malware that encrypts your files and demands payment — is now a leading cause of catastrophic data loss for individuals and small businesses alike. The U.S. cybersecurity agency CISA stresses that maintaining offline, regularly tested backups is the single most effective defence, because a clean backup lets you restore your files without ever paying a criminal.

RiskHardware/drive failure38%Accidental deletion28%Ransomware/malware18%Theft, loss or damage16%
The four horsemen of data loss. One good backup strategy protects you from all of them at once.

Sync is not backup. Dropbox, OneDrive and Google Drive are wonderful, but if you delete or a virus encrypts a file, that change syncs everywhere within seconds. True backup keeps versioned copies you can roll back to — which all three services also offer, but you have to know it’s there. We cover version history later.

The 3-2-1 backup rule

The 3-2-1 rule is the backup industry’s rule of thumb, recommended by CISA and security professionals worldwide. It is deliberately simple so that anyone can remember and apply it:

  • 3 copies of your data. The original you work on, plus two backups. If any one copy fails, you still have two.
  • 2 different media types. Don’t keep both backups on the same kind of device in the same place — for example, the original on your laptop’s internal drive and a backup on an external SSD. That way a single fault (a power surge, a controller failure) can’t take out everything at once.
  • 1 copy offsite. At least one backup should live somewhere else entirely — in the cloud, or on a drive you keep at work or a relative’s house. This is what saves you from fire, flood, theft or ransomware that reaches every device in your home.

A typical home setup that satisfies 3-2-1 with almost no effort: your files live on your computer (copy 1), Time Machine or File History copies them to an external drive (copy 2, different media), and a cloud service such as OneDrive, iCloud or a dedicated backup service keeps the offsite copy (copy 3). Set it up once and it runs forever.

Going further, some professionals now use 3-2-1-1-0: the extra “1” is an offline or immutable copy that ransomware can’t reach, and the “0” means zero errors after you verify the backup. For most households, plain 3-2-1 is plenty — just don’t skip the offsite copy.

Cloud vs local vs external drive

The three places to keep a backup each have a clear role — and the best strategy uses more than one. Here is how they compare.

Cloud backupLocal / external driveVSAutomatic, offsite by designOne-time hardware costSurvives fire, flood & theftVery fast full restoresAccess from any deviceWorks with no internetOngoing subscription costYou must remember to do itFirst backup can be slowSame building = same fire riskNeeds a decent internet linkDrive can fail or be stolen too
Cloud and local backups are complements, not rivals — the cloud covers offsite, the drive covers speed.

An external drive (a USB hard drive or, better, an external SSD) is the fastest way to back up and restore large amounts of data, and it’s a one-time purchase. Its weakness is that it normally sits next to the computer, so a single fire, flood or burglary can claim both. Cloud backup solves the offsite problem automatically and lets you reach your files from anywhere, at the cost of a subscription and a slow first upload. Local sync folders — OneDrive, iCloud Drive, Google Drive — blur the line: they keep an offsite copy and a local one, but remember they sync deletions, so lean on their version-history features for true protection. Our explainer on what cloud storage is compares the major services in detail.

How to back up Windows (File History & OneDrive)

Windows gives you two complementary tools, and the strongest setup uses both: File History for a local, versioned copy on an external drive, and OneDrive for the offsite cloud copy.

Set up File History to an external drive

Plug in an external drive, then open Settings → System → Storage → Advanced storage settings → Backup options (on Windows 10 it’s Update & Security → Backup). Turn on Back up using File History and choose your drive. File History then automatically saves copies of files in your Documents, Pictures, Desktop and other libraries, and keeps older versions so you can roll a file back in time.

Turn on OneDrive folder backup for the offsite copy

Open the OneDrive app, go to Settings → Sync and back up → Manage backup, and switch on backup for your Desktop, Documents and Pictures folders. Those folders are now mirrored to the cloud, giving you the offsite leg of 3-2-1. OneDrive also keeps file version history and has a built-in Ransomware detection and recovery feature.

Consider a full system image for fast disaster recovery

File History backs up your files, not your installed programs or Windows itself. For a complete machine you can restore after a drive failure, create a system image (Control Panel → Backup and Restore (Windows 7)) onto a large external drive, or use reputable third-party imaging software. Keep it with your other backups.

Don’t rely on OneDrive’s free 5 GB tier for a full backup — it fills almost instantly with photos. Either pay for more space, or pair a smaller cloud plan with a roomy external drive so the bulky media lives locally and only your most important documents go to the cloud.

How to back up a Mac (Time Machine)

The Mac has one of the best backup tools ever made built right in: Time Machine. Once configured, it works completely automatically, keeping hourly backups for the past day, daily backups for the past month, and weekly backups for everything older — until the disk fills, at which point it deletes the oldest.

Connect an external drive

Plug in an external drive (an external SSD is ideal) with at least as much capacity as the data you want to protect — roughly twice your Mac’s used space gives Time Machine room for a long history.

Turn on Time Machine

Open System Settings → General → Time Machine (on older macOS, System Preferences → Time Machine), click Add Backup Disk, choose your drive and confirm. You can tick Encrypt Backups so the backup is protected if the drive is lost or stolen.

Let it run — and add an offsite copy

The first backup copies everything and can take a while; after that, Time Machine quietly backs up changes in the background. Because the drive sits next to your Mac, add an offsite copy too — iCloud for your documents and photos, or a dedicated cloud-backup service — to complete 3-2-1.

To restore, open Time Machine and browse back through time to recover individual files, or restore an entire Mac from the backup using macOS Recovery — handy when you replace a drive or move to a new machine.

How to back up your phone (iCloud & Google)

Phones hold our most irreplaceable data — photos, messages and contacts — yet they’re the most likely device to be dropped, soaked or stolen. Both platforms make automatic backup easy.

  • iPhone (iCloud): open Settings → [your name] → iCloud → iCloud Backup and turn on Back Up This iPhone. While connected to Wi-Fi and charging, your iPhone backs up app data, settings and your Home Screen layout automatically. Enable iCloud Photos separately so your camera roll is protected too. The free tier is only 5 GB, so most people need a paid iCloud+ plan.
  • Android (Google): open Settings → Google → Backup (wording varies by maker) and turn on Backup by Google One. This saves app data, call history, contacts and settings to your Google Account. Turn on Google Photos backup for your pictures and video. Backups count against your Google Account storage, so you may need a Google One plan.

A phone backup is also what makes upgrading painless. When you get a new handset, restoring from iCloud or Google brings your apps, settings and data across in one step — see our guide on how to transfer data to a new phone.

Test your backups before you need them

The cruellest moment in computing is discovering, on the day you need it, that your “backup” never actually ran — the drive was unplugged for months, the cloud quota filled silently, or the job had been failing all along. A backup you have never tested is only a hope.

Once a month, prove it works. Open your backup and restore a single file — a document or a photo — to a new location and confirm it opens correctly. Check that the last backup date is recent, not weeks old. If you keep an external drive, make sure it’s actually connected and that the backup status says “up to date”. Five minutes of testing now is worth more than any amount of hoping later. And if you ever do lose a file without a backup, our guide on how to recover deleted files covers your remaining options.

Frequently asked questions

What is the 3-2-1 backup rule?

Keep 3 copies of your data, on 2 different types of media, with 1 copy stored offsite. For example: the originals on your computer, a backup on an external drive, and a third copy in the cloud. It is the standard recommended by CISA and backup professionals because a single failure — a dead drive, a fire, or ransomware — can never wipe out all three copies at once.

Is cloud sync like OneDrive or Google Drive the same as a backup?

Not on its own. Sync services instantly copy every change — including deletions and ransomware encryption — to all your devices, so a mistake can propagate everywhere. They do help, because they keep an offsite copy and offer version history you can roll back to. But a true backup also keeps independent, versioned copies (like File History or Time Machine) that a bad change can’t reach.

How often should I back up my data?

Automatically and continuously is best. Time Machine on a Mac backs up hourly; Windows File History can run as often as every few minutes; phone backups run nightly while charging on Wi-Fi. The goal is that you never lose more than a few hours of work, so set it to run automatically and forget about it.

Do I need an external drive if I already back up to the cloud?

It’s strongly recommended. A local external drive restores far faster than re-downloading everything from the cloud, works with no internet, and gives you the “2 different media” part of 3-2-1. Cloud and external backups complement each other: the drive is for speed, the cloud is for the offsite copy that survives fire and theft.

How do I back up my iPhone or Android phone?

On iPhone, go to Settings → [your name] → iCloud → iCloud Backup and turn it on, plus enable iCloud Photos. On Android, go to Settings → Google → Backup and turn on Backup by Google One, plus Google Photos. Both then back up automatically over Wi-Fi while charging. You may need a paid storage plan, as the free tiers are small.

How do I know my backup actually works?

Test it. Once a month, open your backup and restore a single file to a new location to confirm it opens correctly, and check that the last backup date is recent. Make sure any external drive is connected and the status reads “up to date.” An untested backup that has been silently failing is the most common reason people lose data despite “having a backup.”

Sources & further reading

This guide is independently produced. We reference primary documentation from device makers and security authorities. Tudug is reader-supported and may earn from ads.

Guides

Transfer Data to a New Phone

Move everything to a new handset cleanly — a backup makes it one step.

Read more →
Guides

How to Recover Deleted Files

Lost a file with no backup? Your real options, ranked by likelihood of success.

Read more →
Explainer

What Is Cloud Storage?

How the cloud works and which service fits your backup needs.

Read more →