# Setting up data.repo?

**URL:** <https://discuss.elastic.co/t/setting-up-data-repo/192097>\
**Category:** Elasticsearch\
**Created:** [July 24, 2019, 5:02pm UTC](https://discuss.elastic.co/t/setting-up-data-repo/192097 "2019-07-24T17:02:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjedrasik](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jjedrasik](https://discuss.elastic.co/u/jjedrasik)\
**Post date:** [July 24, 2019, 5:02pm UTC](https://discuss.elastic.co/t/setting-up-data-repo/192097/1 "2019-07-24T17:02:12Z")

</div>

Hey all,  
I've set up data.repo inside the elasticsearch.yml file as such:

`
path.repo: ["/mount/restore/data"] 
`

Afterwards I restarted elasticsearch and when I try to create a backup repository I'm told:

`
["mount/restore/data"] doesn't match any of the locations specified by the path.repo because this setting is empty.
`

So I checked the node, and sure enough, there is no path.repo variable set. It's in the config file. Does anyone know why this might be happening?

---

<div class="post-metadata">

**Author:** ![jjedrasik](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jjedrasik](https://discuss.elastic.co/u/jjedrasik)\
**Post date:** [July 24, 2019, 5:56pm UTC](https://discuss.elastic.co/t/setting-up-data-repo/192097/2 "2019-07-24T17:56:22Z")

</div>

On further study:  
The variable shows up on one node. Do all nodes need to have this path defined? I tried this the other day and they all failed on me.

---

<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:** [August 21, 2019, 5:56pm UTC](https://discuss.elastic.co/t/setting-up-data-repo/192097/3 "2019-08-21T17:56:44Z")

</div>

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