Instructions for Migrating a Subversion (SVN) repository to Helix TeamHub

This article walks you through how to migrate an existing Subversion repository to Helix TeamHub.

Prerequisites

In order to migrate your existing Subversion repository to Helix TeamHub by yourself, you need at least Subversion 1.7.X series. If your Subversion repository size is above 2GB or contains more than 5000 commits, contact us or your local IT support to get assistance in your migration.

Get full dump from existing repository

First step is to create a dump file from your existing repository. If you have shell access to the Subversion server, you can use svnadmin dump as follows:

svnadmin dump /path/to/repository > svn-repo-dump.dump

where /path/to/repository is the repository path in the local disk and svn-repo-dump.dump is the dump file name.

If you do not have shell access to the Subversion server, you need to use svnrdump dump to dump the repository. This would be accomplished as follows:

svnrdump dump <REPOSITORY-CHECKOUT-URL> > svn-repo-dump.dump

where <REPOSITORY-CHECKOUT-URL> is the repository checkout url. You may need to add --username <NAME> and --password <PASSWORD> options to svnrdump command if your Subversion server uses authentication and authorization.

Create new project and repository in Helix TeamHub

  1. Login to your account in Helix TeamHub
  2. Create a new project or navigate to a existing project
  3. Create a new Subversion repository
  4. Copy the checkout URL from the repository view to clipboard

Helix TeamHub repository view with HTTPS clone URL open

Do not checkout the repository or commit any changes to it.

Migrate the data

Use svnrdump load to load the dump file you got from the existing repository to the freshly created Helix TeamHub repository as follows:

svnrdump load <HELIX-TEAMHUB-REPOSITORY-CHECKOUT-URL> < svn-repo-dump.dump

where <HELIX-TEAMHUB-REPOSITORY-CHECKOUT-URL> is the repository checkout URL you copied to clipboard and svn-repo-dump.dump is the dump filename.

If you need assistance in migrating your Subversion repository to Helix TeamHub cloud, contact our support. If you wish to migrate your Subversion repository to Helix TeamHub on-premises installation, contact your local IT support.

Updated on: 12 September 2017