A little bit ago I needed to migrate all my subversion repositories over to my fresh new Ubuntu server. I personally manage the server so it also gets interesting trying to do upgrade Ubuntu by installing a fresh new install.
Migrating to another server
svnadmin dump REPOS_PATH > export.txt
htpasswd -b /svn/users/passwords username password
htpasswd /svn/users/passwords username
Create New Repository
svnadmin create /svn/repos/test
chown -R apache.apache /svn/repos/test
<Location /svn/thoughtsway>
DAV svn
SVNPath /home/svn/location_of_svn_repository
AuthType Basic
AuthName “<NAME_OF_YOUR_SERVER> Subversion System”
AuthUserFile /etc/subversion/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
Resources
- http://www.ferdychristant.com/blog/articles/DOMM-6NFJ6J
- http://www.subversionary.org/howto/setting-up-a-server-on-fedora-core-4
- http://www.polarion.org/index.php?page=overview&project=fasttrack