IT & Life Tips

Home NAS 3-2-1 Backup: Ransomware-Ready Setups Case by Case (Synology, Old Xpenology, TrueNAS)


This post was translated from the original Korean article. Screenshots show the Korean interface.

Once you buy a NAS, it’s easy to think “backups are done now.” But a NAS is where your originals are gathered, not a backup in itself. RAID only survives a single disk failure; it can’t protect you from accidentally deleted files, files encrypted by ransomware, fire or theft, or the NAS itself failing.

In this article, I’ve organized how to apply the 3-2-1 rule to home and small-office NAS setups, case by case. In particular, I cover separately what you can do in environments where new features aren’t available, such as old Synology models that no longer get updates and old versions of Xpenology (unofficial installs). (As of November 2026)

Jump to Your Situation

  1. Know this first: the 3-2-1 rule and ransomware
  2. Case 1. Genuine Synology, DSM 7.2 or later
  3. Case 2. Genuine Synology, but old with DSM 6.2 or earlier
  4. Case 3. Xpenology DSM 7.x
  5. Case 4. Old Xpenology DSM 6.x (6.0, 6.1, 6.2)
  6. Case 5. TrueNAS
  7. Case 6. Minimum budget: just one NAS and one external drive
  8. Case 7. Using a second location (parents’ home, office) instead of the cloud
  9. Case 8. Several family members or employees use shared folders
  10. Case 9. I also collect phone photos on the NAS
  11. Case 10. I think I’ve been hit by ransomware
  12. Restore tests to confirm your backups work

Know This First: The 3-2-1 Rule and Ransomware

The 3-2-1 rule is the most basic rule for protecting data.

  • 3: Keep 3 copies of your data, including the original.
  • 2: Keep 2 of them on different storage devices (such as NAS disks and an external drive).
  • 1: Keep 1 in a different location (the cloud, another building).

When you factor in ransomware, you need two more things.

  • Sync is not backup. With cloud sync or a real-time mirror, if the original is deleted or encrypted, that state is copied right over. A backup must let you roll back to an earlier point in time (version).
  • You need at least one copy that’s normally disconnected. If a PC gets ransomware, the NAS shared folders it’s connected to can be encrypted too. An external drive you connect only when backing up, or a copy that can’t be deleted even if your NAS admin account is compromised (immutable snapshots, remote backups), becomes your last line of defense.

Home NAS 3-2-1 backup setup: Copy 1 is the NAS original plus snapshots, Copy 2 is an external drive kept disconnected most of the time, and Copy 3 is in the cloud or on a NAS in another location. Snapshots undo accidental deletions and ransomware encryption, the external drive covers NAS failure, and the remote copy covers fire and theft.

What happened What protects you
Accidentally deleted or overwrote a file Snapshots, versioned backups
Ransomware on a PC encrypted shared folders Snapshots (if the admin account is safe)
Even the NAS admin account was taken over Disconnected external drive, remote copy, immutable snapshots
One disk failed RAID
The NAS unit failed or several disks failed External drive, remote copy
Fire, flood, or theft A copy in another location

Case 1. Genuine Synology, DSM 7.2 or Later

This is the case with the most options. Synology’s built-in packages alone can cover all of 3-2-1.

Copy 1 — Snapshots (Snapshot Replication)

  1. Install Snapshot Replication from Package Center.
  2. Snapshots only work on shared folders on a Btrfs volume. Check in Storage Manager that your volume’s file system is Btrfs. If it’s ext4, you can’t use snapshots.
  3. Create a snapshot schedule for each important shared folder. For example, every hour or a few times a day, with retention set to Smart Retention to keep recent snapshots dense and older ones sparse.
  4. If your model supports it, turn on immutable snapshots, new in DSM 7.2. During the protection period you set, even an administrator can’t delete the snapshots or the shared folder, so you still have points to roll back to even if your account is compromised. Check Synology’s technical documentation for supported models.

Copy 2 — External drive (Hyper Backup)

  1. Install Hyper Backup from Package Center.
  2. In a new backup task, choose Local Folder & USB as the destination and select the external drive.
  3. Turn on backup rotation to keep multiple versions, and turn on client-side encryption if needed. If you encrypt, store the password and key file somewhere other than the NAS.
  4. When the backup finishes, eject and disconnect the external drive. Set a schedule, such as once a week, to connect it and back up.

Copy 3 — Another location

  • Use Hyper Backup to send it to the cloud, such as Synology C2 Storage, S3-compatible storage, Google Drive, or Dropbox, or to a Synology NAS in another location (rsync).
  • If the remote NAS is a Synology, turn on snapshots there too so that even the remote copy keeps versions.

Case 2. Genuine Synology, but Old With DSM 6.2 or Earlier

DSM 6.2’s extended support ended on October 1, 2024. Since then, no feature or security updates have been released for DSM or its packages. DSM 6.0 and 6.1 ended even earlier.

  • First, check whether you can upgrade to DSM 7: Search for your model in the Synology Download Center; if DSM 7.x is available, upgrading is the best solution. Before upgrading, be sure to do the external drive backup below first.
  • If your model can’t be upgraded:
    • Snapshots: DSM 6 also has Snapshot Replication, but it only works on models and volumes that support Btrfs. Immutable snapshots are a DSM 7.2+ feature, so you can’t use them.
    • External drive: Hyper Backup’s local/USB backup works on DSM 6 too. This copy is the most important.
    • Remote copy: Cloud service connections can fail on old packages when the service changes its authentication method. If that happens, backing up to another NAS via rsync, or rotating two external drives and keeping one in another location (Case 7), is the reliable option.
  • Reduce external exposure: For a NAS without security patches, not exposing it directly to the internet is as important as backups. I’ve covered how to turn off router port forwarding and UPnP and allow remote access only via VPN in the NAS check section of my PHP2Shell vulnerability post.

Case 3. Xpenology DSM 7.x

Xpenology is Synology DSM installed unofficially on a regular PC. If you’re on DSM 7.x, you can use most of the features from Case 1, but a few things differ.

  • Services that need a genuine serial number: Synology account-based services such as QuickConnect and Synology C2 can’t be expected to work properly. For your remote copy, choose destinations unrelated to a Synology account, such as S3-compatible storage, Google Drive, or another NAS (rsync).
  • Updates themselves are a risk: After a DSM update, the PC sometimes won’t boot because the update doesn’t match the bootloader. Before updating, always make an external drive backup first, and proceed only after confirming your loader supports that version.
  • Snapshots: If the volume is Btrfs and the model you chose in the loader supports Btrfs, you can use Snapshot Replication. Check the volume’s file system in Storage Manager.
  • The hardware is a backup concern too: Self-built PCs tend to have motherboard and power supply failures fairly often. Rescuing data by moving the disks to another PC isn’t easy in that case, so the external drive copy becomes practically your only means of recovery.

Case 4. Old Xpenology DSM 6.x (6.0, 6.1, 6.2)

Many Xpenology users stay on old versions like DSM 6.0.2, either because they have lots of data or because they’re afraid of boot failures during updates. This is the most vulnerable environment, with no security updates and no vendor support, so backups aren’t a “nice to have” but a must.

What you can do

Method On Xpenology DSM 6.x Notes
Hyper Backup → external drive Works Versioned backup. Set this up first
Hyper Backup → another NAS (rsync) Works To a NAS or Linux server in another location
USB Copy If available in Package Center Copies shared folders to USB
Snapshot Replication Only on Btrfs volumes Early 6.0 installs are often ext4
Immutable snapshots Doesn’t work A DSM 7.2+ feature
QuickConnect, C2 Can’t be expected to work Requires a genuine serial number

Do it in this order

  1. Copy everything to an external drive once, right now. If you have too much data to fit on one external drive, prioritize what you can never get back (family photos and videos, work documents). Put off things you can get again, like movies.
  2. Create a recurring backup task with Hyper Backup. Set the destination to the external drive and turn on version rotation. The first run takes a long time; after that, only changes are backed up.
  3. Connect the external drive only when backing up. If it stays connected, it can be hit by ransomware or mistakes along with everything else.
  4. Close off external access. In your router’s port forwarding, remove the DSM management ports (5000, 5001) and web ports (80, 443), turn off UPnP and QuickConnect, and connect from outside only through a VPN like Tailscale. If several people access it from outside via WebDAV or similar, sort this out first.
  5. Plan a move to a new NAS. In the long run, the real fix is moving your data to a supported system, such as a genuine NAS that supports DSM 7 or TrueNAS. When you move, the external drive copy from steps 1 and 2 doubles as your migration tool.

If you want to try upgrading to DSM 7: Going from Xpenology DSM 6 to 7 requires replacing the loader, and if it fails, the data on your disks can be at risk. Try it only after securing a full backup on an external drive and confirming you can restore it.

Case 5. TrueNAS

TrueNAS uses the ZFS file system, so snapshots are a core feature. ZFS snapshots are read-only, so even if a PC connected via SMB gets ransomware and encrypts files in a shared folder, the files in the snapshots stay unchanged.

  1. Copy 1 — Periodic snapshots: Create a schedule for each dataset in Data Protection > Periodic Snapshot Tasks. For example, hourly snapshots kept for 2 weeks plus daily snapshots kept for 2 months.
  2. Restore directly from Windows: TrueNAS exposes ZFS snapshots of SMB shares as Windows Shadow Copies (enabled by default in 25.10). On your PC, right-click a folder and go to Properties > Previous Versions to pull out files from a snapshot point in time.
  3. Copy 2 — Another disk or device: Use Replication Tasks to replicate snapshots to another pool (for example, a separate disk connected via USB) or another TrueNAS.
  4. Copy 3 — The cloud: Use Cloud Sync Tasks to send data to Backblaze B2, Amazon S3, Google Drive, and so on. Set the direction to Push and the mode to Copy so files deleted from the original aren’t deleted from the cloud too, and consider the remote encryption option. It’s also safer to turn on version retention on the cloud side (such as the bucket’s file versioning feature).

I’ve written in detail about setting up a phone photo server on TrueNAS, including snapshot and restore tests, in my TrueNAS + Immich photo backup server build.

Case 6. Minimum Budget: Just One NAS and One External Drive

If cloud costs are a burden for now, even one external drive gets you up to the “2” in 3-2-1.

  • NAS original + snapshots (on Btrfs or ZFS) = Copy 1 and point-in-time rollback
  • Versioned backup to an external drive, connected only when backing up = Copy 2
  • For the missing “1 (another location),” start by uploading only the data you can never get back to a cheap cloud plan. Photos and documents are often a small share of your total data.

If you can afford another external drive later, switch to the rotation method in Case 7 and you’ll complete 3-2-1 without the cloud.

Case 7. Using a Second Location (Parents’ Home, Office) Instead of the Cloud

Once your data exceeds several TB, cloud costs and upload times become a burden. In that case, you can use a physically different location.

  • Rotate two external drives: Drive A is used for backups at home, and drive B is kept at the office or your parents’ home. Swap them once a month. Even in the worst case, a copy from a month ago remains in another location.
  • A second NAS in another location: Between Synology units, send data with Hyper Backup or Snapshot Replication; between TrueNAS units, use Replication Tasks. If you connect the two locations with a VPN like Tailscale, you don’t need to open router ports.
  • Snapshots on the remote NAS too: If you only sync to the remote site, encryption of the original can carry straight over. Turn on snapshots or version retention on the receiving side as well.

Case 8. Several Family Members or Employees Use Shared Folders

When several people use the NAS, a single infected PC puts every shared folder that person can access at risk.

  • Create a separate account for each user, and don’t do everyday work with the admin account.
  • Give write permission only to the folders people need. Read-only is enough for most archive folders.
  • Set frequent snapshot intervals (such as hourly). Even if you notice an infection late, you can roll back to just before it.
  • Turn on two-factor authentication for the admin account. If the admin account is compromised, even the snapshots can be deleted.
  • Programs like RaiDrive (a Windows app that maps a NAS as a drive letter) and mapped drives are convenient, but if that PC is infected, the connected drive becomes an encryption target too. Connect with write permission only for people who really need it.

Case 9. I Also Collect Phone Photos on the NAS

When you automatically back up phone photos to a NAS, the NAS easily becomes the only original of those photos. That’s even more true if you deleted photos from your phone to free up space.

  • Be sure to include the folder (or dataset) where photos go in your snapshot targets.
  • Include the photo folder in both the external drive backup and the remote copy. It’s your highest-priority data.
  • You also need to back up the photo app’s database (Synology Photos, Immich, etc.) to preserve albums and face recognition data. With only the original photo files, you can save the photos, but you’ll have to rebuild the organization.

Case 10. I Think I’ve Been Hit by Ransomware

If file names have changed to strange extensions and notice files like “README” have appeared in every folder, you should suspect ransomware.

  1. Disconnect the suspected PC from the network. Unplug the network cable or turn off Wi-Fi. Don’t power it off right away; leave it as is.
  2. Disconnect the NAS shared folders, and never connect the external drive. Your last copy could get infected too.
  3. Don’t delete or restore snapshots right away; first figure out from what point the files were encrypted. If you restore while the source of infection is still there, the files can be encrypted again.
  4. After resetting the infected PC or removing the cause, restore from the snapshot just before the encryption or the external drive backup.
  5. If you’re asked for money, report it. In Korea, you can report it and get help through the 118 counseling center of KISA (Korea Internet & Security Agency) or the Boho-nara website. (Readers outside Korea should use their own country’s cybercrime reporting agency.)

Restore Tests to Confirm Your Backups Work

You can only trust a backup after actually restoring from it. Check the following once a month or once a quarter.

What to check How
Are snapshots still being created? Check the latest date in the snapshot list
Restore one file from a snapshot Delete a test file and bring it back from a snapshot
Is the external drive backup recent? Check the Hyper Backup/Replication task logs
Restore a folder from the external drive Restore one folder to a different location and open it
Is the remote copy being uploaded? Check for recent files in the cloud or on the remote NAS
Are passwords and key files stored outside the NAS? Backup encryption keys, recovery codes for NAS admin 2FA
Do you get notifications? Set up email/push alerts for backup failures

Summary

My NAS Copy 1 (point-in-time rollback) Copy 2 (another device) Copy 3 (another location)
Synology DSM 7.2 or later Snapshot Replication + immutable snapshots Hyper Backup → external drive Hyper Backup → C2, S3, remote NAS
Synology DSM 6.2 or earlier Snapshot Replication if Btrfs Hyper Backup → external drive Remote NAS (rsync) or rotating external drives
Xpenology DSM 7.x Snapshot Replication if Btrfs Hyper Backup → external drive S3-compatible, Google Drive, remote NAS
Xpenology DSM 6.x Snapshot Replication if Btrfs Hyper Backup → external drive (top priority) Remote NAS (rsync) or rotating external drives
TrueNAS Periodic Snapshot Tasks Replication Tasks Cloud Sync Tasks (Copy)
  • RAID is not a backup, and neither is sync. You need a copy that lets you roll back to an earlier point in time.
  • For old Synology models that no longer get updates and old Xpenology versions, start with a versioned external drive backup and blocking external access.
  • You can only trust a backup once you’ve restored from it.

If your PC’s C drive is so full that you don’t even have room for backups, check out my Windows 11 C drive cleanup guide first.

References

Comments

Please do not post personal information. Ads and abuse are removed without notice.