SVN Migration

I am going to close the server at my home so i need to move all the stuff to the new server which is a Virtual Private Server (VPS).

The most important stuff is the Subversion repository. Luckily i found a very good post about migrating a SVN repository in just a few steps – How to migrate SVN repository?.

Let’s assume the repository is called eureka and the Subversion group in the server is svn.

1. Dump the SVN repository @ the old server

  • svnadmin dump eureka > eureka.svn

 

2. Upload the dumped file to the new server
 

3. Create a new SVN repository @ the new server

  • svnadmin create eureka

 

4. Import the dumped file to the new created repository.

  • svnadmin load eureka < eureka.svn

 

5. Modify the files owner and permissions

  • chown -R www-data:svn eureka
  • chmod -R g+rws eureka

 

Done =)

Related post: Apache and SVN Integration

Reference: How to migrate SVN repository?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.