Moving svn from one machine to another
written by Steven on March 12, 2007
There is a blog post with instructions on how to move a subversion repository from one machine to another. Unfortuately, that post seems to be 404. I used google cache to view the page, but I thought I would give the instructions here for those in need.
On the old machine:
> svnadmin dump /svn/repo
> tar zcf repo.dump.tgz repo.dump
> scp repo.dump firstname.lastname@example.org:~/repo.dump
On the new machine:
> tar zxvf repo.dump.tgz
> svnadmin create /svn/repo
> svnadmin load repo < repo.dump
That's it! You might run into permissions problems if you use the absolute pathing from the example. Feel free to change the paths as necessary.