You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Simon Strandgaard <ne...@gmail.com> on 2005/09/24 09:05:25 UTC
restore from hotcopy
I am attempting to do a full snapshot of my repository,
I have already explored incremental backup, but it takes
long time doing this for all revisions on my P133 server.
I am wondering how to restore from a hotcopy?
If I replace my repository with a hotcopy then
I get permission denied.
molly:svn {170} sudo -u svn svnadmin hotcopy repo1 hc1
molly:svn {172} sudo -u svn mv repo1 goodrepo1
molly:svn {173} sudo -u svn mv hc1 repo1
molly:svn {174}
NEONEYEs-mini:~/code/test/repo1 simonstrandgaard$ svn up
svn: Berkeley DB error while opening environment for filesystem
/home/svn/repo1/db:
Permission denied
svn: bdb: /home/svn/repo1/db/__db.001: Permission denied
NEONEYEs-mini:~/code/test/repo1 simonstrandgaard$
Reinserting the original repository then things works again.
molly:svn {174} sudo -u svn mv repo1 hc1
molly:svn {175} sudo -u svn mv goodrepo1 repo1
molly:svn {176}
NEONEYEs-mini:~/code/test/repo1 simonstrandgaard$ svn up
At revision 421.
NEONEYEs-mini:~/code/test/repo1 simonstrandgaard$
How do you restore from a full snapshot?
--
Simon Strandgaard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org