dealing with subversion corruption: dumping good segments of the repo while slicing out corrupted portions
svnadmin dump /path/to/repo/projectname/ -r 0:721 > projectname_r0to721.dump
in the above example the corrupted commit is 722 and 723 so we dump everything up to 722 into one file and then:
svnadmin dump ./usmagazine/ --incremental -r 724:724 > usmagazine_r724.dump
everything from 724 with the --incremental switch
and then everything from 726 to head (725 was also corrupted) again with the --incremental switch:
svnadmin dump ./usmagazine/ --incremental -r 726:HEAD > usmagazine_r726.dump
0 Comments:
Post a Comment
<< Home