Sending a ZFS snaphot

You can use the zfs send command to send a copy of a snapshot stream and receive the snapshot stream in another pool on the same system or in another pool on a different system that is used to store backup data.

For example, to send the snapshot stream on a different pool to the same system, use syntax similar to the following:

# zfs send pinky/data@now | zfs recv perky/newdata

Note: You can use zfs recv as an alias for the zfs receive command.

If you are sending the snapshot stream to a different system, pipe the zfs send output through the ssh command. For example:

host1# zfs send pinky/data@now | ssh host2 zfs recv perky/newdata

Note: When you send a full stream, the destination file system must not exist.

You can send incremental data by using the zfs send -i option. For example:

host1# zfs send -i pinky/data@snap1 pinky/data@snap2 | ssh host2 zfs recv perky/newdata