Backup and Restore Elastic search

While elastic search is usually run as a cluster, for the sake of this tutorial I am showing the _snapshot and _restore tools.   mkdir /mnt/backups/my_backup chmod 777 -R /mnt/backups/ Must available on all nodes. curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -d '{ "type": "fs", "settings": { "location": "/mnt/backups/my_backup", "compress": true } }' [root@centos-base mnt]# curl -XGET 'http://localhost:9200/_snapshot/my_backup?pretty'…