5.7.4 Remote Replication of a ZFS File System
You can also use the zfs backup and zfs restore commands to remotely copy a file system from one system to another system.
For example:
# zfs backup tank/cindy@today | ssh newsys zfs restore sandbox/restfs@today
restoring backup of tank/cindy@today
into sandbox/restfs@today ...
restored 17.8Kb backup in 1 seconds (17.8Kb/sec)
|
The syntax above backs up thetank/cindy@today snapshot
and restores it into the sandbox/restored file system and also
creates a restfs@today snapshot on the newsys system.
This syntax assumes that the user has been configured to ssh on
the remote system.
|