# Change "path.repo" value in settings without restarting cluster - is it possible?

**URL:** <https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073>\
**Category:** Elasticsearch\
**Created:** [June 10, 2019, 10:48pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073 "2019-06-10T22:48:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yury\_Kozlov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yury_kozlov/32/48944_2.png) [@Yury\_Kozlov](https://discuss.elastic.co/u/Yury_Kozlov)\
**Post date:** [June 10, 2019, 10:48pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/1 "2019-06-10T22:48:24Z")

</div>

Hi, is it possible to change "path.repo" value in settings without restarting cluster ?  
I'd like to change our backups location without playing around with availability of any node.  
We use Elastic 6.8.0 on Windows.

Thanks,  
Yury

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 10, 2019, 10:55pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/2 "2019-06-10T22:55:18Z")

</div>

Welcome! 🙂

It's not possible sorry. It's like this as a security precaution, to stop people adding in paths without the administrator being aware.

---

<div class="post-metadata">

**Author:** ![Yury\_Kozlov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yury_kozlov/32/48944_2.png) [@Yury\_Kozlov](https://discuss.elastic.co/u/Yury_Kozlov)\
**Post date:** [June 10, 2019, 11:09pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/3 "2019-06-10T23:09:01Z")

</div>

Thanks for a quick reply!  
I would love to see this feature (changing settings at runtime) available through some dedicated api with required permissions.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 10, 2019, 11:11pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/4 "2019-06-10T23:11:53Z")

</div>

It'd be great if you could create an enhancement request in GitHub for it, it makes total sense now we have RABC in Basic 🙂

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 11, 2019, 6:08am UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/5 "2019-06-11T06:08:08Z")

</div>

I don't think this is so simple. The reason Elasticsearch needs `path.repo` at startup is so it can configure the JVM security manager to allow access to those paths, and it isn't possible to reconfigure the security manager dynamically after it's been installed.

The normal approach to changing settings like this is to perform a rolling restart, which keeps the cluster alive and healthy throughout. @Yury_Kozlov can you explain in more detail why you don't want to perform a rolling restart here?

---

<div class="post-metadata">

**Author:** ![Yury\_Kozlov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yury_kozlov/32/48944_2.png) [@Yury\_Kozlov](https://discuss.elastic.co/u/Yury_Kozlov)\
**Post date:** [June 11, 2019, 12:22pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/6 "2019-06-11T12:22:08Z")

</div>

We can, but we don't want because this operation requires work overhead and we have higher priorities in our backlog.  
I just thought changing backups path is a simple operation and can be easily done without any interruptions.

---

<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:** [July 9, 2019, 12:24pm UTC](https://discuss.elastic.co/t/change-path-repo-value-in-settings-without-restarting-cluster-is-it-possible/185073/7 "2019-07-09T12:24:24Z")

</div>

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