Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to import/export a Apache Jackrabbit repository

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?

like image 436
Dema Avatar asked Jan 28 '09 17:01

Dema


2 Answers

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.

like image 106
Dema Avatar answered Oct 27 '22 01:10

Dema


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.

like image 35
yincrash Avatar answered Oct 27 '22 00:10

yincrash