Skip to content
Get a quote

Data security

3-2-1 backup strategy with a NAS: a practical setup

Three copies, two kinds of media, one offsite. Here is how to turn the 3-2-1 rule into a working NAS-based design, with sizing maths and a restore test plan.

Panaro Tech · · 7 min read

The 3-2-1 backup strategy is the most widely quoted rule in data protection, and also one of the most loosely followed. Many organisations have a NAS, call it the backup, and stop there. When the NAS fails, is stolen or is encrypted along with the servers, they discover they had one copy, not three.

This post turns the rule into a concrete setup built around network storage: what counts as a copy, where each copy should live, how to size the backup target, and how to prove that restores work. The examples use hypothetical numbers you can replace with your own.

What the 3-2-1 rule actually says

  • 3 copies of the data: the production copy plus two backups.
  • 2 different media or systems, so one failure mode (a firmware bug, a bad batch of drives, a corrupted volume) cannot destroy every copy.
  • 1 copy offsite, far enough away that a fire, flood or theft at the main site does not reach it.

Many teams now add a further requirement, sometimes written as 3-2-1-1-0: one copy offline or immutable, and zero errors in restore verification. Given how ransomware hunts for backups, that extension is worth adopting. Our post on ransomware protection for NAS explains why.

What does not count as a copy

  • RAID. Mirrors and parity protect against drive failure, not deletion, corruption or encryption. A deleted file is deleted on every drive at once.
  • Snapshots on the same pool. Excellent for quick recovery, but they share the pool's fate.
  • A sync service that mirrors deletions within seconds.

A reference design with a NAS

CopyWhereHow it is madeProtects against
1. ProductionServers and primary NASLive data, with local snapshotsAccidental edits (via snapshots)
2. Backup NASDifferent rack or room on siteBackup software or snapshot replication, nightlyPrimary system failure, corruption
3. Offsite copyBranch office, data centre or second cityReplication from the backup NAS, or rotated removable mediaSite loss, theft, ransomware reaching on-site systems

The backup NAS should be a different system from the production NAS, ideally on separate power and with separate admin credentials. The offsite copy can be another NAS at a branch, which makes incremental ZFS replication straightforward, or tape or removable drives rotated out of the building. For sensitive data, an offsite copy you control in India may suit your policy better than a public cloud bucket; see on-premises vs public cloud for sensitive data.

Sizing the backup target

A backup NAS needs room for a full copy plus the history you keep. A simple model:

Backup capacity = full data + (daily change × days of daily retention) + (weekly change × weeks kept) + growth headroom

Worked example with hypothetical numbers: 20 TB of production data, 2% changing per day (0.4 TB), 30 daily versions, 12 weekly versions with 5% unique change each (1 TB), and 30% growth headroom.

  • Full copy: 20 TB
  • Dailies: 0.4 × 30 = 12 TB
  • Weeklies: 1 × 12 = 12 TB
  • Subtotal: 44 TB; with 30% headroom: about 57 TB usable

Compression can reduce this considerably for documents and databases, and very little for video or already-compressed files. Deduplication helps when many similar full backups are stored, but needs RAM; ask whether it suits your data before enabling it. Remember that usable capacity is lower than raw: use the capacity calculator and read raw vs usable storage before you order drives.

Retention tiers that make sense

  • Daily backups kept for 2–4 weeks cover most user mistakes.
  • Weekly backups kept for 2–3 months cover problems found late, such as slow ransomware or a corrupted spreadsheet nobody opened.
  • Monthly or yearly backups kept per your records policy cover audit and legal requests. How long is a policy, contract or regulatory question for your organisation, not a storage default.

Getting a copy offsite and offline

The offsite copy is where most plans fail. Practical options:

  1. Replication to a second NAS at another site. After the initial seed, only changed blocks travel, so a modest link copes with typical office change rates. Seed the first copy locally and ship the system if the link is slow.
  2. Rotated removable media: drives or tape taken offsite weekly. Cheap and truly offline, but depends on discipline.
  3. A pull-based replica where the offsite system fetches data and the primary has no credentials to it. This gives a degree of isolation without physical rotation.

Whatever you choose, the offsite copy must not be deletable using credentials stored at the main site.

Prove it: restore testing

A backup you have never restored is a hope, not a backup. Build a schedule:

  • Monthly: restore a random folder and a random database to a test location and open the files.
  • Quarterly: restore one complete server or share and time it end to end.
  • Yearly: simulate loss of the main site and restore from the offsite copy only.

Record each test's date, data restored, duration and any errors. ZFS scrubs on each backup system add a further check that stored blocks still match their checksums; see ZFS data integrity.

Backup windows and recovery objectives

Two numbers should drive the design: the recovery point objective (RPO), meaning how much recent data you can afford to lose, and the recovery time objective (RTO), meaning how long you can be without the data. Agree them with the business before choosing tools.

DataTypical RPOTypical RTOMechanism
Shared office documents1 hourHoursHourly snapshots plus nightly backup
Accounting database15 minutes to 1 hourUnder a dayDatabase log backups to the backup NAS
Design or media archive1 dayDaysNightly replication, offsite copy

These are illustrative; your own values come from the cost of downtime and rework for each system.

Will it fit in the backup window?

Check that each job completes before the next one starts. With hypothetical numbers: a nightly incremental of 400 GB over a 1 Gbps link, which moves roughly 100 MB/s in practice, takes about 4,000 seconds, a little over an hour. A first full copy of 20 TB at the same rate takes over two days, so seed it on the local network before moving the system offsite, or plan the initial sync over a weekend. If incrementals start to overrun, move to block-level replication, which sends only changed blocks, or upgrade the link to 10GbE between the production and backup systems.

Restoring at scale

Restore speed is usually lower than backup speed because many small files are written and indexed. Measure it during testing and compare it with your RTO; if it falls short, keep a recent copy closer to production.

Checklist for your 3-2-1 setup

  • Are there three copies, on at least two independent systems?
  • Is one copy in a different building or city?
  • Is one copy offline or unreachable with production credentials?
  • Is the backup target sized for full data, retention and growth, using usable not raw capacity?
  • Do backup jobs alert on failure, and does someone read the alerts?
  • When was the last successful restore test, and how long did it take?
  • Is the backup NAS on separate power and admin accounts from production?

Panaro's D2X12 and D4X24 systems run ZFS-based Awanstor SDS with snapshots, compression and deduplication, which suit both primary and backup roles; the PANARO D4X24CL offers 24 bays for larger backup targets. To have a 3-2-1 design sized for your data, send your requirement.

Frequently asked questions

Is a NAS with RAID enough as a backup?

No. RAID keeps data available when a drive fails, but deletions, corruption and ransomware encryption are applied to every drive at once. A NAS can hold one backup copy, but the 3-2-1 rule still needs a further copy offsite and, ideally, one that is offline or cannot be altered from the production network.

How much capacity does a backup NAS need?

Add the full data size, the changed data kept for each retained daily and weekly version, and headroom for growth. For example, 20 TB of data with 2% daily change kept for 30 days and 12 weekly versions needs roughly 44 TB before headroom. Size on usable capacity, not raw drive totals.

Can the offsite copy be in the cloud?

It can, provided it is separate from your production credentials and suits your data policy. Some organisations prefer a second on-premises NAS at a branch or data centre in India so they control location and access. Compare restore time from each option, since downloading large datasets can take much longer than local recovery.

How often should I test backup restores?

Restore a sample of files monthly, a complete share or server quarterly, and rehearse a full site-loss recovery from the offsite copy at least once a year. Record the time each test takes; that measured time is your realistic recovery time objective.