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.
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
FORUM SEARCH
LATEST THREADS
Dumb Question: How do you export content out of the repo?One Service Two Implementations Problem
Integrate Axis2 with Apache Sling
Exception in Jcr-Explorer
Build exception in server, same code running fine in Local system
How to redirect the website URL for Sling application?
How to import large amount of data in Sling based application?
How can We import/export data from repository in Sling based application?
How to Take backup & restore specific changed files of JCR
Data Migration from Sling3 Server to Sling5 Server
JCR DEVELOPERS (level, posts)

