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

Re: How to import dump data.

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Tue, 23 Dec 2008 15:36:41 -0600

On Dec 23, 2008, at 00:26, postmaster_at_tigris.org wrote:

> On Dec 22, 2008, at 12:07, marc gonzalez-carnicer wrote:
>
>> 2008/12/22 <menarialaxmilal_at_gmail.com>:
>>
>>> I am using Subversion form last 3-4 years. Now my repository size
>>> is too big. So want to reduce it for taking all required data in
>>> dump and then import it. So I have tried the followings to backup :
>>>
>>> svnadmin dump c:\myrepos -r 1:10 > lm1
>>> svnadmin dump c:\myrepos -r 100:200 --incremental > lm2
>>>
>>> After that Have created new repos and tried with load command.
>>>
>>> svnadmin load c:\lmbk < lm1 (it works)
>>> svnadmin load c:\lmbk < lm2 but its shows error
>>>
>>> <<< Started new transaction, based on original revision 100
>>> * deleting path : Folder/file1.html ...svnadmin: File not found
>>> : transaction '10-1', path 'Folder/file1.html'
>>>
>>> So what can I do ?
>>
>> your dump commands are discarding revisions 11 to 99 (both included).
>>
>> are you sure you want to do this?
>
> I have committed some files which are big and not required later
> (in revision 11-99), so want to reduce my repository size.

It sounds like your original revision 100 is trying to delete a file
Folder/file1.html which doesn't exist in your new repository's 10
revisions, so that can't work. Was file1.html added between revision
11 and 99?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-23 22:37:59 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.