Pages

Move to Subversion Repository one system to another system

Question:


i am getting below the error.

Berkeley DB error for filesystem E:/SubversionRepository/db while opening 'nodes' table:No such file or directory.

How to fix this?


Answer:

Is the problem you described occuring with a new installation?


Question:


I am using subversion last 6 month.i have 6 month data in svn server.my data's and configuration folders also deleted,i am copied subversion repository folder structure full path daily basis.so i replace the subversion repository folder structure previous date backup.now it's working fine.


1.But if i don't have backup of SubversionRepository folder structure, then how to retrive the data?


2.if i have backup of SubversionRepository folder structure, when server is down,then how to configure/restore to another system on old repository folder structure?


Answer:


If you lose the subversion folder and do not have a backup, chances are the repository is gone for good. Depending on the filesystem in use there may be some chance of recovering the deleted files, but you should not rely on this. Keeping current backups is critical.


If you have a complete backup of the Subversion repository, you can copy over the repository and run the subversion service. You may have to tweak some paths in the configuration files, but the process is very similar to setting up a new installation. If you moved the repository to a new host, you'll also have to update the connection url in the client.


Question:

 if i don't have backup of SubversionRepository folder structure, then how to retrive the data?

Answer:

Try to use the recovery software and get the data after follow the second point.

Question:

if we have backup of SubversionRepository folder structure, when server is down,then how to configure/restore to another system on old repository folder structure?


Answer:

If we have tape drive backup of SubversionRepository folder structure we can restore the data to another one system.i followed the command and successfully restored

svnadmin dump C:/SubversionRepository > D:/repository.dumpfile

svnadmin load G:/SubversionRepository < D:/repository.dumpfile

C:/SubversionRepository —– Old Repository path

D:/repository.dumpfile —— Backup path

G:/SubversionRepository —— New Repository path

 

Posted in |

0 comments: