Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 10:33:31 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        "Marc G. Fournier" <scrappy@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: Sync'ng directories between two servers ...
Message-ID:  <20070207103331.7c7427ad.wmoran@collaborativefusion.com>
In-Reply-To: <45C9E8E1.9040601@mac.com>
References:  <7EFF8D531C0D5647031D80AB@ganymede.hub.org> <45C9E8E1.9040601@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Chuck Swiger <cswiger@mac.com>:

> 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.

<musing>
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.
</musing>

-- 
Bill Moran
Collaborative Fusion Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070207103331.7c7427ad.wmoran>