Steps to Move SVN from on server to another:
1. Take dump of current SVN server.
svnadmin dump --incremental -r 6274 /svn > rev6274.svn_dump
2. Create Repository on new Server
svnadmin create TestSVN
3. Load dump to new Repository (path to svn)
svnadmin load /home/shailesh/svnrepo/TestSVN
1. Take dump of current SVN server.
svnadmin dump --incremental -r 6274 /svn > rev6274.svn_dump
2. Create Repository on new Server
svnadmin create TestSVN
3. Load dump to new Repository (path to svn)
svnadmin load /home/shailesh/svnrepo/TestSVN
< /app/Work/Projects/rev6274. svn_dump
4. Configure virtual host on apache in apache config file.
here convert square braces to triangular braces.
[Location ]
DAV svn
SVNPath /home/shailesh/svnrepo/ TestSVN
AuthType Basic
AuthName "ShaileshRepo"
AuthUserFile /etc/subversion/passwd
[LimitExcept ]
Require valid-user
[ / LimitExcept ]
[ / Location ]
5. AuthUserFile is file for Username and password to access svn.
6. Create AuthUserFile and add username and password.(user1 is username)
It will prompt for password and username & pwd will be added to passwd file.
sudo htpasswd -cm /etc/subversion/passwd user1
7. To add more user use ( c option is for creating file)
sudo htpasswd -m /etc/subversion/passwd user2
8. Give read/write permissions to SVN folder.
9. Restart apache server.
sudo /etc/init.d/apache2 restart
4. Configure virtual host on apache in apache config file.
here convert square braces to triangular braces.
[Location ]
DAV svn
SVNPath /home/shailesh/svnrepo/
AuthType Basic
AuthName "ShaileshRepo"
AuthUserFile /etc/subversion/passwd
[LimitExcept ]
Require valid-user
[ / LimitExcept ]
[ / Location ]
5. AuthUserFile is file for Username and password to access svn.
6. Create AuthUserFile and add username and password.(user1 is username)
It will prompt for password and username & pwd will be added to passwd file.
sudo htpasswd -cm /etc/subversion/passwd user1
7. To add more user use ( c option is for creating file)
sudo htpasswd -m /etc/subversion/passwd user2
8. Give read/write permissions to SVN folder.
9. Restart apache server.
sudo /etc/init.d/apache2 restart