moving ezjail-based jails from 10.3 host to 11.0 host

Oliver Peter lists at peter.de.com
Mon Oct 17 14:05:07 UTC 2016


On Mon, Oct 17, 2016 at 03:37:08PM +0200, Marko Cupać wrote:
> I have 10.3 host which runs a dozen or so ezjail-based jails. I have
> installed another 11.0 host, and I'd like to move jails to it.

I would switch them to iocage+zfs, ezjail is sooo 90s. :)
Have a look at the documentation:
	http://iocage.readthedocs.io/en/latest/basic-use.html

All jail settings are stored within ZFS properties so an upcoming
migration would only need a zfs send | zfs receive.

> Can I just archive jails on 10.3, scp them to 11.0, and re-create them
> there by restoring from archive (-a switch)?

Further I would recommend to use rsync -av instead of scp.


-- 
Oliver PETER       oliver at gfuzz.de       0x456D688F


More information about the freebsd-stable mailing list