The Golden Rule: 3-2-1

Every resilient storage plan follows the 3-2-1 rule:
- 3 copies of your data (one primary copy plus two backups).
- 2 different storage media or devices.
- 1 copy stored off-site away from your home or office.
Hardware fails, power surges damage drives, ransomware encrypts mounted shares, and house fires destroy local equipment. Having three copies across two media types with one copy off-site keeps a single fault from turning into permanent loss.
What Needs Backing Up?
Not every file justifies off-site bandwidth or long retention. Sort data into four tiers:
| Priority | Examples | Backup Frequency | Retention |
|---|---|---|---|
| Critical | Photos, tax records, passwords, personal documents | Real-time or daily | Indefinite |
| Important | Active codebases, projects, configuration files | Daily | 1+ year |
| Replaceable | Media libraries, OS ISOs, installers | Weekly or excluded | 90 days |
| Disposable | Caches, temporary files, build artefacts | Never | None |
Backup Software Compared
Restic: Modern Cross-Platform Standard
Restic encrypts every snapshot client-side and deduplicates blocks before upload, supporting local disks, SFTP servers, and S3-compatible object storage.
Strengths:
- Built-in AES-256 encryption.
- Block-level deduplication that reduces repeated uploads.
- Supports local drives, NAS shares, SFTP, Backblaze B2, and Wasabi.
- Single static binary with minimal dependencies.
Basic daily backup:
# Initialise a repository (once)
restic -r /mnt/backup/restic-repo init
# Take a snapshot
restic -r /mnt/backup/restic-repo backup /home/user/documents
# Prune old snapshots (keep 7 daily, 4 weekly, 6 monthly)
restic -r /mnt/backup/restic-repo forget \
--keep-daily 7 --keep-weekly 4 --keep-monthly 6 --pruneBorgBackup: Space-Efficient Archiver
BorgBackup (Borg) pairs block deduplication with fast compression (lz4 or zstd) and supports append-only remote repositories so a compromised client cannot wipe older snapshots.
Duplicati: Web Interface Option
For administrators who prefer managing schedules and cloud targets in a browser, Duplicati runs neatly inside Docker with encrypted destination volumes.
Off-Site Backup Options
Check current provider pricing calculators before choosing a target, as storage and egress fees change periodically.
| Service | Pricing Model | Protocol | Best For |
|---|---|---|---|
| Backblaze B2 | Pay per GB stored plus egress | S3-compatible | Large encrypted archives |
| Wasabi | Pay per GB stored (no egress fee, min retention applies) | S3-compatible | Frequent restores |
| Hetzner Storage Box | Fixed monthly capacity tiers | SFTP, SMB, rsync | European data residency |
| Second NAS (friend or family) | One-time hardware outlay | rsync, Syncthing, Tailscale | Full local control |
| Encrypted USB drive off-site | One-time drive purchase | Physical swap | Air-gapped cold copy |
Automating Backups
Manual backups get forgotten. Schedule unattended runs via cron or systemd timers.
Cron and Restic Example
# /etc/cron.d/daily-backup
0 3 * * * root /usr/local/bin/restic -r sftp:backup-server:/repo backup /home --quiet
0 4 * * 0 root /usr/local/bin/restic -r sftp:backup-server:/repo forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --prune --quietSystemd Timer Alternative
# /etc/systemd/system/backup.service
[Unit]
Description=Daily Restic Backup
[Service]
Type=oneshot
ExecStart=/usr/local/bin/restic -r sftp:backup-server:/repo backup /home# /etc/systemd/system/backup.timer
[Unit]
Description=Run backup daily at 03:00
[Timer]
OnCalendar=*-*-* 03:00:00
Persistent=true
[Install]
WantedBy=timers.targetTesting Restores
An untested backup is an assumption. Run a quick restore check monthly:
- Select a random file or folder from an older snapshot.
- Restore it to
/tmp/restore. - Confirm file integrity and checksum against the source.
- Record the test date in your maintenance log.
# Verify backup integrity
restic -r /mnt/backup/restic-repo check
# Restore a specific file
restic -r /mnt/backup/restic-repo restore latest --target /tmp/restore --include "/documents/important.pdf"NAS-Specific Backup Tools
Synology and QNAP appliances include built-in backup suites:
- Synology Hyper Backup: Scheduled, versioned, encrypted backups to USB drives, remote NAS units, or cloud buckets.
- Synology Snapshot Replication: Fast point-in-time BTRFS snapshots (useful against accidental deletion, though local to the NAS unless replicated off-site).
- QNAP Hybrid Backup Sync: Multi-target backup and sync over SFTP, SMB, and S3.
Long-Term Archival
For records kept across decades:
- Prefer open formats: PDF/A, PNG, FLAC, and plain UTF-8 text remain readable without proprietary licences.
- Store SHA-256 checksums: Detect silent bit rot before copying archives onward.
- Add a plain README: Document directory layout and decryption steps.
- Refresh hardware: Migrate spinning disks and SSDs every three to five years; consider archival optical media such as M-DISC for compact immutable sets.
Product links may include affiliate partnerships. See our affiliate disclosure for details.