Snapshot path.repo

i have been using elasticsearch 5.5.3
i need to create a backup.

This is my path

path.repo :["/home/devadmin/backup"]

i tried this in kibana :

PUT /_snapshot/my_backup
{
"type": "fs",
"settings": {
"location": "/home/devadmin/backup"
}
}

My error is

{
"error": {
"root_cause": [
{
"type": "repository_exception",
"reason": "[my_backup] location [/home/devadmin/backup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
],
"type": "repository_exception",
"reason": "[my_backup] failed to create repository",
"caused_by": {
"type": "repository_exception",
"reason": "[my_backup] location [/home/devadmin/backup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
},
"status": 500
}

Please format your code using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Please edit your post.

Did you restart the nodes? If you have many nodes, did you do that on all nodes?
Share your config file (formatted please).

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