Hi Ryan
i am not sure if i have done the correct way, but when i tried the
following:
sudo svnadmin load --parent-dir /svn/repos/abc/def <
/svn/dumprepos/abc/def.dump
svnadmin: Repository argument required
yong
On Tue, Dec 30, 2008 at 4:41 PM, Yong Shiuh Rong <shiuhrong_at_synamatix.com>wrote:
> ok. thanks for the reply, i will try again
> yong
>
>
> On Tue, Dec 30, 2008 at 4:39 PM, Ryan Schmidt <
> subversion-2008c_at_ryandesign.com> wrote:
>
>> On Dec 30, 2008, at 01:23, Yong Shiuh Rong wrote:
>>
>> Ryan Schmidt wrote:
>>>
>>> On Dec 23, 2008, at 22:22, Yong Shiuh Rong wrote:
>>>>
>>>> But i encounter another issue now, which is when i do the "svnadmin
>>>>> dump /svn/repos/abc/repo1 > /path/to/dump1" as told i got the following
>>>>> error.
>>>>>
>>>>> sudo svnadmin dump /svn/repos/abd/def/ > /svn/dumprepos/abc/def/
>>>>> -bash: /svn/dumprepos/abc/def/: Is a directory
>>>>>
>>>>> is there anything i done wrong?
>>>>>
>>>>
>>>> Give svnadmin the name of the file you want to dump to, e.g.:
>>>>
>>>> sudo svnadmin dump /svn/repos/abd/def/ > /svn/dumprepos/abc/def.dump
>>>>
>>>
>>> i tried to run the following command:
>>> sudo svnadmin load /svn/repos/abc/ < /svn/dumprepos/abc/hij.dump
>>>
>>> but it gave me the following error:
>>>
>>> <<< Started new transaction, based on original revision 1
>>> svnadmin: File already exists: filesystem '/svn/repos/abc/db',
>>> transaction '14-h', path 'branches'
>>> * adding path : branches
>>>
>>
>> Ah, so both repositories contain the directory "branches" (and probably
>> the directories "tags" and "trunk" as well, yes?)
>>
>> So you should be loading each repository into a subdirectory of the
>> destination repository instead. Look into the --parent-dir option to
>> svnadmin load. Note that you will need to "svn mkdir" the directory in
>> question before you can load anything into it with the --parent-dir option.
>>
>>
>> i think i may redo the whole repository from scratch, is there any guide
>>> so that i won't repeat the same mistake again?
>>>
>>
>> You don't have to start over if you don't want to; just use the
>> --parent-dir option.
>>
>>
>>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1004118
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 21:50:10 CET