]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/linux.run
Want 'zfs send -b'
authorLOLi <loli10K@users.noreply.github.com>
Wed, 21 Feb 2018 20:32:06 +0000 (21:32 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 21 Feb 2018 20:32:06 +0000 (12:32 -0800)
commitfaa97c1619e5d7b51b2077db18fb92c5279b9db3
tree008822d20f9ce2c832fff79b89564c0cb76806a8
parentb0918402dc9a0f81dd52880fbd4e4f4f2133764b
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 <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7156
cmd/zfs/zfs_main.c
include/libzfs.h
lib/libzfs/libzfs_sendrecv.c
man/man8/zfs.8
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh
tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib