1. Backup current by hotcopy
- svnadmin hotcopy /svn/repos/repos1/ /tmp/repos1
2. Copy data(/tmp/repos1) to new svn server directory /svn/repos/ (svn repository root)
3. (optional) Upgrade SVN version property in case new SVN sever is newer than old SVN server
- svnadmin upgrade
4. Initial SVN property for start svnysnc
- svn propset --revprop -r0 svn:sync-last-merged-rev revno
- svn propset --revprop -r0 svn:sync-from-uuid uuid
- svn propset --revprop -r0 svn:sync-from-url svn://oldhost
5. Sync data from old repos to new repos
- svnsync --non-interactive sync svn://hostname/reposname
ไม่มีความคิดเห็น:
แสดงความคิดเห็น