Using Resumable Replication
If the transfer of data using zfs receive
is interrupted, you can restart the process. For instance, if you started the transfer with this command.
system1$ zfs send pool/diant@snap1 | ssh system2 zfs recv pool/hsolo
If the transfer is interrupted, you will have an incomplete dataset. You can resume the transfer using this series of commands:
system1$ ssh system2 zfs receive -C pool/hsolo | zfs send -C pool/diant@snap1 | \ ssh system2 zfs receive pool/hsolo
To see which datasets are incomplete use the zfs list -I
command, see Listing Incomplete ZFS Datasets.