Abhishek,

There are a couple tools you can use for this task.

If the old system is still up and running you can use xqsync to move data from 
one system to another, either using an intermediate file or directly over HTTP.

If you can restore the data to a new system (I'm not sure raw forest moves are 
supported, but may work if the OS is the same family) you can configure the new 
copy as a database, then copy documents over to a new, empty database with a 
new forest. Use the <database> option in xdmp:eval to apply the insert in a 
different database from the one you are reading from. To do this for many 
documents use CoRB.

Yours,
Damon

From: [email protected] 
[mailto:[email protected]] On Behalf Of Abhishek53 S
Sent: Tuesday, July 31, 2012 2:21 PM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Data Extraction From Older Forest Data 
directory

Hi All,

The data directory for sample-forest01 is configured as C:/data. I copied the 
entire forest data directory and move it to different system.

I want to create different forest sample-forest02 and with the data available 
in the data directory for sample-forest01.

Is their any way to do that?

Thanks
Abhishek Srivastav
Tata Consultancy Services
Cell:- +91-9883389968
Mailto: [email protected]<mailto:[email protected]>
Website: http://www.tcs.com<http://www.tcs.com/>
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to