From owner-freebsd-questions@FreeBSD.ORG Sat Apr 28 07:22:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 665EB106564A for ; Sat, 28 Apr 2012 07:22:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id C9C4F8FC12 for ; Sat, 28 Apr 2012 07:22:41 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q3S7MdbZ009383; Sat, 28 Apr 2012 09:22:40 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q3S7MdND009380; Sat, 28 Apr 2012 09:22:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 28 Apr 2012 09:22:39 +0200 (CEST) From: Wojciech Puchar To: Frank Staals In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Sat, 28 Apr 2012 09:22:40 +0200 (CEST) Cc: FreeBSD-Questions Subject: Re: Synchronising jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2012 07:22:42 -0000 /usr/ports/net/rsync On Fri, 27 Apr 2012, Frank Staals wrote: > > Hey Everyone, > > 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=17813). 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, just > 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. > > 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, 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? > > > Regards, > > -- > > - Frank > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >