SVN version library migration in Windows

Source: Internet
Author: User

Two servers for SVN migration:
Windows server 2003
Version Library: test
Source server: 192.168.1.14
Target Server: 192.168.1.2
Path: D: \ SVN \ test of the source svn version Library
Path: E: \ svn \ test
 
Method 1: (recommended)

First, note that SVN on the target server is usable. In this article, only their version libraries are used.
Migration.

1. Stop the http service. apache (source server) (target server) is used in this article)
2. cd C: \ Program Files \ Subversion \ bin (installation directory of Subversion) (source server)
3. Run: svnadmin dumpD: \ svn \ test> D: \ svn \ test. dump (source server)
4. Create a test folder (target server) with the same name in the E drive)
5. cd C: \ Program Files \ Subversion \ bin (target server)
6. svnadmin create E: \ svn \ test (target server)
7. test whether the database of the test version can be used. Perform the following operations (target server)
Copy the test. dump File exported on the source server to the target server
8. Svnadmin load E: \ svn \ test <c: \ svn \ test. dump (target server. This is just to import the version library exported from the source server to the current server .)
9. Modify the http configuration file and permissions, or copy the original permission file directly to the new version library. (Target server)
 
Method 2:
 
1. Stop the http service. I use apache.
2. copy all the files under D: \ svn \ test to E: \ svn \ test of 192.168.1.12.
3. Modify the file path in apache and write the new file path.
4. Open the http service, but the condition for this practice is: the operating environment system of the old version of SVN Library and the operating environment system of the new version are the same, and the SVN version is the same.
5. Right-click the local version library and choose TortoiseSVN> Relocate. In the displayed box, enter the IP address of the version library again.
Author: "tony"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.