[Switch] SVN database migration

Source: Internet
Author: User

Address: http://blog.csdn.net/windone0109/article/details/2841294

Due to insufficient hard disk space, the svn server needs to migrate it to another machine and change the repository directory.


The following steps are required for SVN migration:

 

1. Export the original repository as a file dumpfile.
> Svnadmin dump original repos directory path (/Repository/directory)> dumpfile

 

2. Configure the same SVN server on another machine.

 

3. Import dumpfile to the new repository directory.
> Svnadmin load: directory path of the newly created repos (/Repository/directory) <dumpfile

 

4. Back up the configuration file of the original server and copy it to the new server.

/Etc/httpd/CONF. d/subversion. conf

The AuthFile and Auth. conf files in the repository directory also need to be backed up and copied to the new server.

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.