# Are we able to add basepath on ECE repository setting?

**URL:** <https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [July 30, 2017, 3:34pm UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079 "2017-07-30T15:34:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![weibin.wu](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@weibin.wu](https://discuss.elastic.co/u/weibin.wu)\
**Post date:** [July 30, 2017, 3:34pm UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079/1 "2017-07-30T15:34:49Z")

</div>

HI ECE:

I tried to add basepath attributes on ECE repository by clicking the advanced button. But seems doesnt work.

Are we able to do this in ECE? Or did I miss anything?

---

<div class="post-metadata">

**Author:** ![nrichers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nrichers/32/17801_2.png) [@nrichers](https://discuss.elastic.co/u/nrichers)\
**Post date:** [July 30, 2017, 5:01pm UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079/2 "2017-07-30T17:01:21Z")

</div>

Hi @weibin.wu,

I believe you are referring to adding a snapshot repository with the Advanced options as described in [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-repositories.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-repositories.html) and then you are trying to specify the `base_path` setting as part of the JSON.

Is that correct? And if so, can you show me the JSON you are specifying, minus any security-related information?

Nik

---

<div class="post-metadata">

**Author:** ![weibin.wu](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@weibin.wu](https://discuss.elastic.co/u/weibin.wu)\
**Post date:** [July 31, 2017, 8:31am UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079/3 "2017-07-31T08:31:46Z")

</div>

Hi I am using the Advanced options with this

{  
"type": "s3",  
"settings": {  
"region": "ap-southeast-1",  
"bucket": "es-ece",  
"base\_path": "prd-reward"  
}  
}

I already enable [list, put, get, delete] object to S3 bucket.  
But the snapshot still go into s3://snapshots/[cluster\_id]/

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [August 3, 2017, 1:03pm UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079/4 "2017-08-03T13:03:46Z")

</div>

@weibin.wu

Can you check the cluster's snapshot settings? eg if you go to the Kibana console and `GET` (something like) `/_snapshots/<repo-name>`, what does it report the settings as? If the `base_path` is set there, then something weird is happening with the snapshot module itself (this is unlikely)

I think the most likely explanation here is that you need to tell the system to reapply the snapshot settings. You can do that (for example) by re-applying the existing cluster "plan", eg "Cluster \> Manage \> Edit \> Save" .. that will cause a quick pipeline of actions that will re-apply the snapshot settings to the cluster (and do basically nothing else)

Alex

---

<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 17, 2017, 1:04pm UTC](https://discuss.elastic.co/t/are-we-able-to-add-basepath-on-ece-repository-setting/95079/5 "2017-08-17T13:04:02Z")

</div>

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