svn setup and migration
Install subversion straight from apt.
apt-get install subversion
Migrating svn repository from old server to new server:
As I have all my svn repositories under /home/development I cd to that directory and:
mkdir /tmp/svn ; for a in $(ls); do svnadmin dump $a > /tmp/svn/$a.dump ; done tar zvcf svn_repos.tgz /tmp/svn/*.dump scp svn_repos.tgz user@new_server:/tmp
To replicate the old repos on the new server:
cd /tmp tar zxfv svn_repos.tgz cd svn for a in $(ls); do cd /home/development; svnadmin create $(echo $a |sed -e "s/\.dump//"); svnadmin load $(echo $a |sed -e "s/\.dump//") < /tmp/svn/$a ; cd -
To load svnserve on startup:
vi /etc/rc.local svnserve --listen-host=myhost.com -d -r /home/development/











hey this is a very interesting article!