backup / synchronization

Eugene Wee crystalrecursion at gmail.com
Mon Oct 20 11:40:29 BST 2008


Hi,

edA-qa mort-ora-y wrote:
> It would be great if there were a heading, or section called "Backup" or
> "Mirroring", since those are the two words I think think people try to
> look for.
> 
> It need not be long, since you could just say something like "bzr
> branch" does a complete copy of the history of the branch, thus is
> suitable for backup purposes.

Section 4.2.4 of the Bazaar user guide states concerning bzr branch:
"Keep in mind that Bazaar is transferring the complete history of the 
branch, not just the latest snapshot."

Later, in section 6.2.1, it talks about a "mirror branch" that uses a 
shared repository (though a checkout will do just as well). Section 
1.2.5 also states, perhaps not very clearly, that a standalone branch 
has its own repository.

> Does this also apply when using shared storage (is that the term for
> it)?  That is, if there are hundreds of branches being merged back and
> forth on one disk, and I do a "bzr branch" on another machine, exactly
> what will be copied across?

You have to provide the location to branch from when using bzr branch, 
so the history that is copied over is what corresponds to the given 
location. It does not matter if that location is a standalone branch of 
a branch using a shared repository.

Regards,
Eugene Wee




More information about the bazaar mailing list