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

No comments:

UNIX: How to print column nicely using printf

[user@hostfwnms1-oam tmp]# cat b.sh printf "%-26s %-19s %-8s %-8s %-s %-s\n" HOSTNAME IP PING SNMPWALK 0-ok 1-fail for i in `cat n...