Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export Elasticsearch Index to local

How can I export elasticsearch index to my local computer from server and import it to another sever like we do from phpMyadmin for mysql database?

like image 440
Ironman Avatar asked Oct 24 '25 18:10

Ironman


1 Answers

You can use the Snapshot API (http://www.elastic.co/guide/en/elasticsearch/reference/1.3/modules-snapshots.html) or just copy the index directory (which is usualy in your-es-directory/data/your-clustrname/nodes/your-node/your-index) to the target system when the instance is down.

like image 155
oskar alfons Avatar answered Oct 26 '25 16:10

oskar alfons



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!