# Multiple Snapshot Repositories show same snapshots. They seem to be interlinked

**URL:** <https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566>\
**Category:** Elasticsearch\
**Created:** [October 8, 2016, 9:03pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566 "2016-10-08T21:03:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)\
**Post date:** [October 8, 2016, 9:03pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/1 "2016-10-08T21:03:57Z")

</div>

I have a cluster and I registered multiple repos in it with same type (azure). Let's say repos are

- repo\_1
- repo\_2
- repo\_3

The reason I created three different repos is because I have three different types of indices and I want to take their snapshots in different repos.

All these repos have same type (azure) and in elasticsearch.yml three settings point to a blob on Azure.

The problem that I'm facing is that when I put a snapshot in any one of these repos, it shows up in all repos. For instance if I create a snapshot of some indices in repo2 and then I do a GET on repo1, the snapshots I created in repo2 shows in the output. Somehow all repos return all snapshots created in any of them.

I'm unable to understand why this is happening. Is it a bug? or is it like this by design? If it is later, then can I register multiple blobs on Azure and link multiple repos pointing to each corresponding blob.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 9, 2016, 7:37pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/2 "2016-10-09T19:37:19Z")

</div>

For the record, I'm linking here to the Github issue you opened: [https://github.com/elastic/elasticsearch/issues/20822](https://github.com/elastic/elasticsearch/issues/20822)

---

<div class="post-metadata">

**Author:** ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)\
**Post date:** [October 10, 2016, 2:00am UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/3 "2016-10-10T02:00:42Z")

</div>

Did you find anything. I've uploaded a gist there.

I need the solution a bit urgently on this one.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 10, 2016, 4:20am UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/4 "2016-10-10T04:20:59Z")

</div>

Sorry but I don't have the bandwidth for now to look st it.

---

<div class="post-metadata">

**Author:** ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)\
**Post date:** [October 10, 2016, 5:09am UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/5 "2016-10-10T05:09:29Z")

</div>

Can you just dedicate 5 minutes. I'm stuck on this for a while. My work is stalled because of this.

---

<div class="post-metadata">

**Author:** ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)\
**Post date:** [October 10, 2016, 2:10pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/6 "2016-10-10T14:10:28Z")

</div>

Sir, Did you find anything. Can you just tell me the right procedure to register a repo with a container. should I be giving full URI or just the name of the container.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 10, 2016, 2:24pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/7 "2016-10-10T14:24:33Z")

</div>

Just the name

---

<div class="post-metadata">

**Author:** ![Abhishek\_Vaid](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhishek\_Vaid](https://discuss.elastic.co/u/Abhishek_Vaid)\
**Post date:** [October 10, 2016, 7:17pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/8 "2016-10-10T19:17:25Z")

</div>

Thank you. Another question is that, in your knowledge is it even achievable? that is can we have have multiple repos with same storage account but different containers.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 10, 2016, 9:02pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/9 "2016-10-10T21:02:50Z")

</div>

Yes. This should work IMO.

---

<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, 10:13pm UTC](https://discuss.elastic.co/t/multiple-snapshot-repositories-show-same-snapshots-they-seem-to-be-interlinked/62566/10 "2017-07-05T22:13:31Z")

</div>


