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
> repo.dump
> tar zcf repo.dump.tgz repo.dump
> scp repo.dump user_name@new.machine.com:~/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.
Business Owners: save hours per week with
LessAccounting. It's like Quickbooks, just not total shit.
Leave a Comment
About Steven
Popular Articles
Subscribe

Steven Bristol has written code for the past 20 years. He like green vegetables and kittens, oh and butterflies too. He loves to throw ninja stars at his enemies.

1 Comment
the command to load the repo should be svnadmin load /svn/repo < repo.dump