Tuesday, March 15, 2011

How to Migrate SVN Repository to another Server

how to migrate / move a existing subversion (svn) repository to another server?

There are a few easy steps to dump the repository and import into a new server,

1. On your server machine where the repository is now, run
   svnadmin dump REPOS_PATH > mydumpfile

2. Put that file (mydumpfile) on another server.

3. Create an empty repository
svnadmin create REPOS_PATH


4. Import the dump file (mydumpfile) by running:
  svnadmin load REPOS_PATH < mydumpfile

No comments:

Post a Comment