Re: Moving jails from one computer to another

2006-10-25 Thread Dimitar Vasilev

2006/10/25, albi albinootje <[EMAIL PROTECTED]>:


On 10/25/06, Doug Poland <[EMAIL PROTECTED]> wrote:

> I'm curious if anyone has comments on moving a jail environment from
> one computer to another.  Not having actually tried it yet, it would
> seem to be possible given:
>
> Both computers:
>are the same arch (i386, in my case).
>are running the same kernel and userland (e.g., FreeBSD RELENG_6_1)
>have identical jail environments (e.g., sysutils/ezjail)


by coincidence i've finished moving a jail-environment from 1 disc to
a bigger disc and then to another machine today

unfortunately i "had" to rebuild world because the clock was wrong and
got a "touch: file not found" which turned out to be a FAQ after i
already restarted with "time make buildworld" etc. but of course
normally that shouldn't happen

in your case you already have another disc ready, and if e.g. your
jails are in /usr/jails/ then
you would replicate the relevant /etc/rc.conf content (without ezjail that
is)

not sure where ezjail saves it's config-files, but that's probably
easy to replicate too
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
[EMAIL PROTECTED]"



Idea - why not use rsync for faster copy of content?


--
Димитър Василев
Dimitar Vassilev

GnuPG key ID: 0x4B8DB525
Keyserver: pgp.mit.edu
Key fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Moving jails from one computer to another

2006-10-25 Thread albi albinootje

On 10/25/06, Doug Poland <[EMAIL PROTECTED]> wrote:


I'm curious if anyone has comments on moving a jail environment from
one computer to another.  Not having actually tried it yet, it would
seem to be possible given:

Both computers:
   are the same arch (i386, in my case).
   are running the same kernel and userland (e.g., FreeBSD RELENG_6_1)
   have identical jail environments (e.g., sysutils/ezjail)



by coincidence i've finished moving a jail-environment from 1 disc to
a bigger disc and then to another machine today

unfortunately i "had" to rebuild world because the clock was wrong and
got a "touch: file not found" which turned out to be a FAQ after i
already restarted with "time make buildworld" etc. but of course
normally that shouldn't happen

in your case you already have another disc ready, and if e.g. your
jails are in /usr/jails/ then
you would replicate the relevant /etc/rc.conf content (without ezjail that is)

not sure where ezjail saves it's config-files, but that's probably
easy to replicate too
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Moving jails from one computer to another

2006-10-25 Thread pete wright

On 10/25/06, Doug Poland <[EMAIL PROTECTED]> wrote:

Hello,

I'm curious if anyone has comments on moving a jail environment from
one computer to another.  Not having actually tried it yet, it would
seem to be possible given:

Both computers:
   are the same arch (i386, in my case).
   are running the same kernel and userland (e.g., FreeBSD RELENG_6_1)
   have identical jail environments (e.g., sysutils/ezjail)

Of course, minor modifications may need to be made for IP addresses
and such.

It would seem this scenario would be good for developing things like
web-based applications on a development server, then deploying the
final product to a production server.

Comments, thoughts, criticisms welcomed.




yea, this is actually one the larger benefits of jailing IMO.  i've
used this method to help setup distributed mirroring of websites for
some OSS projects.

-pete



--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"