Subversion repository Data migration migrating from one server to another new server

Source: Internet
Author: User

[[email protected]SVN pro]# pwd/var/www/html/svn/pro[[email protected]-apache-svn pro]# Svnadmin dump/var/www/html/svn/pro/>/nc/pro.dump
[email protected] nc]# ll-12. 1G  6:Wuyi  pro.dump# dump file pro.dump, this dump file is much larger than the original version of the repository itself, because in the dump file, each version of each file is saved in full text form. 
[Email protected] nc]# du-sh/var/www/html/svn/pro/1. 2G    /var/www/html/svn/pro/  [[email protected]-apache-svn nc]# ls/var/www/html/svn/pro/conf  db  format  hooks  Locks  README.txt
[Email protected] nc]# du-sh/home/pro/4. 3G    /home/pro/

Copy the Pro.dump file to the new server, then create a new repository and import the Pro.dump.

[[Email protected]svn nc]# svnadmin create pro[[email protected]-svn nc]# Tree propro├──conf│├──authz│├──passwd│└──svnserve.conf├──db│├──current│├──format│├── Fsfs.conf│├──fs-Type│├──min-unpacked-Rev│├──rep-cache.db│├──revprops││└──0││└──0│├──revs││└──0││└──0│├──transactions│├──txn-Current│├──txn-current-Lock│├──txn-Protorevs│├──uuid│└──write-Lock├──format├──hooks│├──post-Commit.tmpl│├──post-Lock. Tmpl│├──post-revprop-Change.tmpl│├──post-Unlock.tmpl│├──pre-Commit.tmpl│├──pre-Lock. Tmpl│├──pre-revprop-Change.tmpl│├──pre-Unlock.tmpl│└──start-commit.tmpl├──locks│├──db.Lock│└──db-logs.Lock└──readme.txtTenDirectories, -Files

Subversion repository Data migration migrating from one server to another 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: 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.