I'm moving to a new machine and i'm hoping to transfer my repositories as easily as possible. I have had a quick look around and have seen people using SVN dump.

As i'm planning on copying all repositories can I simply copy the c:/repositories folder ?

I'm using visual SVN on windows XP.


Take a look at Chapter 5 of Version Control with Subversion.

To move a repository from one server to another you will want to use the svnadmin dump and svnadmin load commands.

Subversion provides such functionality by way of repository dump streams. A repository dump stream (often referred to as a “dump file” when stored as a file on disk) is a portable, flat file format that describes the various revisions in your repository—what was changed, by whom, when, and so on. This dump stream is the primary mechanism used to marshal versioned history—in whole or in part, with or without modification—between repositories. And Subversion provides the tools necessary for creating and loading these dump streams: the svnadmin dump and svnadmin load subcommands, respectively.

The usage of svn dump is

svnadmin dump reponame > dumpfile

and the usage of svn load is

svnadmin load reponame < dumpfile.

The help page for VisualSVN that references the usage of svnadmin dump can be found here and svnadmin load here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.