Home > Subversion > subversion migration

subversion migration

Migrating SVN to a new server is simple. Take the dump of existing repo, copy it to the server you want it to be migrated, load the dump. done!
I will list down the commands to follow to get it migrated.

Take dump of existing repo:
svnadmin dump /path/to/repo > repo.dump

Copy the dump to svn server:
scp repo.dump root@remoteserver:~/

Now login to the remote server as root and load the dump into new repository:
svnadmin create /path/to/repo/
svnadmin load /path/to/repo/ < repo.dump

Advertisements
Categories: Subversion Tags:
  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: