xref: /freebsd/sys/contrib/openzfs/man/man8/zfs-receive.8 (revision eda14cbc264d6969b02f2b1994cef11148e914f1)
1*eda14cbcSMatt Macy.\"
2*eda14cbcSMatt Macy.\" CDDL HEADER START
3*eda14cbcSMatt Macy.\"
4*eda14cbcSMatt Macy.\" The contents of this file are subject to the terms of the
5*eda14cbcSMatt Macy.\" Common Development and Distribution License (the "License").
6*eda14cbcSMatt Macy.\" You may not use this file except in compliance with the License.
7*eda14cbcSMatt Macy.\"
8*eda14cbcSMatt Macy.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*eda14cbcSMatt Macy.\" or http://www.opensolaris.org/os/licensing.
10*eda14cbcSMatt Macy.\" See the License for the specific language governing permissions
11*eda14cbcSMatt Macy.\" and limitations under the License.
12*eda14cbcSMatt Macy.\"
13*eda14cbcSMatt Macy.\" When distributing Covered Code, include this CDDL HEADER in each
14*eda14cbcSMatt Macy.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*eda14cbcSMatt Macy.\" If applicable, add the following below this CDDL HEADER, with the
16*eda14cbcSMatt Macy.\" fields enclosed by brackets "[]" replaced with your own identifying
17*eda14cbcSMatt Macy.\" information: Portions Copyright [yyyy] [name of copyright owner]
18*eda14cbcSMatt Macy.\"
19*eda14cbcSMatt Macy.\" CDDL HEADER END
20*eda14cbcSMatt Macy.\"
21*eda14cbcSMatt Macy.\"
22*eda14cbcSMatt Macy.\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
23*eda14cbcSMatt Macy.\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
24*eda14cbcSMatt Macy.\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
25*eda14cbcSMatt Macy.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
26*eda14cbcSMatt Macy.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
27*eda14cbcSMatt Macy.\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
28*eda14cbcSMatt Macy.\" Copyright (c) 2014 Integros [integros.com]
29*eda14cbcSMatt Macy.\" Copyright 2019 Richard Laager. All rights reserved.
30*eda14cbcSMatt Macy.\" Copyright 2018 Nexenta Systems, Inc.
31*eda14cbcSMatt Macy.\" Copyright 2019 Joyent, Inc.
32*eda14cbcSMatt Macy.\"
33*eda14cbcSMatt Macy.Dd February 16, 2020
34*eda14cbcSMatt Macy.Dt ZFS-RECEIVE 8
35*eda14cbcSMatt Macy.Os
36*eda14cbcSMatt Macy.Sh NAME
37*eda14cbcSMatt Macy.Nm zfs Ns Pf - Cm receive
38*eda14cbcSMatt Macy.Nd Creates a snapshot whose contents are as specified in the stream provided on standard input.
39*eda14cbcSMatt Macy.Sh SYNOPSIS
40*eda14cbcSMatt Macy.Nm
41*eda14cbcSMatt Macy.Cm receive
42*eda14cbcSMatt Macy.Op Fl FhMnsuv
43*eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
44*eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
45*eda14cbcSMatt Macy.Op Fl x Ar property
46*eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
47*eda14cbcSMatt Macy.Nm
48*eda14cbcSMatt Macy.Cm receive
49*eda14cbcSMatt Macy.Op Fl FhMnsuv
50*eda14cbcSMatt Macy.Op Fl d Ns | Ns Fl e
51*eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
52*eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
53*eda14cbcSMatt Macy.Op Fl x Ar property
54*eda14cbcSMatt Macy.Ar filesystem
55*eda14cbcSMatt Macy.Nm
56*eda14cbcSMatt Macy.Cm receive
57*eda14cbcSMatt Macy.Fl A
58*eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
59*eda14cbcSMatt Macy.Sh DESCRIPTION
60*eda14cbcSMatt Macy.Bl -tag -width ""
61*eda14cbcSMatt Macy.It Xo
62*eda14cbcSMatt Macy.Nm
63*eda14cbcSMatt Macy.Cm receive
64*eda14cbcSMatt Macy.Op Fl FhMnsuv
65*eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
66*eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
67*eda14cbcSMatt Macy.Op Fl x Ar property
68*eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
69*eda14cbcSMatt Macy.Xc
70*eda14cbcSMatt Macy.It Xo
71*eda14cbcSMatt Macy.Nm
72*eda14cbcSMatt Macy.Cm receive
73*eda14cbcSMatt Macy.Op Fl FhMnsuv
74*eda14cbcSMatt Macy.Op Fl d Ns | Ns Fl e
75*eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
76*eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
77*eda14cbcSMatt Macy.Op Fl x Ar property
78*eda14cbcSMatt Macy.Ar filesystem
79*eda14cbcSMatt Macy.Xc
80*eda14cbcSMatt MacyCreates a snapshot whose contents are as specified in the stream provided on
81*eda14cbcSMatt Macystandard input.
82*eda14cbcSMatt MacyIf a full stream is received, then a new file system is created as well.
83*eda14cbcSMatt MacyStreams are created using the
84*eda14cbcSMatt Macy.Nm zfs Cm send
85*eda14cbcSMatt Macysubcommand, which by default creates a full stream.
86*eda14cbcSMatt Macy.Nm zfs Cm recv
87*eda14cbcSMatt Macycan be used as an alias for
88*eda14cbcSMatt Macy.Nm zfs Cm receive.
89*eda14cbcSMatt Macy.Pp
90*eda14cbcSMatt MacyIf an incremental stream is received, then the destination file system must
91*eda14cbcSMatt Macyalready exist, and its most recent snapshot must match the incremental stream's
92*eda14cbcSMatt Macysource.
93*eda14cbcSMatt MacyFor
94*eda14cbcSMatt Macy.Sy zvols ,
95*eda14cbcSMatt Macythe destination device link is destroyed and recreated, which means the
96*eda14cbcSMatt Macy.Sy zvol
97*eda14cbcSMatt Macycannot be accessed during the
98*eda14cbcSMatt Macy.Cm receive
99*eda14cbcSMatt Macyoperation.
100*eda14cbcSMatt Macy.Pp
101*eda14cbcSMatt MacyWhen a snapshot replication package stream that is generated by using the
102*eda14cbcSMatt Macy.Nm zfs Cm send Fl R
103*eda14cbcSMatt Macycommand is received, any snapshots that do not exist on the sending location are
104*eda14cbcSMatt Macydestroyed by using the
105*eda14cbcSMatt Macy.Nm zfs Cm destroy Fl d
106*eda14cbcSMatt Macycommand.
107*eda14cbcSMatt Macy.Pp
108*eda14cbcSMatt MacyThe ability to send and receive deduplicated send streams has been removed.
109*eda14cbcSMatt MacyHowever, a deduplicated send stream created with older software can be converted
110*eda14cbcSMatt Macyto a regular (non-deduplicated) stream by using the
111*eda14cbcSMatt Macy.Nm zstream Cm redup
112*eda14cbcSMatt Macycommand.
113*eda14cbcSMatt Macy.Pp
114*eda14cbcSMatt MacyIf
115*eda14cbcSMatt Macy.Fl o Em property Ns = Ns Ar value
116*eda14cbcSMatt Macyor
117*eda14cbcSMatt Macy.Fl x Em property
118*eda14cbcSMatt Macyis specified, it applies to the effective value of the property throughout
119*eda14cbcSMatt Macythe entire subtree of replicated datasets. Effective property values will be
120*eda14cbcSMatt Macyset (
121*eda14cbcSMatt Macy.Fl o
122*eda14cbcSMatt Macy) or inherited (
123*eda14cbcSMatt Macy.Fl x
124*eda14cbcSMatt Macy) on the topmost in the replicated subtree. In descendant datasets, if the
125*eda14cbcSMatt Macyproperty is set by the send stream, it will be overridden by forcing the
126*eda14cbcSMatt Macyproperty to be inherited from the top‐most file system. Received properties
127*eda14cbcSMatt Macyare retained in spite of being overridden and may be restored with
128*eda14cbcSMatt Macy.Nm zfs Cm inherit Fl S .
129*eda14cbcSMatt MacySpecifying
130*eda14cbcSMatt Macy.Fl o Sy origin Ns = Ns Em snapshot
131*eda14cbcSMatt Macyis a special case because, even if
132*eda14cbcSMatt Macy.Sy origin
133*eda14cbcSMatt Macyis a read-only property and cannot be set, it's allowed to receive the send
134*eda14cbcSMatt Macystream as a clone of the given snapshot.
135*eda14cbcSMatt Macy.Pp
136*eda14cbcSMatt MacyRaw encrypted send streams (created with
137*eda14cbcSMatt Macy.Nm zfs Cm send Fl w
138*eda14cbcSMatt Macy) may only be received as is, and cannot be re-encrypted, decrypted, or
139*eda14cbcSMatt Macyrecompressed by the receive process. Unencrypted streams can be received as
140*eda14cbcSMatt Macyencrypted datasets, either through inheritance or by specifying encryption
141*eda14cbcSMatt Macyparameters with the
142*eda14cbcSMatt Macy.Fl o
143*eda14cbcSMatt Macyoptions. Note that the
144*eda14cbcSMatt Macy.Sy keylocation
145*eda14cbcSMatt Macyproperty cannot be overridden to
146*eda14cbcSMatt Macy.Sy prompt
147*eda14cbcSMatt Macyduring a receive. This is because the receive process itself is already using
148*eda14cbcSMatt Macystdin for the send stream. Instead, the property can be overridden after the
149*eda14cbcSMatt Macyreceive completes.
150*eda14cbcSMatt Macy.Pp
151*eda14cbcSMatt MacyThe added security provided by raw sends adds some restrictions to the send
152*eda14cbcSMatt Macyand receive process. ZFS will not allow a mix of raw receives and non-raw
153*eda14cbcSMatt Macyreceives. Specifically, any raw incremental receives that are attempted after
154*eda14cbcSMatt Macya non-raw receive will fail. Non-raw receives do not have this restriction and,
155*eda14cbcSMatt Macytherefore, are always possible. Because of this, it is best practice to always
156*eda14cbcSMatt Macyuse either raw sends for their security benefits or non-raw sends for their
157*eda14cbcSMatt Macyflexibility when working with encrypted datasets, but not a combination.
158*eda14cbcSMatt Macy.Pp
159*eda14cbcSMatt MacyThe reason for this restriction stems from the inherent restrictions of the
160*eda14cbcSMatt MacyAEAD ciphers that ZFS uses to encrypt data. When using ZFS native encryption,
161*eda14cbcSMatt Macyeach block of data is encrypted against a randomly generated number known as
162*eda14cbcSMatt Macythe "initialization vector" (IV), which is stored in the filesystem metadata.
163*eda14cbcSMatt MacyThis number is required by the encryption algorithms whenever the data is to
164*eda14cbcSMatt Macybe decrypted. Together, all of the IVs provided for all of the blocks in a
165*eda14cbcSMatt Macygiven snapshot are collectively called an "IV set". When ZFS performs a raw
166*eda14cbcSMatt Macysend, the IV set is transferred from the source to the destination in the send
167*eda14cbcSMatt Macystream. When ZFS performs a non-raw send, the data is decrypted by the source
168*eda14cbcSMatt Macysystem and re-encrypted by the destination system, creating a snapshot with
169*eda14cbcSMatt Macyeffectively the same data, but a different IV set. In order for decryption to
170*eda14cbcSMatt Macywork after a raw send, ZFS must ensure that the IV set used on both the source
171*eda14cbcSMatt Macyand destination side match. When an incremental raw receive is performed on
172*eda14cbcSMatt Macytop of an existing snapshot, ZFS will check to confirm that the "from"
173*eda14cbcSMatt Macysnapshot on both the source and destination were using the same IV set,
174*eda14cbcSMatt Macyensuring the new IV set is consistent.
175*eda14cbcSMatt Macy.Pp
176*eda14cbcSMatt MacyThe name of the snapshot
177*eda14cbcSMatt Macy.Pq and file system, if a full stream is received
178*eda14cbcSMatt Macythat this subcommand creates depends on the argument type and the use of the
179*eda14cbcSMatt Macy.Fl d
180*eda14cbcSMatt Macyor
181*eda14cbcSMatt Macy.Fl e
182*eda14cbcSMatt Macyoptions.
183*eda14cbcSMatt Macy.Pp
184*eda14cbcSMatt MacyIf the argument is a snapshot name, the specified
185*eda14cbcSMatt Macy.Ar snapshot
186*eda14cbcSMatt Macyis created.
187*eda14cbcSMatt MacyIf the argument is a file system or volume name, a snapshot with the same name
188*eda14cbcSMatt Macyas the sent snapshot is created within the specified
189*eda14cbcSMatt Macy.Ar filesystem
190*eda14cbcSMatt Macyor
191*eda14cbcSMatt Macy.Ar volume .
192*eda14cbcSMatt MacyIf neither of the
193*eda14cbcSMatt Macy.Fl d
194*eda14cbcSMatt Macyor
195*eda14cbcSMatt Macy.Fl e
196*eda14cbcSMatt Macyoptions are specified, the provided target snapshot name is used exactly as
197*eda14cbcSMatt Macyprovided.
198*eda14cbcSMatt Macy.Pp
199*eda14cbcSMatt MacyThe
200*eda14cbcSMatt Macy.Fl d
201*eda14cbcSMatt Macyand
202*eda14cbcSMatt Macy.Fl e
203*eda14cbcSMatt Macyoptions cause the file system name of the target snapshot to be determined by
204*eda14cbcSMatt Macyappending a portion of the sent snapshot's name to the specified target
205*eda14cbcSMatt Macy.Ar filesystem .
206*eda14cbcSMatt MacyIf the
207*eda14cbcSMatt Macy.Fl d
208*eda14cbcSMatt Macyoption is specified, all but the first element of the sent snapshot's file
209*eda14cbcSMatt Macysystem path
210*eda14cbcSMatt Macy.Pq usually the pool name
211*eda14cbcSMatt Macyis used and any required intermediate file systems within the specified one are
212*eda14cbcSMatt Macycreated.
213*eda14cbcSMatt MacyIf the
214*eda14cbcSMatt Macy.Fl e
215*eda14cbcSMatt Macyoption is specified, then only the last element of the sent snapshot's file
216*eda14cbcSMatt Macysystem name
217*eda14cbcSMatt Macy.Pq i.e. the name of the source file system itself
218*eda14cbcSMatt Macyis used as the target file system name.
219*eda14cbcSMatt Macy.Bl -tag -width "-F"
220*eda14cbcSMatt Macy.It Fl F
221*eda14cbcSMatt MacyForce a rollback of the file system to the most recent snapshot before
222*eda14cbcSMatt Macyperforming the receive operation.
223*eda14cbcSMatt MacyIf receiving an incremental replication stream
224*eda14cbcSMatt Macy.Po for example, one generated by
225*eda14cbcSMatt Macy.Nm zfs Cm send Fl R Op Fl i Ns | Ns Fl I
226*eda14cbcSMatt Macy.Pc ,
227*eda14cbcSMatt Macydestroy snapshots and file systems that do not exist on the sending side.
228*eda14cbcSMatt Macy.It Fl d
229*eda14cbcSMatt MacyDiscard the first element of the sent snapshot's file system name, using the
230*eda14cbcSMatt Macyremaining elements to determine the name of the target file system for the new
231*eda14cbcSMatt Macysnapshot as described in the paragraph above.
232*eda14cbcSMatt Macy.It Fl e
233*eda14cbcSMatt MacyDiscard all but the last element of the sent snapshot's file system name, using
234*eda14cbcSMatt Macythat element to determine the name of the target file system for the new
235*eda14cbcSMatt Macysnapshot as described in the paragraph above.
236*eda14cbcSMatt Macy.It Fl h
237*eda14cbcSMatt MacySkip the receive of holds.  There is no effect if holds are not sent.
238*eda14cbcSMatt Macy.It Fl M
239*eda14cbcSMatt MacyForce an unmount of the file system while receiving a snapshot.
240*eda14cbcSMatt MacyThis option is not supported on Linux.
241*eda14cbcSMatt Macy.It Fl n
242*eda14cbcSMatt MacyDo not actually receive the stream.
243*eda14cbcSMatt MacyThis can be useful in conjunction with the
244*eda14cbcSMatt Macy.Fl v
245*eda14cbcSMatt Macyoption to verify the name the receive operation would use.
246*eda14cbcSMatt Macy.It Fl o Sy origin Ns = Ns Ar snapshot
247*eda14cbcSMatt MacyForces the stream to be received as a clone of the given snapshot.
248*eda14cbcSMatt MacyIf the stream is a full send stream, this will create the filesystem
249*eda14cbcSMatt Macydescribed by the stream as a clone of the specified snapshot.
250*eda14cbcSMatt MacyWhich snapshot was specified will not affect the success or failure of the
251*eda14cbcSMatt Macyreceive, as long as the snapshot does exist.
252*eda14cbcSMatt MacyIf the stream is an incremental send stream, all the normal verification will be
253*eda14cbcSMatt Macyperformed.
254*eda14cbcSMatt Macy.It Fl o Em property Ns = Ns Ar value
255*eda14cbcSMatt MacySets the specified property as if the command
256*eda14cbcSMatt Macy.Nm zfs Cm set Em property Ns = Ns Ar value
257*eda14cbcSMatt Macywas invoked immediately before the receive. When receiving a stream from
258*eda14cbcSMatt Macy.Nm zfs Cm send Fl R ,
259*eda14cbcSMatt Macycauses the property to be inherited by all descendant datasets, as through
260*eda14cbcSMatt Macy.Nm zfs Cm inherit Em property
261*eda14cbcSMatt Macywas run on any descendant datasets that have this property set on the
262*eda14cbcSMatt Macysending system.
263*eda14cbcSMatt Macy.Pp
264*eda14cbcSMatt MacyAny editable property can be set at receive time. Set-once properties bound
265*eda14cbcSMatt Macyto the received data, such as
266*eda14cbcSMatt Macy.Sy normalization
267*eda14cbcSMatt Macyand
268*eda14cbcSMatt Macy.Sy casesensitivity ,
269*eda14cbcSMatt Macycannot be set at receive time even when the datasets are newly created by
270*eda14cbcSMatt Macy.Nm zfs Cm receive .
271*eda14cbcSMatt MacyAdditionally both settable properties
272*eda14cbcSMatt Macy.Sy version
273*eda14cbcSMatt Macyand
274*eda14cbcSMatt Macy.Sy volsize
275*eda14cbcSMatt Macycannot be set at receive time.
276*eda14cbcSMatt Macy.Pp
277*eda14cbcSMatt MacyThe
278*eda14cbcSMatt Macy.Fl o
279*eda14cbcSMatt Macyoption may be specified multiple times, for different properties. An error
280*eda14cbcSMatt Macyresults if the same property is specified in multiple
281*eda14cbcSMatt Macy.Fl o
282*eda14cbcSMatt Macyor
283*eda14cbcSMatt Macy.Fl x
284*eda14cbcSMatt Macyoptions.
285*eda14cbcSMatt Macy.Pp
286*eda14cbcSMatt MacyThe
287*eda14cbcSMatt Macy.Fl o
288*eda14cbcSMatt Macyoption may also be used to override encryption properties upon initial
289*eda14cbcSMatt Macyreceive. This allows unencrypted streams to be received as encrypted datasets.
290*eda14cbcSMatt MacyTo cause the received dataset (or root dataset of a recursive stream) to be
291*eda14cbcSMatt Macyreceived as an encryption root, specify encryption properties in the same
292*eda14cbcSMatt Macymanner as is required for
293*eda14cbcSMatt Macy.Nm
294*eda14cbcSMatt Macy.Cm create .
295*eda14cbcSMatt MacyFor instance:
296*eda14cbcSMatt Macy.Bd -literal
297*eda14cbcSMatt Macy# zfs send tank/test@snap1 | zfs recv -o encryption=on -o keyformat=passphrase -o keylocation=file:///path/to/keyfile
298*eda14cbcSMatt Macy.Ed
299*eda14cbcSMatt Macy.Pp
300*eda14cbcSMatt MacyNote that
301*eda14cbcSMatt Macy.Op Fl o Ar keylocation Ns = Ns Ar prompt
302*eda14cbcSMatt Macymay not be specified here, since stdin is already being utilized for the send
303*eda14cbcSMatt Macystream. Once the receive has completed, you can use
304*eda14cbcSMatt Macy.Nm
305*eda14cbcSMatt Macy.Cm set
306*eda14cbcSMatt Macyto change this setting after the fact. Similarly, you can receive a dataset as
307*eda14cbcSMatt Macyan encrypted child by specifying
308*eda14cbcSMatt Macy.Op Fl x Ar encryption
309*eda14cbcSMatt Macyto force the property to be inherited. Overriding encryption properties (except
310*eda14cbcSMatt Macyfor
311*eda14cbcSMatt Macy.Sy keylocation Ns )
312*eda14cbcSMatt Macyis not possible with raw send streams.
313*eda14cbcSMatt Macy.It Fl s
314*eda14cbcSMatt MacyIf the receive is interrupted, save the partially received state, rather
315*eda14cbcSMatt Macythan deleting it.
316*eda14cbcSMatt MacyInterruption may be due to premature termination of the stream
317*eda14cbcSMatt Macy.Po e.g. due to network failure or failure of the remote system
318*eda14cbcSMatt Macyif the stream is being read over a network connection
319*eda14cbcSMatt Macy.Pc ,
320*eda14cbcSMatt Macya checksum error in the stream, termination of the
321*eda14cbcSMatt Macy.Nm zfs Cm receive
322*eda14cbcSMatt Macyprocess, or unclean shutdown of the system.
323*eda14cbcSMatt Macy.Pp
324*eda14cbcSMatt MacyThe receive can be resumed with a stream generated by
325*eda14cbcSMatt Macy.Nm zfs Cm send Fl t Ar token ,
326*eda14cbcSMatt Macywhere the
327*eda14cbcSMatt Macy.Ar token
328*eda14cbcSMatt Macyis the value of the
329*eda14cbcSMatt Macy.Sy receive_resume_token
330*eda14cbcSMatt Macyproperty of the filesystem or volume which is received into.
331*eda14cbcSMatt Macy.Pp
332*eda14cbcSMatt MacyTo use this flag, the storage pool must have the
333*eda14cbcSMatt Macy.Sy extensible_dataset
334*eda14cbcSMatt Macyfeature enabled.
335*eda14cbcSMatt MacySee
336*eda14cbcSMatt Macy.Xr zpool-features 5
337*eda14cbcSMatt Macyfor details on ZFS feature flags.
338*eda14cbcSMatt Macy.It Fl u
339*eda14cbcSMatt MacyFile system that is associated with the received stream is not mounted.
340*eda14cbcSMatt Macy.It Fl v
341*eda14cbcSMatt MacyPrint verbose information about the stream and the time required to perform the
342*eda14cbcSMatt Macyreceive operation.
343*eda14cbcSMatt Macy.It Fl x Em property
344*eda14cbcSMatt MacyEnsures that the effective value of the specified property after the
345*eda14cbcSMatt Macyreceive is unaffected by the value of that property in the send stream (if any),
346*eda14cbcSMatt Macyas if the property had been excluded from the send stream.
347*eda14cbcSMatt Macy.Pp
348*eda14cbcSMatt MacyIf the specified property is not present in the send stream, this option does
349*eda14cbcSMatt Macynothing.
350*eda14cbcSMatt Macy.Pp
351*eda14cbcSMatt MacyIf a received property needs to be overridden, the effective value will be
352*eda14cbcSMatt Macyset or inherited, depending on whether the property is inheritable or not.
353*eda14cbcSMatt Macy.Pp
354*eda14cbcSMatt MacyIn the case of an incremental update,
355*eda14cbcSMatt Macy.Fl x
356*eda14cbcSMatt Macyleaves any existing local setting or explicit inheritance unchanged.
357*eda14cbcSMatt Macy.Pp
358*eda14cbcSMatt MacyAll
359*eda14cbcSMatt Macy.Fl o
360*eda14cbcSMatt Macyrestrictions (e.g. set-once) apply equally to
361*eda14cbcSMatt Macy.Fl x .
362*eda14cbcSMatt Macy.El
363*eda14cbcSMatt Macy.It Xo
364*eda14cbcSMatt Macy.Nm
365*eda14cbcSMatt Macy.Cm receive
366*eda14cbcSMatt Macy.Fl A
367*eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
368*eda14cbcSMatt Macy.Xc
369*eda14cbcSMatt MacyAbort an interrupted
370*eda14cbcSMatt Macy.Nm zfs Cm receive Fl s ,
371*eda14cbcSMatt Macydeleting its saved partially received state.
372*eda14cbcSMatt Macy.El
373*eda14cbcSMatt Macy.Sh SEE ALSO
374*eda14cbcSMatt Macy.Xr zfs-send 8
375*eda14cbcSMatt Macy.Xr zstream 8
376