Recently, at SMG, we had to upgrade are development servers from an older fedora distro to RHEL5, I orignially thought this to be either tedious or difficult, I was happily suprised. found a good blog post out their on how to do this.
First off login to your current repo box, and then run the svnadmin dump command
svnadmin dump /svn > repoName.dump
Where /svn is the path to your repo and repoName.dump is the dump file to be create. Next transfer the file to your new box or location. For me I'm using scp but your can ftp it or samba it or nfs it, etc...
scp repoName.dump newBox:/svn
K, your now done with the old box/location, move on to your new box, login, cd into where you want to create your new repo, and run the basic commands to create a new repo
cd /svn
svnadmin create repoName
now use svnadmin load to import your dump file
svnadmin load repoName < repoName.dump
And vwall!!! Your done








Leave a comment