installing / moving Subversion SVN Server on Linux Ubuntu

Recently I had to move Subversion SVN server to a new Ubuntu based Linux server.

Here I briefly noted the steps I used on how to take a dump from the old SVN server, install and move Subversion repository to a new server.

Tasks at old server (Linux Ubuntu 10.04 LTS x86):

1. Take a dump from the running SVN repository

2. Zip the dump for easier network transfer

3. Transfer zipped dump into new server

Tasks at new server (Linux Ubuntu 12.04 LTS x64):

4. Install Subversion server

5. Create a repository

6. Unzip and load the dump

7. For ensuring of SVN startup at system boot:
7.1 Create script in /etc/init.d/ directory to start SVN server

with the content:

7.2 Give the executive permissions to the script

7.3 Create symbolic links to the created script in runlevel directories to ensure SVN startup at system boot

8. Copy repository configuration files from /home/svn/reponame/conf/ (authz, passwd and svnserve.conf) into new server

9. Execute svnd script or reboot to check if it works as needed.

IT / Coding / How-To

Other Topics