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

Re: [ezjail] Migrating jails?

Viren R. Shah wrote:
> I currently have a box running ezjail 2.0.1 with about 9 jails. We are
> moving to a bigger box since we want to add jails. I was wondering if
> there is a set process for migrating ezjail jails from 1 server to
> another? Currently I'm thinking of:
> 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.

> 4. somehow let ezjail  on the new server know about new jails (??)

You can use the -x option of ezjail-admin create for that.

Just a hint: beware i386 vs. amd64 freebsd migration. If thats the case
for you, you need to rebuild all your ports.