]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/common.run
zdb: add -B option to generate backup stream
authorRob Norris <rob.norris@klarasystems.com>
Wed, 15 Mar 2023 07:18:10 +0000 (18:18 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 5 Jun 2023 18:54:42 +0000 (11:54 -0700)
commit8653f1de48ee5b41e2bf421785e1279a08c6b903
tree91b1d9e99b9b519e4f9692d50ad3f5a45e745787
parent2b9f8ba6736419d38292bee218f2756997a02c8c
zdb: add -B option to generate backup stream

This is more-or-less like `zfs send`, but specifying the snapshot by its
objset id for situations where it can't be referenced any other way.

Sponsored-By: Klara, Inc.
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: WHR <msl0000023508@gmail.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #14642
cmd/zdb/zdb.c
man/man8/zdb.8
module/zfs/dmu_send.c
tests/runfiles/common.run
tests/zfs-tests/tests/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zdb/zdb_backup.ksh [new file with mode: 0755]