...
Code Block |
---|
heetis@HEE-TIS-VM-UAT-ES:~$ curl -XPUT 'localhost:9200/.kibana/_settings' -d '{"number_of_replicas": 0}' heetis@HEE-TIS-VM-UAT-ES:~$ |
To list all backup repositories
curl -XGET http: //localhost:9200/_snapshot/_all |
To list all snapshots in the repository (elasticsearch)
curl -XGET http: //localhost:9200/_snapshot/elasticsearch/_all |
To restore a particular snapshot (Eg: 2017.01.18)
curl -X POST http: //localhost:9200/_snapshot/elasticsearch/2017.01.18/_restore |