Feedback Form
Thread

How can We import/export data from repository in Sling based application?

By subhasis - JCRDev | Posted on 2009-11-08 20:58

I have a server where Sling 3 is running. and in another server I am migrating the application in Sling 5.So I need to keep all the data of previous repository to the new one without any modification. That requires an import / export of Data without any loss. How can I do this? Any useful answer will be of great help.

Rated 0.0 by 0 user.

Previous comments on this post

By  meamitava - JCRLead | Posted on 2009-11-08 21:36

Export and import of data can be successfully done in any Sling based application using jcr-explorer. This is a web-based explorer application to administer and maintain a JSR-170 compliant JCR repository like Apache Jackrabbit. It allows e.g. to browse nodes, edit properties, make queries and use optional features like versioning, locking and observation. The process of migration using jcr-explorer has been explined in details in the following blog post -

http://www.jcrdev.com/jcrdev/blogs.postview.html?nd=migrating_an_applica_0

Hope this will be of help.

- Amitava

By  subhasis - JCRDev | Posted on 2009-11-09 21:53

Thanks a lot. It works. But I have a question. I tried the data migration using Bit-kinex and Copying the Jackrabbit folder. But I was unable to get any data. What was the reason?

By  meamitava - JCRLead | Posted on 2009-11-11 23:33

BitKinex treats every node and it's sub-node as a folder. Hence, when one copies the content from one instance of bitkinex to another, what actually gets copied is the entire folder structure. The various properties and content of these nodes and sub-nodes do not get copied. So, when you try to copy the content via bitkinex you just get the folder structure.

Regarding, the process of data migration using Jackrabbit folder, it can be done successfully. Keep an eye on the blogs section, there will be a post on this soon.

- Amitava
 

JCR Developer Forum Search

FORUM SEARCH

JCR DEVELOPERS (level, posts)

Sujoy Bhattacharjee (bhatasuj)
JCRDev
Blog Posts 5 | Forum Posts 5
Romit Bose (romitbose)
JCRDev
Blog Posts 0 | Forum Posts 0
Ruben Reusser (reusr1)
JCRDev
Blog Posts 0 | Forum Posts 0
Wayne Lund (wxlund)
JCRDev
Blog Posts 0 | Forum Posts 0
Luis Fernandez (guisho)
JCRDev
Blog Posts 0 | Forum Posts 0
Jong Tenerife (jongdakkel)
JCRDev
Blog Posts 0 | Forum Posts 2
Jay Kerger (jkerger)
JCRDev
Blog Posts 2 | Forum Posts 2
Subhasis Chakraborty (subhasis)
JCRDev
Blog Posts 4 | Forum Posts 13
Nitesh Ambuj (nambuj)
JCRLead
Blog Posts 5 | Forum Posts 18
Amitava Chakraborty (meamitava)
JCRLead
Blog Posts 8 | Forum Posts 14