aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLOLi <[email protected]>2018-02-21 21:32:06 +0100
committerBrian Behlendorf <[email protected]>2018-02-21 12:32:06 -0800
commitfaa97c1619e5d7b51b2077db18fb92c5279b9db3 (patch)
tree008822d20f9ce2c832fff79b89564c0cb76806a8 /man
parentb0918402dc9a0f81dd52880fbd4e4f4f2133764b (diff)
Want 'zfs send -b'
This change implements 'zfs send -b' which can be used to send only received property values whether or not they are overridden by local settings. This can be very useful during "restore" operations from a backup pool because it allows to send only the property values originally sent from the backup source, even though they were later modified on the destination either by a 'zfs set' operation, explicit 'zfs inherit' or overridden during the receive process via 'zfs receive -o|-x'. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #7156
Diffstat (limited to 'man')
-rw-r--r--man/man8/zfs.812
1 files changed, 10 insertions, 2 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index f42851328..ea585b533 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -194,7 +194,7 @@
.Ar snapshot bookmark
.Nm
.Cm send
-.Op Fl DLPRcenpvw
+.Op Fl DLPRbcenpvw
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Nm
@@ -3321,7 +3321,7 @@ feature.
.It Xo
.Nm
.Cm send
-.Op Fl DLPRcenpvw
+.Op Fl DLPRbcenpvw
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
.Ar snapshot
.Xc
@@ -3417,6 +3417,14 @@ See
for details on ZFS feature flags and the
.Sy embedded_data
feature.
+.It Fl b, -backup
+Sends only received property values whether or not they are overridden by local
+settings, but only if the dataset has ever been received. Use this option when
+you want
+.Nm zfs Cm receive
+to restore received properties backed up on the sent dataset and to avoid
+sending local settings that may have nothing to do with the source dataset,
+but only with how the data is backed up.
.It Fl c, -compressed
Generate a more compact stream by using compressed WRITE records for blocks
which are compressed on disk and in memory