allanjude / zxfer

A continuation of development on zxfer, a popular script for managing ZFS snapshot replication
BSD 2-Clause "Simplified" License
124 stars 40 forks source link

zfs recv -u not covered by zxfer #7

Open ghost opened 9 years ago

ghost commented 9 years ago

zfs recv -u permits you to receive filesystems but not mount them. This would be a nice addition to zxfer so I can backup an entire zfs on root OS and not have to worry about filesystems getting mounted after they've been received and conflicting with the running OS.

From the zfs man page:

     -u      File system that is associated with the received stream is
             not mounted.