[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] Migrating jails?

Viren R. Shah wrote:
> ----- "Philipp Wuensche" <cryx-freebsd AT h3q DOT com> wrote:
>> Viren R. Shah wrote:
> [...]
>>> 1. Set up new server base OS, install ezjail and create basejail (I
>> still
>>> use ezjail-admin update not ezjail-admin install for the basejail
>>> creation)
>>> 2. tar up each jail from old server
>>> 3. untar on new server
>> Thats how I do it.
> Great.
>>> 4. somehow let ezjail  on the new server know about new jails (??)
>> You can use the -x option of ezjail-admin create for that.
> Aah. I thought that might be it. Glad to know it's as simple as I hoped it would be (ezjail has already made life so much simpler). I assume that the only other thing I need to do is create the IP aliases in rc.conf?

This and maybe copy fstab.jailname entries from your old system.