Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 13:04:49 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Synchronising jails
Message-ID:  <4F9ADFC1.608@computer.org>
In-Reply-To: <m2ehr9tf8h.fsf@fstaals.net>
References:  <m2ehr9tf8h.fsf@fstaals.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig533F5EC141983A114508439E
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 04/27/2012 09:35, Frank Staals wrote:
>=20
> Hey Everyone,
>=20
> I'm looking for a way to synchronise two jails. More specifically, I
> would like to keep/maintain an exact copy of a given jail. As an
> example: Suppose I build a jail A on some system (in my particular case=

> build with ezjail) , and I copy the jail
> into jail B on some other system (using tar, as is mentioned
> here: http://forums.freebsd.org/showthread.php?t=3D17813). Now stuff
> happens in Jail A, e.g. files change, new stuff is installed etc. I
> would like to propagate these changes to jail B, but since the transfer=

> is over WAN I would like not to have to copy the entire jail again, jus=
t
> the stuff that has changed since the last backup. It is safe to assume
> nothing in Jail B changes: I basically want to maintain the exact copy
> so if something would happen to the system running Jail A I can
> immediately switch to jail B without much hassle.=20
>=20
> Normally I would say this a perfect use case for rsync. But as the
> aforementioned thread mentions ``scp or similar wont work to copy a
> jail'', and I consider rsync similar to scp,

rsync is dissimilar in that it is capable of preserving links.  It may
likely do the job?

> I am under the impression
> that rsync would not be usable in this situation. Can anyone shed some
> light on this, or suggest an alternative to synchronise the jails? =20
>=20
>=20
> Regards,=20
>=20



--------------enig533F5EC141983A114508439E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+a38EACgkQngSDRM3IXUpmNgCdEm9SMTX+xIaqRAKJi+3Hsg4a
w44AniMkQvou52o/VNl7soxkJ9ZAgDI7
=Oblk
-----END PGP SIGNATURE-----

--------------enig533F5EC141983A114508439E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F9ADFC1.608>