Elasticsearch backup not working


(sami) #1

i am making a backup on the nfs share and it does create the directory on each share and I get an acknowledge but all the directories are empty .
The "ash" index is open and has 166,000 + records

$curl -XPUT 'hadoop1:9200/_snapshot/ash_bck' -H 'Content-Type: application/json' -d '{
"type":"fs",
"indices":"ash",
"ignore_unavailable":"true",
"include_global_state":"false",
"settings":{
"location":"ash",
"compress":"true"
}
}'
{"acknowledged":true}


(David Pilato) #2

You just created the repository here. You did not Snapshot anything yet.

See https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_snapshot


(system) #3

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