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

Re: Merge of 2 separate subversion installations.

From: Patricia A Moss <pmoss4_at_csc.com>
Date: Fri, 30 Jan 2009 14:39:34 -0500


        First, thank you for answering all of my questions. There are a
couple more things that I would like to get cleared up.
        1. So, a dump is not the same as a Unix tar command. If I were to
tar /home/testrepo and then restore it I would get the full directory
structure of /home/testrepo restored to whatever path I used in the untar.
When I give a path for the dump I am simply pointing to the area by which
to get the data to dump from? Is that a correct statement?
        2. Since these repos are going to a new server there is no "old
one" to load into. So that would mean for every repo that I dump from the
old server I would need to create a new/empty one on the new server;
before I perform, the load?
        3. By creating new/empty repos I keep the integrity of the
revision numbers?
        4. Dumping from an older version and then loading into a newer
version of Subversion will not cause any issues?

System Engineer Sr. Professional

575 E. Swedesford Road, Suite 300, Wayne, PA 19464
GIS | p: 610.989.7105 | f: 610.989.7100 | pmoss4_at_csc.com | www.csc.com

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such

Les Mikesell <lesmikesell_at_gmail.com>
01/30/2009 02:18 PM

Patricia A Moss/GIS/CSC_at_CSC
Re: Merge of 2 separate subversion installations.

Patricia A Moss wrote:
> Les,
> In my first inquiry I asked "Is it as simple as doing a repo
> from the 1.2.1 version and then restoring into the newer version?"
> So, my understanding of your explanation is that svnadmin dump
> path-to-repo > dumpfile is the best way to get them moved.
> Then you say that I have a choice as to where they get loaded,
> the new server. So, I have a question about that.
> If I use the following example: svnadmin dump /home/testrepo >
> testrepo.dump to create my dump file and then move it over to the new
> server and run the command svnadmin load path-to-repo < testrepo.dump;
> is this "path-to-repo" that affords me the choice of location to load?

Yes, you can either create a new, empty repo and load it in at the top,
or make a new directory in your old one and load under that. The
differences will be that keeping thing separate will make the old
revision numbers remain consistent and make it easier if you ever want
to pull them apart again. Merging them might make maintenance of
authentication/access control easier.

   Les Mikesell
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-30 20:43:15 CET

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.