You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by me...@gmail.com on 2008/12/22 07:05:19 UTC
How to import dump data.
Hello,
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 ?
Please let me know.
Thanks in advance,
Laxmilal
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=989469
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How to import dump data.
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 23, 2008, at 00:26, postmaster@tigris.org wrote:
> On Dec 22, 2008, at 12:07, marc gonzalez-carnicer wrote:
>
>> 2008/12/22 <me...@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@subversion.tigris.org].
RE: Re: How to import dump data.
Posted by po...@tigris.org.
I have committed some files which are big and not required later (in revision 11-99), so want to reduce my repository size.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=990384
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: How to import dump data.
Posted by marc gonzalez-carnicer <ca...@gmail.com>.
your dump commands are discarding revisions 11 to 99 (both included).
are you sure you want to do this?
2008/12/22 <me...@gmail.com>:
> Hello,
>
> 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 ?
>
> Please let me know.
>
> Thanks in advance,
> Laxmilal
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=989469
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=989967
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].