Best way to import/export a Apache Jackrabbit repository
Asked Answered
B

4

7

What is the best way to import/export data from a Apache Jackrabbit repository?

Right now, I have a website based on a repository with over 100GB data in a server but I frequently need to take a subset of this data in my notebook for in-loco demonstrations.

How can I do this in the easiest and fastest way?

Bromidic answered 28/1, 2009 at 17:24 Comment(0)
B
3

Googling for it my best bet is this tool: http://svn.apache.org/repos/asf/jackrabbit/sandbox/jackrabbit-jcr-import-export-tool/README.txt

But, judging solely from the README file, it doesn't look very reliable.

The other problem is that it requires me to know the file names of all files I want to export in advance, which would be bothersome, since my main criteria for extraction is to copy the most recent files, ie, using the creation date as the filter.

The ideal solution would let me browse through the files in the repository as in a regular file-system and use simple copy tools to extract the data.

Bromidic answered 28/1, 2009 at 17:28 Comment(0)
B
1

Sadly there aren't that many generic JCR tools. Sling has two jcr explorers, one that is GWT based and another JS-based, but neither export.

Bamford answered 5/2, 2010 at 21:13 Comment(1)
There is also a more modern and new explorer written in JQueryMobile + Spring on the backend: meta64.com (Full disclosure: I wrote it!)Biliary
S
1

There is CRX from Day, but it costs some money

Selfpronouncing answered 16/7, 2010 at 9:41 Comment(0)
Y
0

I'm looking into this myself. Would Session.exportSystemView() and Session.importXML() work? Those will apparently allow you to serialize/deserialize a subtree as XML.

Yardarm answered 27/5, 2009 at 19:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.