SVN data Migration under Linux
First, the original SVN server
1, backup the original SVN server version of the repository directory under the configuration files, as follows:
1, Authz
2, passwd
3, svnserve.conf
2. Export the version library to a file, using the following command:
Svnadmin dump/opt/svn/bizdevelopment > Bizdevelopment_bak
Svnadmin dump/opt/svn/workspace > Workspace_bak
Second, the new SVN server
1. Copy backup files
SCP Original SVN server to new SVN server
2. Recover SVN data:
Svnadmin load/opt/svn/bizdevelopment/</root/bizdevelopment_bak
Svnadmin load/opt/svn/workspace/</root/workspace_bak
3. Copy the original server configuration file to the new server, such as authz,passwd,svnserve.conf
4, start the new SVN service
/usr/local/svn/bin/svnserve-d--listen-port 3690-r/OPT/SVN
5, to verify
If there is no problem after verification, you can notify programmers to use
6, the new SVN server IP address changes to the original SVN server IP address, so SVN client can be directly update.