Move svn server repository to new location

By neokrates, written on June 23, 2009

howto

  • Join date: 11-30-99
  • Posts: 224
View Counter:
  • 159 views
Rate it
Ad
Poll
  • Do you plan to migrate to new SCM?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext

On the server, the svn repositories are stored under normal directories. You instruct subversion to “dump” the data from your source repository and “load” it into new location.

Suppose, your current repository location is : /home/svn/repositories/svn/repo1

and you want to move your repository to /home/svn/repositories/svn/scc

Do:

svnadmin dump /home/svn/repositories/svn/repo1 > ~/repo1.dmp
cd /home/svn/repositories/svn
svn create scc
svnadmin load scc < ~/repo1.dmp
Be Sociable, Share!
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 2 votes)
1 votes 'YES'  1 votes 'NO'


TAGS

SOCIAL
Be Sociable, Share!

INCOMING SEARCH TERMS


2 Responses to “Move svn server repository to new location”

  1. Anatoly says:

    isn’t working.
    the following simply dump works for me:
    svnadmin dump /home/svn/repositories/svn/repo1 > repo1.svn
    svnadmin load /home/svn/repositories/svn/scc

  2. Anatoly says:

    Hi,

    As I see you have chaged your “dump” command.

    I am not sure, but earlier you had some symbols before “>” with “&”
    and all information from repo wasn’t saved to dump file and was showed to standart output.

    Sorry for my English :-)

Leave a Reply