How to create a dump file from my subversion hosting account?

I have an SVN repository hosted somewhere. I want to move to someone else. How to dump my repository so that I can import it to a new host? That's all I see: svnadmin dump / path / to / repos> repos.dump

My repository is hosted, so it is not local.

+6
svn
source share
4 answers

svnadmin dump is the recommended way to migrate your repositories , but for this you need access to the shell, otherwise you will have to contact your hosting provider and ask them to make a full backup of the repository for you.

+6
source share

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

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

After you have generated your repository on a managed system, you can use svnadmin to dump a local copy if you need a dump file (or just use synchronized with the repository).

[2011 Update:] Starting with Subversion 1.7, there is a tool called svnrdump that you can use to create a dump file from a remote repository in one step.

+7
source share

It looks like you need a remote SVN dump command . I have not used it, but it claims to do what you want.

0
source share

Some hosted repositories provide facilities for ordering an SVN dump file, which is included in the price or for an additional monthly fee. If they do not, you can always make svnsync without involving a hosting company.

Look also at the import options of your provider. At ProjectLocker, we support the import of a remote repository, which is displayed over the Internet if you provide the URL of the source repository and your credentials. I do not think that we are the only owner. This feature eliminates the need to learn svnsync, and you can focus on moving the code and getting back to writing software.

0
source share

All Articles