dupeng
dupeng

Reputation: 1

how to dump svn repository when server files were lost

My svn server computer had a power outage, and when I restarted my svn server, I find some files in directory of revs were lost, and now my svn dump sript can't execute. The error is 'svnadmin: E160006: No such revision 1002'

svnadmin dump -q --deltas --incremental /home/repository/pandr/  -r 1003 > /tmp/repos_20240605.dmp

Here is my svn server directory of revs; you'll notice that the 1002 file is missing.

-r--r--r-- 1 root root 14946 Jul  4 02:56 1000
-r--r--r-- 1 root root  1962 Jul  4 03:06 1001
-r--r--r-- 1 root root  1423 Jul  4 03:11 1003

I'm trying to find a dump configuration to skip the missing file. However it seems like there is no resolution, as I don't have a backup of these files. Who can tell me how to restore svn?

Upvotes: 0

Views: 37

Answers (0)

Related Questions