[[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