Instructions for Migrating a Subversion (SVN) repository to Deveo

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

Prerequisites

In order to migrate your existing Subversion repository to Deveo 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 and we'll assist you in the 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 Deveo

  1. Login to your account in Deveo
  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

Deveo 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 Deveo repository as follows:

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

where <DEVEO-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 Deveo, contact our support.

Updated on: 23 January 2017