The 3-2-1 backup rule, implemented

Updated November 2026

Three copies, two media types, one offsite. Here is how to build the offsite copy with restic.

On this page

What is the 3-2-1 rule?

  • 3 copies:Your primary data plus two backups. If you only have one backup and it is corrupt, you have nothing.
  • 2 media types:Your primary on one type of storage, backup on another. If both are hard drives in the same machine, a firmware bug or power surge can take both out.
  • 1 offsite copy:Physically separate from your primary location. This is the copy that survives fire, flooding, theft, and ransomware that spreads through the local network.

Why most setups fail the third rule

Most setups fail on the offsite copy. RAID is not backup, and a second disk or a NAS in the same building is not offsite. Cloud sync (Dropbox, Google Drive) is not backup either: it copies deletions and ransomware encryption to the remote side.

Real offsite backup means immutable snapshots, a physically separate location, and encryption with a key you control. For a ZFS NAS, offsite backup for TrueNAS CORE and SCALE compares ZFS replication, Restic and rsync tasks.

A practical 3-2-1 setup for homelabs and Linux servers

  • Copy 1 (primary):Your running data on your main machine or NAS.
  • Copy 2 (local backup):Restic backup to an external drive, a second NAS, or a Proxmox Backup Server on the same LAN.
  • Copy 3 (offsite):Restic over HTTPS to a private encrypted vault on ServerCrate. Physically in Los Angeles, encrypted with your key, accessible from anywhere.
The offsite copy below works with any restic REST server.
Ours is zero-knowledge and ready in a minute: Starter $3/mo for 250 GB, or $30 a year with yearly billing. 30-day money-back on every paid plan.
Choose Starter, 250 GB

Setting up the offsite copy with restic

Shell
# Set up credentials
sudo tee /etc/restic/env <<EOF
RESTIC_REPOSITORY=rest:https://vaultuser:YOUR_TOKEN@a1b2c3d4.vault.servercrate.net/
RESTIC_PASSWORD=your-strong-password
EOF
sudo chmod 600 /etc/restic/env

source /etc/restic/env
restic init

# First offsite backup
restic backup /home /etc /var/www \
  --tag offsite \
  --exclude="*/cache" \
  --exclude="*/tmp"

# Verify it worked
restic snapshots

Testing your backup: the step everyone skips

A backup you have never restored is a hope, not a backup. Restore a random file at least every 90 days and check it opens, then restore a full directory to a temp location. It takes 15 minutes.

A copy you have never restored is not proven; how to verify restic backups walks through restic check, --read-data-subset and a test restore. The restic restore guide has copy-paste commands, and with no egress fees a test costs nothing.

Shell
# Test restore of a specific file
restic restore latest \
  --target /tmp/restore-test \
  --include /etc/nginx/nginx.conf

cat /tmp/restore-test/etc/nginx/nginx.conf

Modern extensions to 3-2-1

3-2-1-1-0 adds an immutable copy (1) with zero verified errors (0). Restic's restic check handles the zero-errors part. An append-only remote repository handles immutability: old snapshots stay locked against deletion even if an attacker gets your backup credentials.

3-2-1 for different environments

  • Homelab (Proxmox):Copy 1 = running VMs. Copy 2 = Proxmox Backup Server on local NAS. Copy 3 = Restic to ServerCrate for configs, app data, and critical files. See the Proxmox offsite backup guide.
  • Linux VPS:Copy 1 = live server. Copy 2 = provider snapshot (if available). Copy 3 = Restic to ServerCrate. Provider snapshots don't count as offsite; they are still in the same provider infrastructure. See the VPS backup service page.
  • NAS (TrueNAS/Synology):Copy 1 = NAS primary pool. Copy 2 = NAS parity / ZFS mirror. Copy 3 = Restic to ServerCrate over HTTPS. See the NAS offsite backup guide.
  • Docker setup:Copy 1 = running containers with bind mounts. Copy 2 = daily database dumps on local disk. Copy 3 = Restic to ServerCrate including dumps and compose configs. See the Docker backup guide.

Why the fourth rule exists

The original rule predates mainstream ransomware. The fourth rule, one immutable or append-only copy, means ransomware that encrypts your primary and local backup has no path to the offsite copy.

A ServerCrate vault is writable only over its authenticated REST endpoint with your token, never mounted as a network drive or SMB share. An attacker on your primary machine has no way in without that token.

Common misconceptions about 3-2-1

Five traps that break the rule without anyone noticing:

  • "My RAID array counts as two copies." It does not. RAID survives a drive failure, not deletion, corruption, ransomware, a power surge or a stolen NAS. It is one copy on several disks.
  • "My cloud sync service is my offsite backup." Usually not. Dropbox, Google Drive, iCloud and OneDrive sync both ways, so encrypted files replace your good copies. A real offsite backup is write-protected from the source.
  • "Two copies on the same server = two copies." No. "Media types" means independent storage, such as an internal drive plus a USB drive. Two partitions, or two VMs on one host, are one copy.
  • "I can skip offsite if my local backup is encrypted." Encryption protects confidentiality, not availability. If the building burns, the encrypted local backup burns with it.
  • "Versioning isn't part of 3-2-1." True, but ransomware makes it essential: a latest-only backup can be overwritten with encrypted data before you notice. Tune retention with restic forget to survive a delayed attack.

Why offsite matters more than any other component

If you could keep only one copy, keep the offsite one. Fire, flood, theft and ransomware spreading across the LAN tend to kill every local copy at once; the offsite copy survives the bad day.

ServerCrate is that third copy: a different building, different hardware, behind a token-authenticated REST endpoint.

Minimum practical 3-2-1 setups

Minimum setups that satisfy 3-2-1 at each scale:

  • Solo developer, laptop only: Laptop (1) + Time Machine or rsnapshot to an external USB drive (2) + Restic to ServerCrate (3). Total cost: one external drive plus $3/month.
  • Homelab with one server: Server (1) + nightly rsync to a second disk in the same box (2, really 1.5) + Restic to ServerCrate (3). Upgrade path: a dedicated backup machine.
  • Small business, 5-10 people: Workstations (1) + file server with versioned snapshots (2) + Restic from the file server to ServerCrate (3). One person runs the backup, one other person knows how to trigger a restore.
  • Multi-site org: Primary (1) + on-site backup appliance (2) + offsite replication to another region (3). This often justifies a backup admin and heavier tooling, though Restic still works.

Next step: your first offsite backup

On a Linux server, our installer does the setup in one line: it installs restic, creates your encryption password on your machine, takes a first snapshot and schedules a daily backup. The Vault page in your portal shows this line with your vault filled in.

Linux, one-line installer
curl -fsSL https://servercrate.net/install.sh | sudo sh -s -- --repo "rest:https://vaultuser:YOUR_TOKEN@a1b2c3d4.vault.servercrate.net/"

Add --dry-run to see what it would do without changing anything. On macOS or Windows, or to do it by hand, follow the setup guide.

Starter fits most single servers and small homelabs.
Starter $3/mo for 250 GB, or $30 a year with yearly billing. 30-day money-back on every paid plan. Or start with 10 GB free, no card.
Choose Starter, 250 GB

Common questions.

Three total copies of your data, on two different media types, with one copy offsite. Originated as advice for tape rotation in enterprise IT; still the baseline for personal and homelab backup in 2026.
Yes, but it is incomplete on its own. Ransomware now targets backup clients to delete snapshots before encrypting the primary, so the updated rule adds one immutable copy: append-only or WORM storage a compromised client cannot delete.
Anywhere geographically separated from your primary, such that a single disaster (fire, flood, theft) never takes both. A drive at your neighbor's house counts. A drive in your basement does not. Cloud storage counts. A NAS in the next room does not.
Local incremental: daily, automated. Offsite incremental: daily, automated. Immutable tier: weekly. Cold/offline tier: quarterly to yearly. The cold tier is your last-resort recovery when everything else is compromised. Its value is being air-gapped, not being current.
Only if you treat it as the offsite copy and have two more copies locally on different media. A laptop SSD plus iCloud is not 3-2-1: both copies are on the same vendor and the cloud copy is not immutable.

Keep going

Complete your 3-2-1 setup today.

The offsite piece. Free tier, no card required.

Need more than 10 GB? Starter is 250 GB for $30/yr, and every plan keeps the same vault and key when you move up.

Cancel anytime. 10 GB free tier never expires. No egress fees.