[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: Res Pons <pons32_at_hotmail.com>
Date: 2007-05-18 18:34:12 CEST

The svn installation of the source server was svn1.4.x, so I installed the
same version on the new linux box.

Just as a test, I installed svn on a winxp desktop and unzipped/untarred the
exported repo onto my desktop, did a 'svnadmin create repo', and copied the
entire folder structure of the exported repo into the new created repo on my
desktop and then ran couple of svn commands, such as, svn info and list
against the merged repo and it seems to be ok.

However, doing this on rhel3+ is a different story altogether, as you made a
few noteworthy points. I'm using FSF by the way.

You'd think svn would have a command such as, "svnadmin newrepo..." to get
svn to point to an entirely new folder structure., or is there? I can't find
it.

Thanks for your help

:)

----Original Message Follows----
From: "Olivier Dagenais" <olivier.dagenais@formark.com>
To: "Res Pons" <pons32@hotmail.com>,<users@subversion.tigris.org>
Subject: RE: RE: What's the command for loading a new db
Date: Fri, 18 May 2007 12:16:40 -0400

> 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

_________________________________________________________________
Like the way Microsoft Office Outlook works? You’ll love Windows Live
Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 18 18:34:38 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.