how do I create a dump file from my subversion hosting account?

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.

  • Submitting Hg changes back to SVN
  • subversion merge a delete command
  • How to fully delete Subclipse plugin?
  • Clone a specific svn branch alone into git with the version history for that branch alone
  • Include SVN revision number in source code
  • Unable to connect to Subversion Local repository
  • Subclipse- update working copy
  • svn diff offline
  • Pull remote SVN and merge local changes
  • Error while building application using SVN and CruiseControl.net
  • Adding assets to Xcode problem
  • git-svn clone a single module
  • 4 Solutions collect form web for “how do I create a dump file from my subversion hosting account?”

    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.

    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).

    [Update in 2011:]
    Since Subversion 1.7 there is a tool called svnrdump which you can use to create a dump file from a remote repository in a single step.

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

    Some hosted repositories provide means to order an SVN dump file, either included in the price or for an additional monthly fee. If they don’t, you can always do an svnsync without having to involve the hosting company.

    Take a look at your destination provider’s import capabilities as well. At ProjectLocker, we support import of a remote repository that is visible over the Internet if you provide the URL to the source repository and your credentials. I don’t believe we are the only host to do this. That capability saves you the trouble of learning svnsync, and you can focus on moving your code and getting back to writing software.

    Git Baby is a git and github fan, let's start git clone.