From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 15:33:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B2BF016A403; Wed, 7 Feb 2007 15:33:32 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1D513C49D; Wed, 7 Feb 2007 15:33:32 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 07 Feb 2007 10:33:31 -0500 id 00056416.45C9F14B.0000DC4E Date: Wed, 7 Feb 2007 10:33:31 -0500 From: Bill Moran To: Chuck Swiger Message-Id: <20070207103331.7c7427ad.wmoran@collaborativefusion.com> In-Reply-To: <45C9E8E1.9040601@mac.com> References: <7EFF8D531C0D5647031D80AB@ganymede.hub.org> <45C9E8E1.9040601@mac.com> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.7; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Marc G. Fournier" , freebsd-questions@freebsd.org Subject: Re: Sync'ng directories between two servers ... 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: Wed, 07 Feb 2007 15:33:32 -0000 In response to Chuck Swiger : > Marc G. Fournier wrote: > > I've got a directory on ServerA that I would like to keep sync'd on ServerB > > ... to date, I've been using rsync for this, but what I hate with that is that > > it has to scan the whole directory on both servers to compare, putting a good > > load on each of them ... > > > > Is there anything out there that ppl are using successfully that just looks > > at ServerA, and dumps across those files that have changed since the last sync? > > ServerB will never have any changes made to it, other then what ServerA sends > > across ... > > Rsync is about as good as it reasonably gets, short of putting everything > explicitly under version control (ie, in SVN or CVS). If you do put the tree > of stuff under VC, doing an update operation on ServerB will only need to > fetch the deltas made since the last update, without doing a comparison of the > unchanged files or placing much load on ServerA. You know, it'd be cool if there was some way to hook rsync in to FAM (or a similar utility). I found some discussion about this on the rsync mailing list. The response seems to indicate that it's more work than it seems. I wish I had time to investigate this, as it sounds like an interesting project. -- Bill Moran Collaborative Fusion Inc.