[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: moving Subversion to another machine.

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-01-14 16:11:08 CET

daniel@etrak-plus.com wrote:

>What is the easiest way to move the repository from one machine to another?
>Or the best options to do this?
>Also would i need to the directory structure over also?
>
>

If it's exactly the same type of machine with exactly the same operating
system, you could just copy the files. This is very sensitive to changes
in machine architecture, operating system, and library versions though.
It might not work and is risky.

You should probably do a dump/load cycle:

svnadmin dump /path/to/repos > dumpfile
(copy dumpfile to new machine)
svnadmin create /path/to/newrepos
svnadmin load /path/to/newrepos < dumpfile

More info in the book:
http://svnbook.red-bean.com/html-chunk/ch05s03.html#svn-ch-5-sect-3.4

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 14 16:11:38 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.