You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by JossMartin <jo...@i2factory.com> on 2010/01/07 13:02:06 UTC

Restoring from an incremental dump?

Hi everybody!

I want to know if there is any way to restore a local copy from an
incremental dump made from my repository. I think it is possible, but I
can't find out the solution.

Thanks in advance!
-- 
View this message in context: http://old.nabble.com/Restoring-from-an-incremental-dump--tp27059622p27059622.html
Sent from the Subversion Users mailing list archive at Nabble.com.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435471

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: Restoring from an incremental dump?

Posted by Stephen Connolly <st...@gmail.com>.
renumbered... and the load may fail depending on the subsequent actions

2010/1/8 Geir Engebakken <ge...@edb.com>:
> Just a question here, if you skip revisions in the load, will the revision numbers be adjusted, or will they preserve the original revision numbers with padded zero revisions maybe?
>
>
> Geir
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2010a@ryandesign.com]
> Sent: 8. januar 2010 03:42
> To: JossMartin
> Cc: users@subversion.tigris.org
> Subject: Re: Restoring from an incremental dump?
>
> On Jan 7, 2010, at 07:02, JossMartin wrote:
>
>> I want to know if there is any way to restore a local copy from an
>> incremental dump made from my repository. I think it is possible, but I
>> can't find out the solution.
>
> Assuming you have several incremental dump files, going back to the beginning of the repository's creation, sure you can create a new repository from it:
>
> svnadmin create newrepo
> svnadmin load newrepo < dumpfile1
> svnadmin load newrepo < dumpfile2
> svnadmin load newrepo < dumpfile3
> svnadmin load newrepo < dumpfile4
> etc.
>
> where dumpfile1 is the one that begins at revision 0, dumpfile2 begins at or after where dumpfile1 left off, etc.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435658
>
> Please start new threads on the <us...@subversion.apache.org> mailing list.
> To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435739
>
> Please start new threads on the <us...@subversion.apache.org> mailing list.
> To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435740

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

RE: Restoring from an incremental dump?

Posted by Geir Engebakken <ge...@edb.com>.
Just a question here, if you skip revisions in the load, will the revision numbers be adjusted, or will they preserve the original revision numbers with padded zero revisions maybe?


Geir

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2010a@ryandesign.com] 
Sent: 8. januar 2010 03:42
To: JossMartin
Cc: users@subversion.tigris.org
Subject: Re: Restoring from an incremental dump?

On Jan 7, 2010, at 07:02, JossMartin wrote:

> I want to know if there is any way to restore a local copy from an
> incremental dump made from my repository. I think it is possible, but I
> can't find out the solution.

Assuming you have several incremental dump files, going back to the beginning of the repository's creation, sure you can create a new repository from it:

svnadmin create newrepo
svnadmin load newrepo < dumpfile1
svnadmin load newrepo < dumpfile2
svnadmin load newrepo < dumpfile3
svnadmin load newrepo < dumpfile4
etc.

where dumpfile1 is the one that begins at revision 0, dumpfile2 begins at or after where dumpfile1 left off, etc.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435658

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435739

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: Restoring from an incremental dump?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 7, 2010, at 07:02, JossMartin wrote:

> I want to know if there is any way to restore a local copy from an
> incremental dump made from my repository. I think it is possible, but I
> can't find out the solution.

Assuming you have several incremental dump files, going back to the beginning of the repository's creation, sure you can create a new repository from it:

svnadmin create newrepo
svnadmin load newrepo < dumpfile1
svnadmin load newrepo < dumpfile2
svnadmin load newrepo < dumpfile3
svnadmin load newrepo < dumpfile4
etc.

where dumpfile1 is the one that begins at revision 0, dumpfile2 begins at or after where dumpfile1 left off, etc.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435658

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.