# Updating repo.path dynamically?

**URL:** <https://discuss.elastic.co/t/updating-repo-path-dynamically/32043>\
**Category:** Elasticsearch\
**Created:** [October 12, 2015, 9:50pm UTC](https://discuss.elastic.co/t/updating-repo-path-dynamically/32043 "2015-10-12T21:50:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [October 12, 2015, 9:50pm UTC](https://discuss.elastic.co/t/updating-repo-path-dynamically/32043/1 "2015-10-12T21:50:52Z")

</div>

I am trying to update this setting dynamically using the JEST library and a request like;

```
    String source = "{\n" +
            " \"transient\" : {\n" +
            " \"path.repo\" : [\" C:\\temp \"]\n" +
            " }\n" +
            "}";

```

but I get;

[2015-10-12 22:40:55,075][WARN][action.admin.cluster.settings] [Brain Cell] ignoring transient setting [path.repo], not dynamically updateable

Is there a good reason why this is not possible ? Or is it something that could be supported ?

Thanks,

---

<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:** [October 12, 2015, 9:52pm UTC](https://discuss.elastic.co/t/updating-repo-path-dynamically/32043/2 "2015-10-12T21:52:39Z")

</div>

It's there for security reasons, you don't really want someone adding a new repo and then importing adhoc data.

---

<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 5, 2017, 11:45pm UTC](https://discuss.elastic.co/t/updating-repo-path-dynamically/32043/3 "2017-07-05T23:45:16Z")

</div>


