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

RE: RE: What's the command for loading a new db

From: Olivier Dagenais <olivier.dagenais_at_formark.com>
Date: 2007-05-18 18:16:40 CEST

> I have set up svn on a linux server and untarred a hotcopy of a
> another repo
> to a local folder, in /home/tmp/repo. Now I'm going to run svnadmin
> create
> /home/repo and will move everything from /home/tmp/repo, one level up
> to the
> newly created repo. Otherwise, I can't think of any other way to get
> the
> new installation of SVN, on a new server, to point to the untarred
> repo
> imported from another linux server. Any help is appreciated.

Have you tried untarring the hotcopy directly into /home/repo without running any "svnadmin create" for that location? AFAIK, the repositories don't have to be "registered" somewhere special; they just have to be rooted in the same folder.

BTW, this has a chance of not working if you don't have the same versions of Subversion (and possibly BDB) on both machines. This happened to us and I had to svndump using an older version of Subversion and then svnrestore with the new one.

HTH,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Olivier Dagenais
Software Engineering / Génie logiciel
Formark - Combine the Best of SharePoint® and Livelink®
Phone: 613-599-5173 ext 238
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Make sure you don't miss anything: subscribe to the Formark Newsletter:
http://www.formark.com/support/register/index.asp
Received on Fri May 18 18:14:45 2007

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.