Friday, November 18, 2011

Solaris Remote Replication of ZFS Dat

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:

This command sends the tank/cindy@today snapshot data and receives it into the sandbox/restfs file system and also creates arestfs@today snapshot on the newsys system. In this example, the user has been configured to use ssh on the remote system.

# zfs send tank/cindy@today | ssh newsys zfs recv sandbox/restfs@today