Dumping All Indices from Elasticsearch

npm install elasticdump -g

# Dump Elastic from one server to another server

elasticdump --input=http://elasticserver:9200/my_index --output=http://slave-elasticserver:9200/my_index --type=[mapping|analyzer|data]

# Dump Elastics from one server to json file

elasticdump --input=http://elasticserver:9200/my_index --output=my_index.json --type=[mapping|analyzer|data]


https://github.com/taskrabbit/elasticsearch-dump