Moving a svn repo, I’m happily suprised!!!

Tuesday July 31stLinux Category

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

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Google
  • Sphinn
  • Facebook
  • Mixx
  • Slashdot
  • StumbleUpon

1 Trackbacks/Pingbacks

  1. Trackback: Timur Garnier on September 3, 2007

Leave a comment

Size

Colors