tags:

views:

723

answers:

4

I have my SVN repository hosted somewhere. I want to move to somebody else. How can I create a dump of my repository so I can import it into my new host? This is all I keep seeing: svnadmin dump /path/to/repos > repos.dump

My repository is hosted, so it's not local.

+3  A: 

svnadmin dump is the recommended way to migrating your repositories, but you'll need shell access to do it, otherwise you will have to contact your hosting provider and ask them to do the full repository dump for you.

CMS
+1  A: 

You can also use svnsync to create a copy of your repository.

This requires adding a pre-revprop-change hook on the destination repository (and requires a Subversion 1.4 or newer repository at your hosting provider).

After you svnsync'ed your repository to a system you manage, you can use svnadmin to dump the local copy if you need a dumpfile (or just use the synced to repository).

Bert Huijben
+1  A: 

I just used this and it worked great http://www.workhabit.com/labs/moving-svn-repository-hosted-service

jeff
A: 

Sounds like you need a remote SVN dump command. I haven't used it but it claims to do what you want.

user9876