curl -k -u elastic:password -XPUT "http://localhost:9200/_snapshot/backupes?pretty" -H 'Content-Type: application/json' -d'{"type": "fs","settings":{"location": "/es_snapshots"}}'
{
"error" : {
"root_cause" : [
{
"type" : "exception",
"reason" : "failed to create blob container"
}
],
"type" : "exception",
"reason" : "failed to create blob container",
"caused_by" : {
"type" : "access_denied_exception",
"reason" : "/es_snapshots/tests-uV-VWrk0QMGZgOY6KwPjgg"
}
},
"status" : 500
}
Here is reason.
Most likely, elasticsearch is not running as root as this would refuse to start.
Note that all nodes must be able to write to this dir.
yeah i understand but how will i identify the with what user it is running
and i am using only single node as the data,ingest for elasticsearch
I believe that depending on how you installed elasticsearch, the user might be elasticsearch.

