[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

restore from hotcopy

From: Simon Strandgaard <neoneye_at_gmail.com>
Date: 2005-09-24 11:05:25 CEST

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
Received on Sat Sep 24 11:07:09 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.