Elasticsearch snaphot

I am trying to take snapshot of the indices,the snapshot seems to be completed without any error.But snapshot shows empty..

[root@test-9c4b58584-c257l /]# curl -u admin:*** -XPUT 'http://elasticsearch:9200/_snapshot/backup?pretty' -H 'Content-Type: application/json' -d'

{
"type": "fs",
"settings": {
"location": "/mnt/backup",
"compress": true
}
}
'
{
"acknowledged" : true
}
[root@test-9c4b58584-c257l /]# curl -u admin:*** -XGET 'elasticsearch:9200/_snapshot/_status?pretty'
{
"snapshots" :
}
[root@test-9c4b58584-c257l /]#

Anything wrong?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.