How to read/export data from a Endeca CAS recordstore?

Following is the two step process to extract/read/export endeca record store into an xml

Step 1:  Go to CAS bin directory – <Endeca-Installation>/CAS/11.0.0/bin

cd  <Endeca-Installation>/CAS/11.0.0/bin

Step 2 :  Run recordstore-cmd command

./recordstore-cmd.sh read-baseline -a CRS_en_data -f /tmp/logs/CRSRecordstore.xml

This will export the content of CRS_en_data in XML format at /tmp/logs/CRSRecordstore.xml

P.S. – To get the list of recordstores , please refer blog how-to-get-list-of-endeca-cas-record-stores

Cheers,
Mayank Batra

Leave a Reply