jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Wallace ...@rwmotloc.com>
Subject Re: is it possible to export/import a repository from FS to DB
Date Fri, 23 Nov 2007 15:49:29 GMT
thanks! that helped a lot!

On Nov 23, 2007, at 5:43 AM, Paco Avila wrote:

>
> El jue, 22-11-2007 a las 17:32 -0600, Alexander Wallace escribió:
>> thanks a lot for the response... I have not tried it but looks like
>> there is an session.exportSystemView and a session.getWorkspace
>> ().importXML ... So maybe that's it...
>
> Ye, you are right. You can search in the mailing list for any sample
> code (http://www.nabble.com/forum/Search.jtp?forum=361&local=y) or  
> read
> the specification :)
>
>>
>> thanks!
>>
>>
>>
>> On Nov 22, 2007, at 10:54 AM, Fabián Mandelbaum wrote:
>>
>>> If I understood correctly, one can run a system-view export of the
>>> repo
>>> to an XML file, and then import that XML file into another repo to
>>> 'duplicate' the original repo.
>>>
>>> So, a quick-and-dirty solution would be:
>>>
>>> RepoA (FS): export system view
>>> RepoB (DB): import system view
>>> Done.
>>>
>>> I'm not sure this is documented anywhere, like most things
>>> JackRabbit ;-(
>>> Thanks $DEITY there's this very responsive list.
>>>
>>> Alexander Wallace escribió:
>>>> Thanks a lot for the response Paco (muy amable).... Is this by any
>>>> chance documented somewhere? I googled a bit but didn't find  
>>>> much...
>>>>
>>>> Thanks!
>>>>
>>>> On Nov 22, 2007, at 3:45 AM, Paco Avila wrote:
>>>>
>>>>>
>>>>> El mié, 21-11-2007 a las 18:32 -0600, Alexander Wallace escribió:
>>>>>> Hi All... Quick question... If i change the config to use  DB for
>>>>>> jackrabbit repository... Is there any way to import into the  
>>>>>> DB all
>>>>>> that has been added to the local, disk file system?
>>>>>
>>>>> Yes, you can perform an export/import to change the backend.
>>>>>
>>>>> -- 
>>>>> GIT CONSULTORS
>>>>>
>>>>> www.git.es
>>>>>
>>>>> Tel: +34 971 498 310
>>>>> Fax: +34 971 496 189
>>>>>
>>>>> C/ Francesc Rover, 2B.
>>>>> 07003 Palma de Mallorca – Illes Balears (España)
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
> -- 
> GIT CONSULTORS
>
> www.git.es
>
> Tel: +34 971 498 310
> Fax: +34 971 496 189
>
> C/ Francesc Rover, 2B.
> 07003 Palma de Mallorca – Illes Balears (España)
>
>
>


Mime
View raw message