The Subversion database data migration company's Subversion server often shuts down automatically due to computer hardware reasons. you need to reinstall a server. The original Subversion server was set up on WindowsXP through VisualSVNServer. now, this server...
The Subversion database data migration company's Subversion server often shuts down automatically due to computer hardware reasons. you need to reinstall a server. The original Subversion Server was deployed on Windows XP using the VisualSVN Server. now, we take this opportunity to migrate it to the Linux system. Therefore, you need to migrate the original version library to the new server. The method for installing the Subversion server on www.2cto.com Linux is described in the previous article. This article only describes how to migrate version database data on the previously configured Subversion server. After the following two simple steps, the version Library is migrated. 1. on the old server, export the version library to the dump file on the windows installed in the original Subversion. > Svnadmin dump myrepos> myrepos. after a long time, dump obtains a large file named myrepos. dump: This file is much larger than the original version library itself, because in the file, each version of each file is saved in the form of complete text. Svnadmin dump reads the revision tree from the version library and performs the same process as other "readers" (such as svn checkout). Therefore, you can run this command safely at any time. Www.2cto.com 2. on the new server, import the version library to copy the myrepos. dump file to the new server, create a new version library, and import the dump file. $ Svnadmin create/home/svn/repos/myrepos $ svnadmin load/home/svn/repos/myrepos <myrepos. dump
It takes a long time for the svnadmin load command to import each revision in the dump file in sequence. this process is the same as the operation that uses the common Subversion client to directly submit to the version Library, therefore, a new version library that is identical to the original version Library is obtained.
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.