Remote Replication of ZFS Data
You can use the zfs send
and zfs recv
commands to remotely copy a snapshot stream representation from one system to another system. For example:
$ zfs send system1/kaydo@today | ssh newsys zfs recv sandbox/restfs@today
This command sends the system1/kaydo@today
snapshot data and receives it into the sandbox/restfs
file system. The command also creates a restfs@today
snapshot on the newsys
system. In this example, the user has been configured to use ssh
on the remote system.