Bidirectional syncing (Re: [Techtalk] rsync backup script)

Dan Shearer techtalk at shearer.org
Tue Jun 22 15:27:02 EST 2004


On Tue, Jun 22, 2004 at 02:23:34PM +1000, Mary wrote:
> On Mon, Jun 21, 2004, Akkana Peck wrote:
> > Everybody else I ask who uses rsync regularly seems to use it
> > unidirectionally: only to back up machine1 to machine2, never to
> > go back from machine2 to machine1.  Is rsync the wrong tool for
> > syncing directories in both directions?
> 
> unison claims to be the tool for that job: rsync-like algorithm for
> detecting changes, but can move things in either direction. It'll even
> push deletes and so on the right way. I quite like it, although I can't
> make its GTK1 GUI look nice :( (There's a CLI version too.)

Thanks for the pointer!!  Looking at where Unison is up to I suspect it
might be better to replace rsync with Unison altogether, except perhaps
for an initial sync first time around where it may be quicker. Still
testing here, but it looks good so far.

-- 
Dan Shearer
dan at shearer.org


More information about the Techtalk mailing list