blog.dbrgn.ch

Transfer SVN Repository

written on Tuesday, June 16, 2009 by

To transfer an SVN repository from one server to another one, first dump the repo and then load it into the new repo using svnadmin.

Dump on server 1:

$ svnadmin dump /var/svn/repos/repo > ~/repo_svn.dump

Load on server 2:

$ svnadmin load/var/svn/repos/repo < ~/repo_svn.dump

This entry was tagged sysadmin and version_control