{
"error": {
"root_cause": [
{
"type": "repository_exception",
"reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
],
"type": "repository_exception",
"reason": "[mt_bankmaster] failed to create repository",
"caused_by": {
"type": "repository_exception",
"reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
},
"status": 500
}
I already added in elasticsearch.yml file in below
ElasticSearch Snapshot
This is my Input
PUT /_snapshot/mt_bankmaster { "type": "fs", "settings": { "compress" : true, "location": "/home/timo/elasticsearch-backup" } }
Output
{ "error": { "root_cause": [ { "type": "repository_exception", "reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty" } ], "type": "repository_exception", "reason": "[mt_bankmaster] failed to create repository", "caused_by": { "type": "repository_exception", "reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty" } }, "status": 500 }
I already added in elasticsearch.yml file in below
Shared repo
path.repo: ["/mount/backups", "/mount/longterm_backups"]
path.repo: ["/home/timo/elasticsearch-backup"]
Please give solution.