rsync delete architecture

Matt McCutchen matt at mattmccutchen.net
Thu May 28 17:37:55 GMT 2009


On Mon, 2009-05-18 at 02:28 -0700, tammy wrote:
> I have 3 load balancing servers. Each user may login to different servers to
> upload their data, lets say, a company logo.
> That's why i tried to use rsync to synchronize the uploaded logo and some
> other necessary modules. This mean, each server can be a source or
> destination server to the another 2 servers.
> 
> However, problem occurs when user tried to delete the logo. Maybe he access
> to server 1, he deletes the logo, however, few minutes later the logo will
> appear again because server 2 and server 3 still having the logo, never been
> deleted, and sync back to server1.

This is a two-way synchronization job, which rsync is not really meant
to do.  Try a real two-way synchronization tool like Unison
(http://www.cis.upenn.edu/~bcpierce/unison/).

-- 
Matt



More information about the rsync mailing list