ZFS How to move a zfs filesystem to a different zpool

I have 25 zfs filesystems I want to move incuding 2 vdevs. What is the easiest way to move them to another zpool? The mount points should be the same.
/usr/local is one of them.
 
I have used zfs snapshot -r source_pool@replica and
zfs send -R source_pool@replica | zfs receive -F dest_pool
for that purpose.

And after that zpool set bootfs=dest_pool/ROOT/default dest_pool
to make the new pool bootable.
 
Last edited:
Back
Top