mirror_zfs/cmd
Sean Eric Fagan 565089f592
Allow zfs send to exclude datasets
Add support for a -exclude/-X option to `zfs send` to allow dataset 
hierarchies to be excluded.

Snapshots can be excluded using a channel program; however,
this can result in failures with 'zfs send -R'; this option allows 
them to be excluded.  Fortunately, this required a change only to 
cmd/zfs/zfs_main.c, using the already-existing callback argument 
to zfs_send() that is currently unused.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Christian Schwarz <christian.schwarz@nutanix.com>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Sean Eric Fagan <kithrup@mac.com>
Signed-off-by: Sean Eric Fagan <kithrup@mac.com>
Closes #13158
2022-03-18 17:02:12 -07:00
..
arc_summary Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
arcstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
dbufstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
fsck_zfs Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00
mount_zfs Rename fallthrough to zfs_fallthrough 2022-02-15 08:58:59 -08:00
raidz_test Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
vdev_id Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
zdb Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
zed Replace FMD_B_{TRUE,FALSE} with B_{TRUE,FALSE} 2022-03-15 15:13:58 -07:00
zfs Allow zfs send to exclude datasets 2022-03-18 17:02:12 -07:00
zfs_ids_to_path zfs_ids_to_path: print correct wrong values 2021-04-11 11:58:16 -07:00
zgenhostid Use _Noreturn (C11; GNU89) properly 2022-03-04 16:25:22 -08:00
zhack Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
zinject Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00
zpool zpool: get: there's one fewer column than in zfs get 2022-03-15 15:14:18 -07:00
zpool_influxdb Correct compilation errors reported by GCC 10/11 2022-02-20 19:20:00 -08:00
zstream Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00
ztest Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
zvol_id Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
zvol_wait Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00
Makefile.am Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00