What is a safe way of backing up a shared bzr repository
Hans Fangohr
h.fangohr at soton.ac.uk
Fri Nov 16 13:41:52 GMT 2007
Hi Erik,
thank you for your reply.
> Backup all .bzr directories and you should be ok.
just to double check: will this be okay if -- while I am copying these
directories -- somebody is committing to the repository?
If so, maybe this should go into the documentation (as I couldn't find it).
Thanks again,
Hans
>
> /Erik
>
> Sent from my iPhone
>
> On 2007 nov 16, at 12.50, Hans Fangohr <h.fangohr at soton.ac.uk> wrote:
>
>> Hi all,
>>
>> following the instructions given at
>> http://doc.bazaar-vcs.org/latest/en/user-guide/centralized_workflow.html,
>>
>> I have created a shared repository on the server with
>>
>> bzr init-repo --no-trees bzr+ssh://my.server.name.uk/Users/bzr/documents
>>
>> Here is my question: what is the safe and recommded method to make
>> backups of this repository? Can I just take a file copy of the
>> subdirectory (i.e. tar it up and store it somewhere)? Or should I be
>> more careful (for svn one can use the hot-backup.py script, or dumpy
>> the data base into a text file, but a direct copy of the file systems
>> is not recommenden [in case somebody in committing as you copy the
>> files]).
>>
>> Any advice (or pointers to the documentation [which I have searched
>> before]) would be welcome.
>>
>> Many thanks,
>>
>> Hans
>>
>>
>>
>>
>>
>>
>>
>> --
>> Hans Fangohr
>>
>> School of Engineering Sciences University of Southampton Phone: +44 (0)
>> 238059 8345
>>
>> Email: fangohr at soton.ac.uk
>> http://www.soton.ac.uk/~fangohr
>>
>>
>>
>>
>>
>
>
>
--
Hans Fangohr
School of Engineering Sciences
University of Southampton
Phone: +44 (0) 238059 8345
Email: fangohr at soton.ac.uk
http://www.soton.ac.uk/~fangohr
More information about the bazaar
mailing list