rsync help

Shawn Badger badger.shawn at gmail.com
Tue Nov 6 14:33:57 MST 2007


That is more like what I want. The only problem I see with it is the
conflict resolution. I need it run in a cronjob non-interactively. I may be
able to have it send me an e-mail when it has a conflict though and I go in
and manually resolve it.

On 11/6/07, Dan Lund <situationalawareness at gmail.com> wrote:
>
> There's an application called unison that'll take care of
> bidirectional synchronizations pretty easily.
> http://www.cis.upenn.edu/~bcpierce/unison/
>
> On 11/6/07, Shawn Badger <badger.shawn at gmail.com> wrote:
> > I need to sync a folder on 2 servers, sounds easy, but the catch is that
> > they basically have to mirror each other. So if I deleted a file on one
> it
> > goes away on the other, but If I add a file it shows up on both. The
> catch
> > is that a file could be added or deleted form either system. Is there a
> way
> > to make rsync catch these changes and make sure they get mirrored? The
> other
> > option I am thinking about involves running a script that copies new
> files
> > to a "holding area" and point both servers to the holding area for the
> sync
> > source. the downside to that is I don't know how to handle deletes. I
> > haven't had much luck with Google on this yet, but I am still looking.
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
> --
> Thanks,
> Dan Lund
>
> "The major difference between a thing that might go wrong and a thing
> that cannot possibly go wrong is that when a thing that cannot
> possibly go wrong goes wrong it usually turns out to be impossible to
> get at or repair."
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20071106/dacf2406/attachment.htm 


More information about the PLUG-discuss mailing list