Date: Tue, 27 Sep 2016 12:48:14 -0400 From: Mike Tancsa <mike@sentex.net> To: dweimer@dweimer.net Cc: Victor Sudakov <vas@mpeks.tomsk.su>, freebsd-questions@freebsd.org Subject: Re: complete clone/restore from a ZFS-based system replication stream Message-ID: <c508842d-6317-75bc-9fcb-c0414e711eb1@sentex.net> In-Reply-To: <01a14cd5b6d92250da5affd41b02be7b@dweimer.net> References: <20160926154720.GA75556@admin.sibptus.transneft.ru> <688eec35-bc7b-ae05-b765-106933b522d1@sentex.net> <20160927085322.GA96393@admin.sibptus.transneft.ru> <78faa2e2-0e44-27ef-eaf0-0f0fc358cc09@sentex.net> <01a14cd5b6d92250da5affd41b02be7b@dweimer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/27/2016 12:10 PM, Dean E. Weimer wrote: >> zfs snapshot -r zroot@backup >> zfs send -R zroot@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@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c508842d-6317-75bc-9fcb-c0414e711eb1>