Installing elasticdump for data security :
Git : https://github.com/taskrabbit/elasticsearch-dump
1 2 3 4 5 6 |
apt-get install npm #Package manager for node.js based programs ln -s /usr/bin/nodejs /usr/bin/node #Namespace link for Debian. Flamewar! #Create the destination file mkdir /data touch /data/my_index.json elasticdump --input=http://localhost:9200/_search?pretty --output=/data/my_index.json --type=data |