You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andy Levy <an...@gmail.com> on 2007/05/24 17:48:23 UTC

Re: SVN Dump & Loa

On 5/24/07, Res Pons <po...@hotmail.com> wrote:
> I'm executing an svnadmin dump & load.  Looking at page 87 of the .pdf
> manual, I see that I can do something like

Which version of the PDF manual? There are 4 different ones.

> svnadmin create NewRepo
> svnadmin dump MyOldRepo --revision 5000:HEAD | svnadmin load NewRepo
>
> is there anyway to only dump and filter out a few specific projects out of
> the old repo, how?

If by "project" you mean "path", yes. Use svndumpfilter. See
http://svnbook.red-bean.com/en/1.2/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter

I have no idea which page of the PDF manual you're referring to this
is found on, but I'll bet it's not too far from where you're reading
about svnadmin dump/load.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN Dump & Lo

Posted by Res Pons <po...@hotmail.com>.
Thanks Andy.  I was only doing it that way for 2 reasons:

1. I only need 1 project which is fairly new from the old repo, whereas the 
old repo is few years old and has about 6 other projects which we have no 
use for.

2. Disk space, the old repo is about 4.5 GB and a dump file is even bigger.

But I like your advice, so I will do a dump of the whole  thing, you never 
know when or what I will need out of it later.

Thanks again

----Original Message Follows----
From: "Andy Levy" <an...@gmail.com>
To: "Res Pons" <po...@hotmail.com>, "users@subversion.tigris.org" 
<us...@subversion.tigris.org>
Subject: Re: SVN Dump & Lo
Date: Thu, 24 May 2007 14:18:25 -0400

On 5/24/07, Res Pons <po...@hotmail.com> wrote:
>I'm looking at "Migrating a Repository" toward the end of the page in the
>link/url you sent me.  So could I do something like this then?
>
>svnadmin dump MyOldRepo --revision 5000:HEAD |svndumpfilter include
>/projectxyz | svnadmin load NewRepo

Yes, you probably could, but why skip over making an actual dumpfile
(and then a filtered one) which you could use multiple times for
backup, testing, making sure everything is the way you expect, etc.?

>----Original Message Follows----
>From: "Andy Levy" <an...@gmail.com>
>To: "Res Pons" <po...@hotmail.com>
>CC: users@subversion.tigris.org
>Subject: Re: SVN Dump & Loa
>Date: Thu, 24 May 2007 13:48:23 -0400
>
>On 5/24/07, Res Pons <po...@hotmail.com> wrote:
> >I'm executing an svnadmin dump & load.  Looking at page 87 of the .pdf
> >manual, I see that I can do something like
>
>Which version of the PDF manual? There are 4 different ones.
>
> >svnadmin create NewRepo
> >svnadmin dump MyOldRepo --revision 5000:HEAD | svnadmin load NewRepo
> >
> >is there anyway to only dump and filter out a few specific projects out 
>of
> >the old repo, how?
>
>If by "project" you mean "path", yes. Use svndumpfilter. See
>http://svnbook.red-bean.com/en/1.2/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter
>
>I have no idea which page of the PDF manual you're referring to this
>is found on, but I'll bet it's not too far from where you're reading
>about svnadmin dump/load.
>
>_________________________________________________________________
>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

_________________________________________________________________
More photos, more messages, more storage�get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN Dump & Lo

Posted by Andy Levy <an...@gmail.com>.
On 5/24/07, Res Pons <po...@hotmail.com> wrote:
> I'm looking at "Migrating a Repository" toward the end of the page in the
> link/url you sent me.  So could I do something like this then?
>
> svnadmin dump MyOldRepo --revision 5000:HEAD |svndumpfilter include
> /projectxyz | svnadmin load NewRepo

Yes, you probably could, but why skip over making an actual dumpfile
(and then a filtered one) which you could use multiple times for
backup, testing, making sure everything is the way you expect, etc.?

> ----Original Message Follows----
> From: "Andy Levy" <an...@gmail.com>
> To: "Res Pons" <po...@hotmail.com>
> CC: users@subversion.tigris.org
> Subject: Re: SVN Dump & Loa
> Date: Thu, 24 May 2007 13:48:23 -0400
>
> On 5/24/07, Res Pons <po...@hotmail.com> wrote:
> >I'm executing an svnadmin dump & load.  Looking at page 87 of the .pdf
> >manual, I see that I can do something like
>
> Which version of the PDF manual? There are 4 different ones.
>
> >svnadmin create NewRepo
> >svnadmin dump MyOldRepo --revision 5000:HEAD | svnadmin load NewRepo
> >
> >is there anyway to only dump and filter out a few specific projects out of
> >the old repo, how?
>
> If by "project" you mean "path", yes. Use svndumpfilter. See
> http://svnbook.red-bean.com/en/1.2/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svndumpfilter
>
> I have no idea which page of the PDF manual you're referring to this
> is found on, but I'll bet it's not too far from where you're reading
> about svnadmin dump/load.
>
> _________________________________________________________________
> 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