Elasticsearch Cluster Docker Snapshots Failed

Hi

I have a cluster of elasticsearch with 1 master 2 slaves nodes, total of 3.
My componse file i put the repo params to backup

"path.repo=/usr/share/elasticsearch/backup-repo/"

Create a repo to backup and works fine in last week, today try run a backup again and the process failure.

My repo config:

PUT /_snapshot/bkp-data

{
"type": "fs",
"settings": {
"location": "/usr/share/elasticsearch/backup-repo/",
"compress": true
}
}

When try get snapshot status:

GET /_cat/snapshots

{

"error": {
"root_cause": [
{
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: repository is missing;"
}
],
"type": "action_request_validation_exception",
"reason": "Validation Failed: 1: repository is missing;"
},
"status": 400
}

My backup command:

PUT /_snapshot/bkp_data/%3Csnapshot-%7Bnow%2Fd%7D%3E

Thinking that problem can be the docker volume mounted, logging in container the volume are mounted and read/write works

Some can help :smiley:

hi, someone? :frowning:

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