Thursday, August 30, 2007

Convert a Subversion repository from BDB to FSFS

Create a FSFS repository.
svnadmin --fs-type create repo2
Dump the first repository.
svnadmin dump repo1 > repo2.dumpfile
Load the dumpfile into the new FSFS repository.
svnadmin load repo2 < repo2.dumpfile
A lot more information is available in the Subversion FAQ http://subversion.tigris.org/faq.html#bdb-fsfs-convert