# Snapshot path.repo

**URL:** <https://discuss.elastic.co/t/snapshot-path-repo/118297>\
**Category:** Elasticsearch\
**Created:** [February 3, 2018, 6:54am UTC](https://discuss.elastic.co/t/snapshot-path-repo/118297 "2018-02-03T06:54:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivasan\_Ramesh](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@Srinivasan\_Ramesh](https://discuss.elastic.co/u/Srinivasan_Ramesh)\
**Post date:** [February 3, 2018, 6:54am UTC](https://discuss.elastic.co/t/snapshot-path-repo/118297/1 "2018-02-03T06:54:50Z")

</div>

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  
}

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 3, 2018, 9:24am UTC](https://discuss.elastic.co/t/snapshot-path-repo/118297/2 "2018-02-03T09:24:36Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) 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).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 3, 2018, 9:24am UTC](https://discuss.elastic.co/t/snapshot-path-repo/118297/3 "2018-03-03T09:24:45Z")

</div>

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