SVN data Migration __linux under Linux

Source: Internet
Author: User
Tags svn svn client

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.

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.