xref: /freebsd/sys/contrib/openzfs/man/man8/zfs-receive.8 (revision 3ff01b231dfa83d518854c63e7c9cd1debd1139e)
1eda14cbcSMatt Macy.\"
2eda14cbcSMatt Macy.\" CDDL HEADER START
3eda14cbcSMatt Macy.\"
4eda14cbcSMatt Macy.\" The contents of this file are subject to the terms of the
5eda14cbcSMatt Macy.\" Common Development and Distribution License (the "License").
6eda14cbcSMatt Macy.\" You may not use this file except in compliance with the License.
7eda14cbcSMatt Macy.\"
8eda14cbcSMatt Macy.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9eda14cbcSMatt Macy.\" or http://www.opensolaris.org/os/licensing.
10eda14cbcSMatt Macy.\" See the License for the specific language governing permissions
11eda14cbcSMatt Macy.\" and limitations under the License.
12eda14cbcSMatt Macy.\"
13eda14cbcSMatt Macy.\" When distributing Covered Code, include this CDDL HEADER in each
14eda14cbcSMatt Macy.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15eda14cbcSMatt Macy.\" If applicable, add the following below this CDDL HEADER, with the
16eda14cbcSMatt Macy.\" fields enclosed by brackets "[]" replaced with your own identifying
17eda14cbcSMatt Macy.\" information: Portions Copyright [yyyy] [name of copyright owner]
18eda14cbcSMatt Macy.\"
19eda14cbcSMatt Macy.\" CDDL HEADER END
20eda14cbcSMatt Macy.\"
21eda14cbcSMatt Macy.\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
22eda14cbcSMatt Macy.\" Copyright 2011 Joshua M. Clulow <josh@sysmgr.org>
23eda14cbcSMatt Macy.\" Copyright (c) 2011, 2019 by Delphix. All rights reserved.
24eda14cbcSMatt Macy.\" Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25eda14cbcSMatt Macy.\" Copyright (c) 2014, Joyent, Inc. All rights reserved.
26eda14cbcSMatt Macy.\" Copyright (c) 2014 by Adam Stevko. All rights reserved.
27eda14cbcSMatt Macy.\" Copyright (c) 2014 Integros [integros.com]
28eda14cbcSMatt Macy.\" Copyright 2019 Richard Laager. All rights reserved.
29eda14cbcSMatt Macy.\" Copyright 2018 Nexenta Systems, Inc.
30eda14cbcSMatt Macy.\" Copyright 2019 Joyent, Inc.
31eda14cbcSMatt Macy.\"
32eda14cbcSMatt Macy.Dd February 16, 2020
33eda14cbcSMatt Macy.Dt ZFS-RECEIVE 8
34eda14cbcSMatt Macy.Os
3516038816SMartin Matuska.
36eda14cbcSMatt Macy.Sh NAME
377877fdebSMatt Macy.Nm zfs-receive
3816038816SMartin Matuska.Nd create snapshot from backup stream
39eda14cbcSMatt Macy.Sh SYNOPSIS
407877fdebSMatt Macy.Nm zfs
41eda14cbcSMatt Macy.Cm receive
42eda14cbcSMatt Macy.Op Fl FhMnsuv
43eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
44eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
45eda14cbcSMatt Macy.Op Fl x Ar property
46eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
477877fdebSMatt Macy.Nm zfs
48eda14cbcSMatt Macy.Cm receive
49eda14cbcSMatt Macy.Op Fl FhMnsuv
50eda14cbcSMatt Macy.Op Fl d Ns | Ns Fl e
51eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
52eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
53eda14cbcSMatt Macy.Op Fl x Ar property
54eda14cbcSMatt Macy.Ar filesystem
557877fdebSMatt Macy.Nm zfs
56eda14cbcSMatt Macy.Cm receive
57eda14cbcSMatt Macy.Fl A
58eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
5916038816SMartin Matuska.
60eda14cbcSMatt Macy.Sh DESCRIPTION
61eda14cbcSMatt Macy.Bl -tag -width ""
62eda14cbcSMatt Macy.It Xo
637877fdebSMatt Macy.Nm zfs
64eda14cbcSMatt Macy.Cm receive
65eda14cbcSMatt Macy.Op Fl FhMnsuv
66eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
67eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
68eda14cbcSMatt Macy.Op Fl x Ar property
69eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
70eda14cbcSMatt Macy.Xc
71eda14cbcSMatt Macy.It Xo
727877fdebSMatt Macy.Nm zfs
73eda14cbcSMatt Macy.Cm receive
74eda14cbcSMatt Macy.Op Fl FhMnsuv
75eda14cbcSMatt Macy.Op Fl d Ns | Ns Fl e
76eda14cbcSMatt Macy.Op Fl o Sy origin Ns = Ns Ar snapshot
77eda14cbcSMatt Macy.Op Fl o Ar property Ns = Ns Ar value
78eda14cbcSMatt Macy.Op Fl x Ar property
79eda14cbcSMatt Macy.Ar filesystem
80eda14cbcSMatt Macy.Xc
81eda14cbcSMatt MacyCreates a snapshot whose contents are as specified in the stream provided on
82eda14cbcSMatt Macystandard input.
83eda14cbcSMatt MacyIf a full stream is received, then a new file system is created as well.
84eda14cbcSMatt MacyStreams are created using the
85eda14cbcSMatt Macy.Nm zfs Cm send
86eda14cbcSMatt Macysubcommand, which by default creates a full stream.
87eda14cbcSMatt Macy.Nm zfs Cm recv
88eda14cbcSMatt Macycan be used as an alias for
89eda14cbcSMatt Macy.Nm zfs Cm receive .
90eda14cbcSMatt Macy.Pp
91eda14cbcSMatt MacyIf an incremental stream is received, then the destination file system must
92eda14cbcSMatt Macyalready exist, and its most recent snapshot must match the incremental stream's
93eda14cbcSMatt Macysource.
94eda14cbcSMatt MacyFor
95eda14cbcSMatt Macy.Sy zvols ,
96eda14cbcSMatt Macythe destination device link is destroyed and recreated, which means the
97eda14cbcSMatt Macy.Sy zvol
98eda14cbcSMatt Macycannot be accessed during the
99eda14cbcSMatt Macy.Cm receive
100eda14cbcSMatt Macyoperation.
101eda14cbcSMatt Macy.Pp
102eda14cbcSMatt MacyWhen a snapshot replication package stream that is generated by using the
103eda14cbcSMatt Macy.Nm zfs Cm send Fl R
104eda14cbcSMatt Macycommand is received, any snapshots that do not exist on the sending location are
105eda14cbcSMatt Macydestroyed by using the
106eda14cbcSMatt Macy.Nm zfs Cm destroy Fl d
107eda14cbcSMatt Macycommand.
108eda14cbcSMatt Macy.Pp
109eda14cbcSMatt MacyThe ability to send and receive deduplicated send streams has been removed.
110eda14cbcSMatt MacyHowever, a deduplicated send stream created with older software can be converted
111eda14cbcSMatt Macyto a regular (non-deduplicated) stream by using the
112eda14cbcSMatt Macy.Nm zstream Cm redup
113eda14cbcSMatt Macycommand.
114eda14cbcSMatt Macy.Pp
115eda14cbcSMatt MacyIf
116eda14cbcSMatt Macy.Fl o Em property Ns = Ns Ar value
117eda14cbcSMatt Macyor
118eda14cbcSMatt Macy.Fl x Em property
119eda14cbcSMatt Macyis specified, it applies to the effective value of the property throughout
12016038816SMartin Matuskathe entire subtree of replicated datasets.
12116038816SMartin MatuskaEffective property values will be set
12216038816SMartin Matuska.Pq Fl o
12316038816SMartin Matuskaor inherited
12416038816SMartin Matuska.Pq Fl x
12516038816SMartin Matuskaon the topmost in the replicated subtree.
12616038816SMartin MatuskaIn descendant datasets, if the
127eda14cbcSMatt Macyproperty is set by the send stream, it will be overridden by forcing the
12816038816SMartin Matuskaproperty to be inherited from the top‐most file system.
12916038816SMartin MatuskaReceived properties are retained in spite of being overridden
13016038816SMartin Matuskaand may be restored with
131eda14cbcSMatt Macy.Nm zfs Cm inherit Fl S .
132eda14cbcSMatt MacySpecifying
133eda14cbcSMatt Macy.Fl o Sy origin Ns = Ns Em snapshot
134eda14cbcSMatt Macyis a special case because, even if
135eda14cbcSMatt Macy.Sy origin
136eda14cbcSMatt Macyis a read-only property and cannot be set, it's allowed to receive the send
137eda14cbcSMatt Macystream as a clone of the given snapshot.
138eda14cbcSMatt Macy.Pp
139eda14cbcSMatt MacyRaw encrypted send streams (created with
14016038816SMartin Matuska.Nm zfs Cm send Fl w )
14116038816SMartin Matuskamay only be received as is, and cannot be re-encrypted, decrypted, or
14216038816SMartin Matuskarecompressed by the receive process.
14316038816SMartin MatuskaUnencrypted streams can be received as
144eda14cbcSMatt Macyencrypted datasets, either through inheritance or by specifying encryption
145eda14cbcSMatt Macyparameters with the
146eda14cbcSMatt Macy.Fl o
14716038816SMartin Matuskaoptions.
14816038816SMartin MatuskaNote that the
149eda14cbcSMatt Macy.Sy keylocation
150eda14cbcSMatt Macyproperty cannot be overridden to
151eda14cbcSMatt Macy.Sy prompt
15216038816SMartin Matuskaduring a receive.
15316038816SMartin MatuskaThis is because the receive process itself is already using
15416038816SMartin Matuskathe standard input for the send stream.
15516038816SMartin MatuskaInstead, the property can be overridden after the receive completes.
156eda14cbcSMatt Macy.Pp
157eda14cbcSMatt MacyThe added security provided by raw sends adds some restrictions to the send
15816038816SMartin Matuskaand receive process.
15916038816SMartin MatuskaZFS will not allow a mix of raw receives and non-raw receives.
16016038816SMartin MatuskaSpecifically, any raw incremental receives that are attempted after
16116038816SMartin Matuskaa non-raw receive will fail.
16216038816SMartin MatuskaNon-raw receives do not have this restriction and,
16316038816SMartin Matuskatherefore, are always possible.
16416038816SMartin MatuskaBecause of this, it is best practice to always
165eda14cbcSMatt Macyuse either raw sends for their security benefits or non-raw sends for their
166eda14cbcSMatt Macyflexibility when working with encrypted datasets, but not a combination.
167eda14cbcSMatt Macy.Pp
168eda14cbcSMatt MacyThe reason for this restriction stems from the inherent restrictions of the
16916038816SMartin MatuskaAEAD ciphers that ZFS uses to encrypt data.
17016038816SMartin MatuskaWhen using ZFS native encryption,
171eda14cbcSMatt Macyeach block of data is encrypted against a randomly generated number known as
172eda14cbcSMatt Macythe "initialization vector" (IV), which is stored in the filesystem metadata.
173eda14cbcSMatt MacyThis number is required by the encryption algorithms whenever the data is to
17416038816SMartin Matuskabe decrypted.
17516038816SMartin MatuskaTogether, all of the IVs provided for all of the blocks in a
17616038816SMartin Matuskagiven snapshot are collectively called an "IV set".
17716038816SMartin MatuskaWhen ZFS performs a raw send, the IV set is transferred from the source
17816038816SMartin Matuskato the destination in the send stream.
17916038816SMartin MatuskaWhen ZFS performs a non-raw send, the data is decrypted by the source
180eda14cbcSMatt Macysystem and re-encrypted by the destination system, creating a snapshot with
18116038816SMartin Matuskaeffectively the same data, but a different IV set.
18216038816SMartin MatuskaIn order for decryption to work after a raw send, ZFS must ensure that
18316038816SMartin Matuskathe IV set used on both the source and destination side match.
18416038816SMartin MatuskaWhen an incremental raw receive is performed on
185eda14cbcSMatt Macytop of an existing snapshot, ZFS will check to confirm that the "from"
186eda14cbcSMatt Macysnapshot on both the source and destination were using the same IV set,
187eda14cbcSMatt Macyensuring the new IV set is consistent.
188eda14cbcSMatt Macy.Pp
189eda14cbcSMatt MacyThe name of the snapshot
190eda14cbcSMatt Macy.Pq and file system, if a full stream is received
191eda14cbcSMatt Macythat this subcommand creates depends on the argument type and the use of the
192eda14cbcSMatt Macy.Fl d
193eda14cbcSMatt Macyor
194eda14cbcSMatt Macy.Fl e
195eda14cbcSMatt Macyoptions.
196eda14cbcSMatt Macy.Pp
197eda14cbcSMatt MacyIf the argument is a snapshot name, the specified
198eda14cbcSMatt Macy.Ar snapshot
199eda14cbcSMatt Macyis created.
200eda14cbcSMatt MacyIf the argument is a file system or volume name, a snapshot with the same name
201eda14cbcSMatt Macyas the sent snapshot is created within the specified
202eda14cbcSMatt Macy.Ar filesystem
203eda14cbcSMatt Macyor
204eda14cbcSMatt Macy.Ar volume .
205eda14cbcSMatt MacyIf neither of the
206eda14cbcSMatt Macy.Fl d
207eda14cbcSMatt Macyor
208eda14cbcSMatt Macy.Fl e
209eda14cbcSMatt Macyoptions are specified, the provided target snapshot name is used exactly as
210eda14cbcSMatt Macyprovided.
211eda14cbcSMatt Macy.Pp
212eda14cbcSMatt MacyThe
213eda14cbcSMatt Macy.Fl d
214eda14cbcSMatt Macyand
215eda14cbcSMatt Macy.Fl e
216eda14cbcSMatt Macyoptions cause the file system name of the target snapshot to be determined by
217eda14cbcSMatt Macyappending a portion of the sent snapshot's name to the specified target
218eda14cbcSMatt Macy.Ar filesystem .
219eda14cbcSMatt MacyIf the
220eda14cbcSMatt Macy.Fl d
221eda14cbcSMatt Macyoption is specified, all but the first element of the sent snapshot's file
222eda14cbcSMatt Macysystem path
223eda14cbcSMatt Macy.Pq usually the pool name
224eda14cbcSMatt Macyis used and any required intermediate file systems within the specified one are
225eda14cbcSMatt Macycreated.
226eda14cbcSMatt MacyIf the
227eda14cbcSMatt Macy.Fl e
228eda14cbcSMatt Macyoption is specified, then only the last element of the sent snapshot's file
229eda14cbcSMatt Macysystem name
230eda14cbcSMatt Macy.Pq i.e. the name of the source file system itself
231eda14cbcSMatt Macyis used as the target file system name.
232eda14cbcSMatt Macy.Bl -tag -width "-F"
233eda14cbcSMatt Macy.It Fl F
234eda14cbcSMatt MacyForce a rollback of the file system to the most recent snapshot before
235eda14cbcSMatt Macyperforming the receive operation.
236eda14cbcSMatt MacyIf receiving an incremental replication stream
237eda14cbcSMatt Macy.Po for example, one generated by
238eda14cbcSMatt Macy.Nm zfs Cm send Fl R Op Fl i Ns | Ns Fl I
239eda14cbcSMatt Macy.Pc ,
240eda14cbcSMatt Macydestroy snapshots and file systems that do not exist on the sending side.
241eda14cbcSMatt Macy.It Fl d
242eda14cbcSMatt MacyDiscard the first element of the sent snapshot's file system name, using the
243eda14cbcSMatt Macyremaining elements to determine the name of the target file system for the new
244eda14cbcSMatt Macysnapshot as described in the paragraph above.
245eda14cbcSMatt Macy.It Fl e
246eda14cbcSMatt MacyDiscard all but the last element of the sent snapshot's file system name, using
247eda14cbcSMatt Macythat element to determine the name of the target file system for the new
248eda14cbcSMatt Macysnapshot as described in the paragraph above.
249eda14cbcSMatt Macy.It Fl h
25016038816SMartin MatuskaSkip the receive of holds.
25116038816SMartin MatuskaThere is no effect if holds are not sent.
252eda14cbcSMatt Macy.It Fl M
253eda14cbcSMatt MacyForce an unmount of the file system while receiving a snapshot.
254eda14cbcSMatt MacyThis option is not supported on Linux.
255eda14cbcSMatt Macy.It Fl n
256eda14cbcSMatt MacyDo not actually receive the stream.
257eda14cbcSMatt MacyThis can be useful in conjunction with the
258eda14cbcSMatt Macy.Fl v
259eda14cbcSMatt Macyoption to verify the name the receive operation would use.
260eda14cbcSMatt Macy.It Fl o Sy origin Ns = Ns Ar snapshot
261eda14cbcSMatt MacyForces the stream to be received as a clone of the given snapshot.
262eda14cbcSMatt MacyIf the stream is a full send stream, this will create the filesystem
263eda14cbcSMatt Macydescribed by the stream as a clone of the specified snapshot.
264eda14cbcSMatt MacyWhich snapshot was specified will not affect the success or failure of the
265eda14cbcSMatt Macyreceive, as long as the snapshot does exist.
266eda14cbcSMatt MacyIf the stream is an incremental send stream, all the normal verification will be
267eda14cbcSMatt Macyperformed.
268eda14cbcSMatt Macy.It Fl o Em property Ns = Ns Ar value
269eda14cbcSMatt MacySets the specified property as if the command
270eda14cbcSMatt Macy.Nm zfs Cm set Em property Ns = Ns Ar value
27116038816SMartin Matuskawas invoked immediately before the receive.
27216038816SMartin MatuskaWhen receiving a stream from
273eda14cbcSMatt Macy.Nm zfs Cm send Fl R ,
274eda14cbcSMatt Macycauses the property to be inherited by all descendant datasets, as through
275eda14cbcSMatt Macy.Nm zfs Cm inherit Em property
276eda14cbcSMatt Macywas run on any descendant datasets that have this property set on the
277eda14cbcSMatt Macysending system.
278eda14cbcSMatt Macy.Pp
2799db44a8eSMartin MatuskaIf the send stream was sent with
2809db44a8eSMartin Matuska.Fl c
2819db44a8eSMartin Matuskathen overriding the
2829db44a8eSMartin Matuska.Sy compression
2839db44a8eSMartin Matuskaproperty will have no affect on received data but the
2849db44a8eSMartin Matuska.Sy compression
28516038816SMartin Matuskaproperty will be set.
28616038816SMartin MatuskaTo have the data recompressed on receive remove the
2879db44a8eSMartin Matuska.Fl c
2889db44a8eSMartin Matuskaflag from the send stream.
2899db44a8eSMartin Matuska.Pp
29016038816SMartin MatuskaAny editable property can be set at receive time.
29116038816SMartin MatuskaSet-once properties bound
292eda14cbcSMatt Macyto the received data, such as
293eda14cbcSMatt Macy.Sy normalization
294eda14cbcSMatt Macyand
295eda14cbcSMatt Macy.Sy casesensitivity ,
296eda14cbcSMatt Macycannot be set at receive time even when the datasets are newly created by
297eda14cbcSMatt Macy.Nm zfs Cm receive .
298eda14cbcSMatt MacyAdditionally both settable properties
299eda14cbcSMatt Macy.Sy version
300eda14cbcSMatt Macyand
301eda14cbcSMatt Macy.Sy volsize
302eda14cbcSMatt Macycannot be set at receive time.
303eda14cbcSMatt Macy.Pp
304eda14cbcSMatt MacyThe
305eda14cbcSMatt Macy.Fl o
30616038816SMartin Matuskaoption may be specified multiple times, for different properties.
30716038816SMartin MatuskaAn error results if the same property is specified in multiple
308eda14cbcSMatt Macy.Fl o
309eda14cbcSMatt Macyor
310eda14cbcSMatt Macy.Fl x
311eda14cbcSMatt Macyoptions.
312eda14cbcSMatt Macy.Pp
313eda14cbcSMatt MacyThe
314eda14cbcSMatt Macy.Fl o
31516038816SMartin Matuskaoption may also be used to override encryption properties upon initial receive.
31616038816SMartin MatuskaThis allows unencrypted streams to be received as encrypted datasets.
317eda14cbcSMatt MacyTo cause the received dataset (or root dataset of a recursive stream) to be
318eda14cbcSMatt Macyreceived as an encryption root, specify encryption properties in the same
319eda14cbcSMatt Macymanner as is required for
32016038816SMartin Matuska.Nm zfs Cm create .
321eda14cbcSMatt MacyFor instance:
32216038816SMartin Matuska.Dl # Nm zfs Cm send Pa tank/test@snap1 | Nm zfs Cm recv Fl o Sy encryption Ns = Ns Sy on Fl o keyformat=passphrase Fl o Sy keylocation Ns = Ns Pa file:///path/to/keyfile
323eda14cbcSMatt Macy.Pp
324eda14cbcSMatt MacyNote that
32516038816SMartin Matuska.Fl o Sy keylocation Ns = Ns Sy prompt
32616038816SMartin Matuskamay not be specified here, since the standard input
32716038816SMartin Matuskais already being utilized for the send stream.
32816038816SMartin MatuskaOnce the receive has completed, you can use
32916038816SMartin Matuska.Nm zfs Cm set
33016038816SMartin Matuskato change this setting after the fact.
33116038816SMartin MatuskaSimilarly, you can receive a dataset as an encrypted child by specifying
332eda14cbcSMatt Macy.Op Fl x Ar encryption
33316038816SMartin Matuskato force the property to be inherited.
33416038816SMartin MatuskaOverriding encryption properties (except for
33516038816SMartin Matuska.Sy keylocation )
336eda14cbcSMatt Macyis not possible with raw send streams.
337eda14cbcSMatt Macy.It Fl s
338eda14cbcSMatt MacyIf the receive is interrupted, save the partially received state, rather
339eda14cbcSMatt Macythan deleting it.
340eda14cbcSMatt MacyInterruption may be due to premature termination of the stream
341eda14cbcSMatt Macy.Po e.g. due to network failure or failure of the remote system
342eda14cbcSMatt Macyif the stream is being read over a network connection
343eda14cbcSMatt Macy.Pc ,
344eda14cbcSMatt Macya checksum error in the stream, termination of the
345eda14cbcSMatt Macy.Nm zfs Cm receive
346eda14cbcSMatt Macyprocess, or unclean shutdown of the system.
347eda14cbcSMatt Macy.Pp
348eda14cbcSMatt MacyThe receive can be resumed with a stream generated by
349eda14cbcSMatt Macy.Nm zfs Cm send Fl t Ar token ,
350eda14cbcSMatt Macywhere the
351eda14cbcSMatt Macy.Ar token
352eda14cbcSMatt Macyis the value of the
353eda14cbcSMatt Macy.Sy receive_resume_token
354eda14cbcSMatt Macyproperty of the filesystem or volume which is received into.
355eda14cbcSMatt Macy.Pp
356eda14cbcSMatt MacyTo use this flag, the storage pool must have the
357eda14cbcSMatt Macy.Sy extensible_dataset
358eda14cbcSMatt Macyfeature enabled.
359eda14cbcSMatt MacySee
360*3ff01b23SMartin Matuska.Xr zpool-features 7
361eda14cbcSMatt Macyfor details on ZFS feature flags.
362eda14cbcSMatt Macy.It Fl u
363eda14cbcSMatt MacyFile system that is associated with the received stream is not mounted.
364eda14cbcSMatt Macy.It Fl v
365eda14cbcSMatt MacyPrint verbose information about the stream and the time required to perform the
366eda14cbcSMatt Macyreceive operation.
367eda14cbcSMatt Macy.It Fl x Em property
368eda14cbcSMatt MacyEnsures that the effective value of the specified property after the
369eda14cbcSMatt Macyreceive is unaffected by the value of that property in the send stream (if any),
370eda14cbcSMatt Macyas if the property had been excluded from the send stream.
371eda14cbcSMatt Macy.Pp
372eda14cbcSMatt MacyIf the specified property is not present in the send stream, this option does
373eda14cbcSMatt Macynothing.
374eda14cbcSMatt Macy.Pp
375eda14cbcSMatt MacyIf a received property needs to be overridden, the effective value will be
376eda14cbcSMatt Macyset or inherited, depending on whether the property is inheritable or not.
377eda14cbcSMatt Macy.Pp
378eda14cbcSMatt MacyIn the case of an incremental update,
379eda14cbcSMatt Macy.Fl x
380eda14cbcSMatt Macyleaves any existing local setting or explicit inheritance unchanged.
381eda14cbcSMatt Macy.Pp
382eda14cbcSMatt MacyAll
383eda14cbcSMatt Macy.Fl o
384eda14cbcSMatt Macyrestrictions (e.g. set-once) apply equally to
385eda14cbcSMatt Macy.Fl x .
386eda14cbcSMatt Macy.El
387eda14cbcSMatt Macy.It Xo
3887877fdebSMatt Macy.Nm zfs
389eda14cbcSMatt Macy.Cm receive
390eda14cbcSMatt Macy.Fl A
391eda14cbcSMatt Macy.Ar filesystem Ns | Ns Ar volume
392eda14cbcSMatt Macy.Xc
393eda14cbcSMatt MacyAbort an interrupted
394eda14cbcSMatt Macy.Nm zfs Cm receive Fl s ,
395eda14cbcSMatt Macydeleting its saved partially received state.
396eda14cbcSMatt Macy.El
39716038816SMartin Matuska.
398eda14cbcSMatt Macy.Sh SEE ALSO
39916038816SMartin Matuska.Xr zfs-send 8 ,
400eda14cbcSMatt Macy.Xr zstream 8
401