How can I mirror a directory structure with all repositories and branches?
Wichmann, Mats D
mats.d.wichmann at intel.com
Thu Jul 2 15:17:01 BST 2009
Nicholas Allen wrote:
> Thanks - I considered this but rsync won't lock when users are
> committing to a branch. So it could mirror the directory in a half
> committed state. Is that what you meant by possible brokenness? The
> mirror needs to act as a reliable backup system and so brokenness if
> definitely not something we would want...
>
> Cheers,
>
> Nick
>> It's not perfectly efficient, but I'd probably use rsync. :-\
I can imagine various degrees of sophisticationto this,
but a basic system that works for me as a mirror is to
rsync the tree once; if you're worried you've caught
something in an inconsistent state because stuff is in
flight you can wait for a quiet moment, repeat the rsync,
etc.
More information about the bazaar
mailing list