Home / Guides / Snapshots on ZFS vs Btrfs

Guide

Snapshots on ZFS vs Btrfs

Updated 2026-11-19

ZFS and Btrfs both provide copy-on-write snapshots for point-in-time recovery, but their storage models, integrity checks, repair workflows, and operational trade-offs differ. This guide explains how to choose between them without confusing snapshots, RAID, and backup.

Both ZFS and Btrfs support point-in-time snapshots, making it possible to recover an earlier version of a file or restore a deleted directory without relying on a full backup restore.

The practical choice is not simply “which filesystem has snapshots?” Both do. The more important questions are:

  • How do you want data corruption detected and repaired?
  • Which redundancy layout will you use?
  • How much RAM and storage administration can you support?
  • How will snapshots be replicated off the NAS?
  • What recovery workflow will you use after accidental deletion, ransomware, hardware failure, or a failed update?

For a NAS where point-in-time recovery is important, choose the filesystem whose redundancy, monitoring, replication, and recovery tools fit your operating system and maintenance habits—not just the filesystem with the more impressive feature list.

What snapshots actually do

A snapshot records the state of a dataset, subvolume, or file tree at a particular time. Modern copy-on-write filesystems do this by preserving existing blocks while new changes are written elsewhere.

A snapshot is useful for:

  • Recovering a file deleted earlier in the day
  • Reverting an application or configuration change
  • Restoring files encrypted by ransomware
  • Comparing a current dataset with an earlier version
  • Creating a consistent source for replication or backup

Snapshots usually begin with little additional space use. As live data changes, however, the old blocks referenced by a snapshot must be retained.

A simple way to think about snapshot growth is:

Snapshot space consumed ≈ blocks changed or deleted while the snapshot is retained

If a large database, virtual machine image, or video project changes substantially, snapshots can consume space quickly even when the visible dataset size appears unchanged.

Snapshots are therefore not free, and they are not automatically a substitute for versioned backup.

ZFS snapshots vs Btrfs snapshots

ZFS snapshots

ZFS snapshots are created at the dataset level and are read-only. A snapshot preserves the dataset's state at the creation time and can be mounted, browsed, cloned, or sent to another ZFS pool.

Important ZFS characteristics include:

  • Read-only snapshots
  • Dataset-level administration
  • Snapshot clones for writable derived datasets
  • Incremental replication using ZFS send and receive
  • End-to-end checksums for data and metadata
  • Scrubbing to verify stored data
  • Redundancy-aware repair when a valid alternate copy exists
  • The ARC, or Adaptive Replacement Cache, for frequently accessed data

ZFS is often attractive when the NAS will be managed as a storage platform with deliberate pool design, scheduled scrubs, snapshot policies, and replication.

Its trade-offs include more planning around vdev layout, pool expansion, memory use, and hardware or operating-system support. A ZFS pool's expansion options depend on the vdev structure and the implementation in use. Do not assume that adding one disk later will work the same way as expanding a conventional RAID volume.

Btrfs snapshots

Btrfs snapshots are created from subvolumes and can be read-only or writable. This makes them useful for both recovery points and test or staging environments.

Important Btrfs characteristics include:

  • Subvolume-based snapshots
  • Read-only and writable snapshot options
  • Checksums for data and metadata
  • Scrubbing and repair when redundant valid copies are available
  • Send and receive for incremental replication
  • Built-in compression options
  • Flexible subvolume organization
  • Integration with Linux-based NAS tools, depending on the platform

Btrfs can be a practical choice when a NAS operating system uses subvolumes and provides snapshot management as part of its normal administration workflow.

Its trade-offs include greater variation between platform implementations and redundancy profiles. Btrfs RAID modes do not all have the same operational history or recovery characteristics. In particular, parity modes require careful evaluation for the specific kernel, NAS distribution, tooling, and drive layout. Do not choose a Btrfs RAID profile solely because its label resembles a familiar RAID level.

Checksums, snapshots, RAID, and backup are different

These features solve different problems.

FeatureMain purposeProtects againstDoes not provide
ChecksumsDetect altered or corrupted blocksSilent data corruption, damaged readsA second copy by themselves
ScrubRead and verify stored dataFinds corruption before a normal read exposes itProtection from deletion or theft
RAID or redundancyKeep data available after some drive failuresDrive failure, depending on layoutHistorical versions or off-site recovery
SnapshotPreserve earlier filesystem statesAccidental deletion, bad edits, ransomware, failed updatesProtection if the whole NAS is lost
Backup or replicationMaintain an independent recoverable copyNAS failure, theft, fire, major administrative mistakesGuaranteed instant local rollback

Checksums detect corruption; redundancy may repair it

Checksums allow the filesystem to determine whether the data it reads matches the expected value. Detection is not the same as repair.

To repair corrupted data automatically, the system generally needs another valid copy, such as:

  • A mirror
  • A redundant RAID or RAIDZ layout
  • Another replica
  • A backup copy

Without redundancy, a checksum can report that a block is damaged but cannot recreate the original contents.

Regular scrubbing is important because it reads data deliberately instead of waiting for a file to be opened. A scrub can expose latent errors while redundancy or backups are still available.

RAID is not backup

RAID and RAID-like redundancy mainly improve availability after specific disk failures. They do not normally protect against:

  • Accidental deletion
  • Malicious deletion
  • Ransomware that encrypts mounted shares
  • A faulty synchronization command
  • Filesystem or administrator mistakes
  • Theft, fire, flood, or power-related damage affecting the entire NAS

Snapshots improve recovery from several of those events, but snapshots stored in the same pool can also be deleted, encrypted, or lost with the pool.

A robust design usually combines:

  1. Redundancy for continued operation after a drive failure
  2. Local snapshots for fast point-in-time recovery
  3. A separate backup or replicated copy
  4. At least one copy that is offline, isolated, or stored at another location when the data matters

ZFS send/receive and Btrfs send/receive can help create incremental replicas, but a replica is only as independent as its destination and access controls.

Recovery examples

Accidental file deletion

A local snapshot is usually the fastest recovery method. Browse the snapshot, copy the required file to the live dataset, and confirm that permissions and application metadata are correct.

Do not restore an entire dataset when only one file is needed. A full rollback can discard legitimate changes made after the snapshot.

Ransomware on a workstation

If the NAS share is writable and the ransomware account can modify files, it may also damage files in the live dataset. Properly protected read-only snapshots can provide a recovery point.

The recovery process should include:

  • Isolating the affected client
  • Preventing further writes
  • Identifying the last clean snapshot
  • Restoring to a separate location first when practical
  • Checking permissions and application files
  • Reviewing snapshot retention and administrative access

Snapshots should not be exposed as ordinary writable shares. Administrative controls and separate credentials matter.

Drive failure

A snapshot does not replace redundancy. If a drive fails, the pool or volume still needs an appropriate recovery mechanism.

The filesystem's checksums can help identify which blocks are valid, while redundancy can provide replacement data. After replacing a drive or repairing a layout, monitor the resilver or rebuild process and run the platform's recommended integrity checks.

Total NAS loss

If the NAS, pool, or enclosure is destroyed, local snapshots disappear with it. Recovery then depends on a backup or replica stored elsewhere.

Test that the external copy can actually be restored. A replication job that completes successfully is not proof that every required file, permission, application database, and configuration can be recovered.

Capacity and snapshot retention

Filesystem choice affects usable capacity, but there is no single universal percentage for ZFS or Btrfs. The result depends on:

  • Number and size of drives
  • Mirror, parity, or single-disk layout
  • Filesystem metadata
  • Reserved free space
  • Compression
  • Snapshot retention
  • Small-file and virtual-machine workloads
  • Pool or volume expansion method

A planning approximation is:

Usable capacity ≈ raw drive capacity × redundancy efficiency − filesystem overhead − reserved free space

This is only a planning estimate. Drive manufacturers typically advertise decimal capacity, while operating systems may display capacity using different units. Filesystem overhead and snapshot retention also vary with workload.

Keep meaningful free space available. A pool that is technically not full can still perform poorly or become difficult to repair when snapshots, metadata, or copy-on-write allocations need room.

Snapshot retention should match the recovery question

Instead of keeping snapshots indefinitely, define what you need to recover:

  • Frequent short-term snapshots for accidental edits
  • Daily snapshots for recent file history
  • Longer-term monthly or milestone snapshots
  • Replicated versions for disaster recovery

Use retention rules that protect important recovery points while preventing old snapshots from consuming the space needed for current workloads.

RAM, performance, and workload implications

RAM

Neither filesystem has a single RAM requirement that applies to every NAS. Requirements depend on:

  • Number of drives
  • Pool or subvolume size
  • Concurrent users
  • File size distribution
  • Virtual machines and databases
  • Compression
  • Deduplication
  • Snapshot count
  • Scrub and replication schedules
  • Other NAS services

ZFS uses system memory for the ARC cache. More memory can improve cache effectiveness, but a NAS should still be sized around its workload rather than assuming all unused RAM will produce a proportional speed increase.

ZFS deduplication can require substantial memory and careful planning. It should not be enabled casually for a general file server. Compression is a different feature and may reduce storage use and sometimes improve throughput when the data compresses well.

Btrfs also uses memory for caching and metadata, and its requirements vary by workload and implementation. Btrfs compression can be useful, but it adds processing work and may provide little benefit for already-compressed media.

The practical rule is:

  • Budget RAM for the filesystem and the services running on the NAS.
  • Treat deduplication as a specialized design decision.
  • Do not interpret a vendor's minimum memory figure as a guarantee of good performance for Plex, surveillance, virtual machines, or databases.

Performance

Snapshots are often inexpensive at creation time because they avoid copying the entire dataset. The ongoing cost appears when blocks change and the system must preserve old versions.

Performance can be affected by:

  • Heavy random writes
  • Many small files
  • Large numbers of snapshots
  • Virtual machine disk images
  • Database workloads
  • Fragmentation over time
  • Low free space
  • Scrubs, rebuilds, and replication running concurrently
  • Compression and encryption overhead

For Plex, filesystem snapshots are mainly a recovery feature. Media streaming performance is more likely to depend on network bandwidth, disk layout, concurrent users, and transcoding hardware. A snapshot policy should not be used to compensate for inadequate media storage or network design.

For surveillance, continuously written recordings can generate substantial churn. Snapshotting the recording dataset may consume space quickly and may not be the right retention mechanism. Design surveillance retention around the camera system and storage policy, then snapshot configuration, events, or important exported footage where appropriate.

SSD cache is also not a universal solution. It may help a workload with a clear read or write locality, but it adds another device and failure mode. It does not replace RAM, redundancy, snapshots, or backup.

Choosing RAID or redundancy with ZFS and Btrfs

The filesystem cannot be evaluated separately from the storage layout.

With ZFS, compare mirrors, RAIDZ layouts, and the platform's expansion and replacement procedures. Mirrors can offer straightforward rebuild behavior and useful random I/O characteristics, while parity layouts can provide better capacity efficiency. The right choice depends on drive count, workload, rebuild tolerance, and future expansion plans.

With Btrfs, evaluate the exact data and metadata profiles supported by the NAS platform. Do not assume that data redundancy and metadata redundancy are configured identically, or that every RAID profile has equivalent recovery behavior. Confirm how the system handles degraded operation, replacement, balance operations, scrub, and expansion.

In either case:

  • Avoid treating a filesystem label as a complete storage design.
  • Confirm how a failed drive is replaced.
  • Understand how long a rebuild or resilver may take for your workload.
  • Check whether the platform supports changing or expanding the layout.
  • Keep tested backups before major pool operations.
  • Monitor drive health and filesystem alerts.

Platform support matters more than theoretical features

ZFS and Btrfs capabilities can differ depending on the operating system, kernel, NAS interface, driver stack, and vendor integration.

Before buying a NAS, verify:

  • Whether snapshots are available for the shares or datasets you will use
  • Whether snapshots are read-only, writable, or both
  • How users restore individual files
  • Whether snapshot schedules and retention are configurable
  • Whether replication supports encryption and retention
  • How scrub and integrity alerts are exposed
  • How drive replacement and expansion work
  • Whether applications can create consistent snapshots
  • Whether snapshots include or exclude shared folders, databases, and virtual machines
  • How the system exports or migrates data if you later change platforms

A filesystem feature that is difficult to schedule, monitor, or restore is less valuable than a simpler feature your team can operate correctly.

When comparing hardware, Browse NAS options with the filesystem, memory, drive-bay, networking, and expansion requirements already in mind. For a more storage-focused comparison, review NAS & storage servers.

Filesystem decision checklist

Use this checklist before choosing ZFS or Btrfs for a NAS.

Recovery and snapshots

  • Do I need hourly, daily, or event-based recovery points?
  • Can I restore one file without rolling back an entire dataset?
  • Are snapshots protected from ordinary share users?
  • Will snapshot retention fit the available free space?
  • Can I replicate snapshots to another system?

Integrity

  • Are data and metadata checksummed?
  • Is scrubbing available and scheduled?
  • Can the system repair corruption when redundant copies exist?
  • How are checksum errors reported?
  • Can I export or verify important data after a migration?

Redundancy and expansion

  • Which mirror or parity layouts are supported?
  • How does the platform replace a failed drive?
  • What happens during a rebuild or resilver?
  • Can the pool or volume expand in the way I expect?
  • Is the planned layout appropriate for my drive count and workload?

Performance and memory

  • Is the NAS sized for file sharing, Plex, surveillance, databases, or virtual machines?
  • How much memory remains after the NAS operating system and applications?
  • Will compression help this data?
  • Am I considering deduplication for a proven reason?
  • Will snapshots, scrubs, rebuilds, or replication overlap with busy periods?

Backup and disaster recovery

  • Where is the independent backup?
  • Is at least one copy isolated or off-site?
  • Can I restore files, permissions, applications, and configuration?
  • Have I tested recovery rather than only checking job status?
  • What happens if the entire NAS and its local snapshots are unavailable?

Bottom line

Choose ZFS when its dataset, checksum, scrub, redundancy, and replication model fits your need for a deliberately managed storage pool. Choose Btrfs when its subvolume snapshots, compression, send/receive workflow, and NAS integration fit your platform and operational experience.

Neither choice eliminates the need for redundancy and backup. For point-in-time recovery, the winning design is the one that combines:

  • A suitable filesystem
  • A supported redundancy layout
  • Protected snapshot schedules
  • Regular integrity checks
  • Independent, tested backups
  • Enough RAM, free space, and expansion capacity for the workload

Related guides