How to move SVN repository to other server.

On old SVN Server side:

# svnadmin dump your_repository_dir > repo.dmp

* This will take more than minutes.

On new SVN Server side:

# svnadmin create repo
# svnadmin load repo < repo.dmp

Note that taking a dump of repository does NOT dump the configuration files in repository.
So make you copy the conf directory.

References:

http://www.digitalmediaminute.com/article/2251/how-to-move-a-subversion-repository
http://2tbsp.com/node/88
http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5

Posted in Linux. Tags: , , . Leave a Comment »