Use it when configuring, checking or troubleshooting Send / Receive in ZFS.
Send / Receive
ZFS send serializes snapshot state into a stream; incremental sends encode changes between related snapshot points. ZFS receive reconstructs the dataset state from that stream. Stream completion proves transfer mechanics, but recovery quality also depends on correct source snapshots, lineage, properties, application consistency, destination capacity and validation.
1. zfs send/receive replicates snapshots as streams.
2. Incremental sends are efficient.
3. Raw send keeps encryption.
4. Resume tokens for interrupted transfers.
5. Use for backup and migration.
snapshot → send stream → receive → target dataset
Context & applicabilityCommon mistakes · platform/version boundaries
A completed send/receive shows the selected ZFS snapshot stream was generated and accepted by the destination, but it does not show application consistency, retention policy or restore usability.
Suspicious evidence: incremental base is missing, destination diverged unexpectedly, receive completes but dataset is unusable, or stream success is the only backup verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
source dataset snapshot → send stream → transport → receive parser → destination dataset/snapshot → destination pool/vdev → recovery verification
Healthy evidence: source and destination snapshot lineage matches plan, transfer completes without errors, destination properties/capacity are correct, and recovery read-back succeeds.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Send stream ≠ backup policy by itself.
- Successful receive ≠ application-consistent recovery proof.
- Incremental send requires compatible snapshot lineage/base state.
- Transferred logical state ≠ identical physical vdev layout or performance.
zfs send -i <ds>@a <ds>@b | ssh <host> zfs recv -u <pool>/<ds>— incremental sendzfs send -w ...— raw (encrypted) sendzfs get receive_resume_token <ds>— resume interrupted
ReferenceImportant terms & boundaries2 sections · depth on demand
Topology
A completed send/receive shows the selected ZFS snapshot stream was generated and accepted by the destination, but it does not show application consistency, retention policy or restore usability.
In depth
zfs send serialises a snapshot (full) or the difference between two snapshots (incremental) into a stream; zfs receive recreates it on another pool. Because it works on blocks and knows exactly what changed, incrementals take time proportional to the changes, not to the number of files.
zfs send tank/db@base | ssh backup zfs receive -u pool/db
zfs send -i @base tank/db@daily1 | ssh backup zfs receive -u pool/db
zfs send -w tank/secure@s1 | ssh backup zfs receive pool/secure # raw: stays encrypted
zfs send -c ... # keep blocks compressed on the wire
Use -R for a dataset tree with properties, and resumable streams (receive -s, send -t <token>) on unreliable links.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in ZFS → Send / Receive. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://openzfs.github.io/openzfs-docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
ZFS → Send / Receive ZFS map
Fast topology, capacity, integrity and proof boundaries for ZFS → Send / Receive.
| ZFS boundary | What to verify | Proof limit |
|---|---|---|
| Identity / topology | Pool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective properties | Object presence alone does not prove integrity, performance or recovery |
| Capacity / protection | Pool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver state | Free space or ONLINE state at one layer does not prove end-to-end health |
| Failure boundary | A completed send/receive proves the selected ZFS snapshot stream was generated and accepted by the destination; it does not prove application consistency, retention policy or restore usability. | Correlate ZFS evidence with both workload and lower device/path evidence |
| Acceptance | Healthy evidence: source and destination snapshot lineage matches plan, transfer completes without errors, destination properties/capacity are correct, and recovery read-back succeeds. | Close only after original workload plus checksum/read-back/recovery verification succeeds |