These commands will migrate one zfs pool to another server using netcat

zfs snapshot -r data@migrate_20200215
zfs list -t snapshot
zfs send -R data@migrate_20200215 | nc -l 3333

On the remote server you can execute

nc 3333 | zfs recv -Fd data

The version with netcat performed with much higher transfere speed than if you would use ssh.

Revision #3
Created 15 February 2020 05:49:55 by Bodo
Updated 15 February 2020 06:10:23 by Bodo