Migrating from BDB to FSFS
As I've discussed in one or two other wiki pages, I occassionally have problems with the BDB Subversion backend getting "wedged". This really shouldn't happen, since I'm the only one using it. However, it does.
Since FSFS is now available and is supposed to be at least as stable as BDB, I've decided to switch to it. Converting from one backend to the other couldn't have been easier (I'm quite impressed as the level of thought given to these things by the Subversion team).
This FAQ entry explains the process in detail. This is what I did:
for i in config doc web software
do
svnadmin create /opt/public/svn/${i}2 --fs-type=fsfs
svnadmin dump /opt/public/svn/${i} -q | svnadmin load /opt/public/svn/${i}2
chown -R svn:public /opt/public/svn/${i}2
find /opt/public/svn/${i}2 -type d -exec chmod 2775 \{} \;
mv ${i} ${i}-bdb
mv ${i}2 ${i}
doneThat was all it took. To check that it worked, I ran svn update in one of my working directories, and the client didn't even notice the switch had been made (which is what I would have hoped for).
Later, I noticed that commits didn't work. I also had to go into the db directory for each repository and give g+w permissions for each file in there (but I had to do this for BDB, too, so it shouldn't have been a surprise).