SVN Migrating

Posted under » Version Control on 27 Feb 2019

This is useful if you are moving from one server to another.. or migrating to an updated and new OS. The concept is like MySQL, you need to create a dump then import it.

svnadmin dump /path/to/repository > repo_name.svn_dump

Transfer the dump file on to your new subversion server via scp and create an empty repository on the new server:

svnadmin create /path/to/newrepo
This command Next import/restore your dump file:
svnadmin load /path/to/newrepo < repo_name.svn_dump

You may want to force subversion to use the same UUID for the new repository as the old repository. To do this add --force-uuid to your svnadmin load command.

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css