Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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