You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by thomas mauch <Th...@swisslog.com> on 2006/03/03 11:34:08 UTC

Backup of a FSFS repository

Hello
 
I read the notes about backing up a FSFS repository in
 
http://svn.collab.net/repos/svn/trunk/notes/fsfs
 
I'm not quite sure however how I have to interpret the last paragraph:
So, if you are using standard backup tools to make backups of a FSFS
repository, configure the software to copy the "current" file before
the numbered revision files, if possible, and configure it not to copy
the "transactions" directory.  If you can't do those things, use
"svnadmin hotcopy", or be prepared to cope with the very occasional
need for manual repair of the repository upon restoring it from
backup.

What is meant with manual repairing a repository? As written in the
paragraph
above, this seams to be errors which svnadmin recover does not (yet)
fix.
But will svnadmin verify give such a detailled error message that the 
administrator knows what to do? Or is there a description what to do if
such a backup is damaged? Or is there already development under the way
to
improve svnadmin recover as proposed in the notes about FSFS?

Many thanks,
Thomas



This message may contain legally privileged or confidential information and is therefore addressed to the named persons only. The recipient should inform the sender and delete this message, if he/she is not named as addressee.
The sender disclaims any and all liability for the integrity and punctuality of this message. The sender has activated an automatic virus scanning, but does not guarantee the virus free transmission of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Backup of a FSFS repository

Posted by Phillip Susi <ps...@cfl.rr.com>.
If you want to do a hot backup, then use svnadmin hotcopy, otherwise, 
just backup like normal while nobody is accessing the repository.  I 
have my nightly backup script shut down apache before taring up the 
filesystem.

thomas mauch wrote:
> Hello
>  
> I read the notes about backing up a FSFS repository in
>  
> http://svn.collab.net/repos/svn/trunk/notes/fsfs
>  
> I'm not quite sure however how I have to interpret the last paragraph:
> So, if you are using standard backup tools to make backups of a FSFS
> repository, configure the software to copy the "current" file before
> the numbered revision files, if possible, and configure it not to copy
> the "transactions" directory.  If you can't do those things, use
> "svnadmin hotcopy", or be prepared to cope with the very occasional
> need for manual repair of the repository upon restoring it from
> backup.
> 
> What is meant with manual repairing a repository? As written in the
> paragraph
> above, this seams to be errors which svnadmin recover does not (yet)
> fix.
> But will svnadmin verify give such a detailled error message that the 
> administrator knows what to do? Or is there a description what to do if
> such a backup is damaged? Or is there already development under the way
> to
> improve svnadmin recover as proposed in the notes about FSFS?
> 
> Many thanks,
> Thomas
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org