You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Justin Connell <ju...@propylon.com> on 2010/02/13 17:30:47 UTC

Restoring a hotcopy repo

Hi,
I need to set up a new svn repository from a hotcopy backup. I 
understand that it is a simple procedure of just copying the files into 
the new repo and ensuring that the file access permissions are correct, 
but my concern is that the hotcopy contains a series of .txn directories 
which implies that the hotcopy was configured to do an incremental 
back-up, and my core concern is that when I move the content of the 
hotcopy, do I include the .txn directories or are these ommitted?

Thanks in advance for taking the time to respond to my query

Justin

Re: Restoring a hotcopy repo

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Justin Connell!

> I need to set up a new svn repository from a hotcopy backup. I
> understand that it is a simple procedure of just copying the files into 
> the new repo and ensuring that the file access permissions are correct, 
> but my concern is that the hotcopy contains a series of .txn directories 
> which implies that the hotcopy was configured to do an incremental 
> back-up, and my core concern is that when I move the content of the 
> hotcopy, do I include the .txn directories or are these ommitted?

Hotcopy is a snap of working SVN repository.
If you're concerned, you could just point your SVN tools to the new repository
made from backup and see if it works the way you expect it to be. Then switch
main server over to the new location.
The txn dirs likely indicate stalled transactions, lookup documentation about
the ways to cleanup repository from them.
Yet again, you should not be need to mess with hotcopied files by hands - only
using standard Subversion utilities.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 14.02.2010, <8:09>

Sorry for my terrible english...