[clue] Recursive directory merge

Shawn Perry shawn at redmop.com
Thu Oct 13 21:28:14 MDT 2011


Unison is great for that.  It is bi directional rsync that is multi
threaded  and can do compression.

Sent from my phone.  Please excuse my brevity and typos.
On Oct 13, 2011 9:22 PM, "Jason Friedman" <jason at powerpull.net> wrote:

> We have two hosts, one in Denver and one in New York, that will serve
> as disaster-recovery hosts for each other.  /etc, /bin, /opt etc. are
> already accounted for.  Synchronization needs to occur daily.  Change
> volume will be about 10Gb per day.
>
> Each host has a /data directory with "meshed" subdirectories.  For
> example, in Denver we have:
>
> /data/A/B/file1
> /data/A/B/file2
> /data/A/D/file1
> /data/M/file1
> /data/M/N/file1
>
> In New York we have
>
> /data/A/C/file1
> /data/A/E/file1
> /data/A/E/file2
> /data/M/R/file1
>
> So, there is no actual conflict between any full path between the two
> machines.  Using rsync or some other technology, what is the best way
> to synchronize the /data directory?
>
> To make things more tricky, imagine that on day one file
> /data/A/D/file1 is sent from Denver to New York.  On day two that file
> is deleted from Denver, meaning on the next cycle that file needs to
> be deleted from New York, also.
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20111013/48ec2e5e/attachment.html 


More information about the clue mailing list