Monday, July 11, 2011

svn migration

SVN migration may be many reasons, may be we want to change Repository directory, or would like to replace the machine, and so on.
SVN migration is very easy to do, follow these steps can be:
1. The original export a file dumpfile Repository 
> Svnadmin dump path / to / old-repo> dumpfile
2 Create a new Repository, refer to the Windows platform to create ways to install Subversion Server
3. dumpfile into the new Repository
> svnadmin Load path / to / new-repo
4 checking for new Repository in the conf / directory of configuration files, check the hooks / directory structure subroutine, etc. ...
The rapid migration of native way SVN:
svnadmin hotcopy old_rep_path new_rep_path