migrate SVN Repositories to another server

Make sure you have enough rights to the existing repository:

First, dump the repository using svnadmin:

svnadmin dump /path/to/your-repository-name > your-repository-name.repo

Create your new repository (if you haven’t already):

svnadmin create your-new-repository-name

Then, load it into the new repository:

svnadmin load your-new-repository-name < your-repository-name.repo

Then, in your checked out code directory, change the repository location to point to the new location:

svn switch –relocate /path/to/old-repository /path/to/new-repository

One response to this post.

  1. Thanks, that solved my svn migration issue

    Reply

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 )

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

Follow

Get every new post delivered to your Inbox.