complete clone/restore from a ZFS-based system replication stream
Mike Tancsa
mike at sentex.net
Tue Sep 27 16:48:16 UTC 2016
On 9/27/2016 12:10 PM, Dean E. Weimer wrote:
>> zfs snapshot -r zroot at backup
>> zfs send -R zroot at backup >
>> /nfs-mount-on-backup-server/zroot-full-snap.zfs
>>
>
> I believe you should be using a -p on the zfs send comand to have it
> send properties, otherwise you need to first create the dataset with the
> properties and use zfs receive -F to restore the dataset over the
> existing dataset which will then inherit those properties.
According to the docs,
-p Include the dataset's properties in the stream. This flag is
implicit when -R is specified.
but probably good to specify on the CLI to make it more obvious/deliberate
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
More information about the freebsd-questions
mailing list