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

RE: Restoring from an incremental dump?

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Fri, 8 Jan 2010 13:05:33 +0100

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_at_ryandesign.com]
Sent: 8. januar 2010 03:42
To: JossMartin
Cc: users_at_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 <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.

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

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2010-01-08 13:06:30 CET

This is an archived mail posted to the Subversion Users mailing list.