SVN server repository migration instructions
Single repository migration scenarios:
system:
192.168.10.51 CentOS 7.7
192.168.10.53 CentOS 7.7
csvn path:
Case Study: Migrating first repository on 192.168.10.51 to 192.168.10.53
First, the repository directory synchronization
Add 51 rsync profile
# tail -n 6 /etc/rsyncd.conf
[first]
path = /data/csvn/repositories/first
read only = false
hosts allow = 192.168.10.53
hosts dengy = *
53 machine, using the rsync synchronization command
# pwd
/data/csvn/repositories
# mkdir first
# rsync -avP [email protected]::first /data/csvn/repositories/first/
Two, 53 web management interface repository re-discovery repository
Third, the csvn web administrative access to the same set
Fourth, switching
1, 51 stop repository access rules authority
Access permissions are set as follows:
[first:/]
* =
2, set 53 Repository Access Rules
Five, svn client operating relocation mgame_publish version
Win client relocation method:
Relocate - a, first file in the computer this machine right --- TortoiseSVN clip
b, re-svn Update
svn update after you can normally update your system up .
Linux client relocation method:
Execute the command :
svn switch --relocate (Old Repository Root) (New Repository Root)
svn update can be normal update your system up.