Creating a Repository
There are loads of documentation in creating a Repository. Provided below is an example VHOST config file for SVN:
<VirtualHost *:80>
ServerName svn.example.com
DocumentRoot /home/svn/
<Location /svn/example>
DAV svn
SVNPath /home/svn/reponame
# SVNParentPath /var/svn/
AuthType Basic
AuthName "Example Repository"
AuthUserFile /etc/subversion/passwd
Require valid-user
</Location>
ErrorLog /home/svn/logs/error.log
CustomLog /home/svn/logs/access.log combined
</VirtualHost>
The /etc/apache2/mods-available/dav_svn.conf is a great file for documentation on the settings.
Create Password in AuthUserFile using htpasswd:
sudo htpasswd -c /etc/subversion/passwd username
MIgration of SVN
Migration of SVN Reposiories is as simple as dumping the data into a file and loading the dumped data in another repository to be migrated:
svnadmin dump path/to/repos > repos.out
This will create a portable format for your repository (with history) in the file repos.out.
Create a new repository where you would want to load the dump
svnadmin create newrepos
svnadmin load path/to/newrepos < repos.out
to load your 'dumped' repos to the new or existing one.
--
Source:
http://www.howtogeek.com/howto/ubuntu/install-subversion-with-web-access...
http://stackoverflow.com/questions/939963/how-to-migrate-svn-to-another-...
http://www.if-not-true-then-false.com/2010/svn-subversion-access-control...