# Setting a base path for s3 repositories in the Elasticsearch user settings

**URL:** <https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [February 24, 2021, 1:46am UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268 "2021-02-24T01:46:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhegarty](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jhegarty](https://discuss.elastic.co/u/jhegarty)\
**Post date:** [February 24, 2021, 1:46am UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268/1 "2021-02-24T01:46:16Z")

</div>

Is there some way to set a repository base path for s3 in an Elasticsearch deployment's user settings? I'm getting bootloop errors when we try that though setting `repositories.s3.base_path` in the user settings - ([Repository Settings | Elasticsearch Plugins and Integrations [7.9] | Elastic](https://www.elastic.co/guide/en/elasticsearch/plugins/7.9/repository-s3-repository.html))

---

<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:** [February 24, 2021, 8:42am UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268/2 "2021-02-24T08:42:00Z")

</div>

That looks like a docs bug to me, `repositories.s3.base_path` was removed in 6.0. I'll open a PR to fix it.

* * *

Update:

> <https://github.com/elastic/elasticsearch/pull/69516>

---

<div class="post-metadata">

**Author:** ![jhegarty](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jhegarty](https://discuss.elastic.co/u/jhegarty)\
**Post date:** [February 24, 2021, 4:47pm UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268/3 "2021-02-24T16:47:33Z")

</div>

Well, that explains it. But there aren't any other setting exposed for us to set a default base path? I know we can handle this through Kibana in 7.x, but it'd be extremely helpful to be able to handle this as part of the Elasticsearch deployment.

---

<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:** [February 24, 2021, 5:03pm UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268/4 "2021-02-24T17:03:10Z")

</div>

No, the base path is a property of each repository.

---

<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 10, 2021, 5:03pm UTC](https://discuss.elastic.co/t/setting-a-base-path-for-s3-repositories-in-the-elasticsearch-user-settings/265268/5 "2021-03-10T17:03:30Z")

</div>

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