Run a business? Check out LessAccounting, our bookkeeping system that'll save you hours per week.

Announcing:

We built the entrepreneur's bookkeeping system, it's called LessAccounting. You'll probably love it.

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.

1 Comment

AnonyMouse
AnonyMouse said on September 03, 2008

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

Leave a Comment

About Steven
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.

You Should...

Follow Steven on Twitter
Friend Steven on Facebook
Subscribe
LessEverything Copyright 2011 LessEverything.com
We don't like footers, they're kinda boring