Importing your Subversion Repository

Posted by Floyd Price on June 9, 2011

Quite often when you come to Code Spaces you will already have a Subversion repository, be it on your local infratructure or with another Subversion Hosting company.

What you need.

Before you can move your data in to our infrastucture you will need an SVN Dump of your existing repository, If you running your own SVN infrestructure you can do this with the svnadmin dump command as follows:

svnadmin dump repository_path > repository_name.dump

If you repository is hosted with a third party you will need to use the mechinism they have or raise a support ticket to get a SVN Dump of your data.

When you have it.

Once you have your dump file, you are ready to import your repository to Code Spaces, we have 2 methods depending on the size of your repository.

Method A – For smaller dump files

Code Spaces has a repository import function that you can use to upload a dump file and have the system auto import it for you. To use this create a new repository in your Code Spaces admin section and select the import repository option.

This option is ideal if your repository is less than 100MB.

Method B – For larger dump files

If you repository dump file is large (> 100MB) you may find that our manual import process is more efficient, simply raise a support ticket with us and send us a link to the dump file, we will (usually within 24 hours) be able to import of for you and verify the new repository for you.

If you have any problems with Method A or your repository is large, this metod is the best approach.

3 comments

  1. How do I export from a Codespaces SNV repository for me to maintain a backup?

  2. Hey, take a lok at the following article on this very subject:
    http://www.codespaces.com/blog/2011/03/30/where-are-my-backups/

    Cheers,

    Floyd

  3. This is great, the new color does make me want a orange popsicle.

Leave a comment