[GLLUG] Cloning a zfs data set to restore on another system

Jason L. Froebe jason.froebe at gmail.com
Thu Jan 1 12:44:28 EST 2015


Moving a ZFS file system from one system to another is really really
simple.

Create a snapshot of the file system (aka data set):
zfs snapshot vol0/jason at 1st

Use zfs & ssh to send/receive the snapshot:
zfs send vol0/jason at 1st | ssh root at 192.168.0.14 "zfs receive vol0/jason"
Confirmed to work with *BSD, Linux (kernel ZFS) and Solaris 2.10 (x86-64).

With btrfs it wasn't very reliable last year when I was testing it.
Hopefully it has been fixed.

jason

-- 
To stay young requires unceasing cultivation of the ability to unlearn old
falsehoods. -- Lazarus Long, "Time Enough For Love"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.egr.msu.edu/mailman/public/linux-user/attachments/20150101/6137406d/attachment.html>


More information about the linux-user mailing list