Migrating SVN version Libraries

Source: Internet
Author: User
Tags svn
Migrating SVN version Libraries


Here's how to do the SVN version Library migration under Windows.


Operating system: Windows Server 2012
Version Gallery: Test
Source server: 192.168.1.14
Target server: 192.168.1.2
Source SVN version Library path: D:\svn\test
Target SVN version library path: E:\svn\test

Let's start by saying that SVN on the target server is available, but only how to migrate the version library.

1. To stop the SVN service for the source service and the target server

2. Enter the source Server command interface
If the SVN installation directory for the original server is C:\Program Files\visualsvn-server, then:
CD C:\Program Files\visualsvn-server\bin

3. To perform a command to export a version library of a source server
Svnadmin Dump D:\svn\test > D:\svn\test\test.dump

4. Create a test folder with the same name on the destination server's e disk
E:\svn\test

5. Access to the command interface of the target server
Assume that the target server's SVN installation directory is also C:\Program files\visualsvn-server.
CD C:\Program Files\visualsvn-server\bin

6. Execute command to create a version library of the target server
Svnadmin Create E:\svn\test

7. Testing the new test version library
Test whether the new test version library is available, if you can do the following again.

8. Import version library to target server
Svnadmin Load E:\svn\test < D:\temp\test.dump
Where D:\temp\test.dump is the version library that is exported from the source service above


Migration completed.


Reference: Http://blog.163.com/freedom_wbs/blog/static/1152145142013117135273/?latestBlog

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.