Sunday, January 15, 2012

Migrating my SVN

Finally my new PC has arrived. Is time to migrate the SVN to new PC. Yuhuu~

To backup SVN, make sure everyone are not checking in any source code at the moment when backup is in the process. To do this, in existing SVN server, issue a command:

svnadmin dump my_repo_today

In the new SVN server, issue the command:

svnadmin create new_repo_path
svnadmin load new_repo_path < my_repo_today

Please note: if you are using CollabNet Subversion, do not do dump in CLI and then load the new_repo_today through CollabNet Subversion's Interface. It just not working.

Happy SVN :o)

No comments: