# Creation of Elasticsearch respository using azure plugin?

**URL:** <https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812>\
**Category:** Elasticsearch\
**Created:** [April 10, 2017, 12:12pm UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812 "2017-04-10T12:12:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [April 10, 2017, 12:12pm UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812/1 "2017-04-10T12:12:58Z")

</div>

Hi,

I have one azure storage account(xxx) and for that i had created two repositories like this:

```
1) PUT _snapshot/sample_backup
    {
      "type":"azure"
    } 

  2) PUT _snapshot/ex_backup
    {
      "type":"azure"
    } 

```

When i created a snapshot using curator with the field `repository: sample_backup` the snapshot is creating in both the repositories than creating at sample\_backup and in the same way delete also happening (i.e. when i am deleting a snapshot in one repository it is deleting the same in the other too)

May i know why this is happening? Do i have to create only one repository for one storage account, is it like that?

Thanks

---

<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:** [April 10, 2017, 1:33pm UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812/2 "2017-04-10T13:33:45Z")

</div>

Because you are writing at the exact same place.

Change container or base\_path options

---

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [April 18, 2017, 11:44am UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812/3 "2017-04-18T11:44:15Z")

</div>

Thanks @dadoonet

When i am creating a respository in azure like [quote="Yaswanth, post:1, topic:81812"]  
sample\_backup  
[/quote]

where this will be stored , Whether in azure or in my local environment ?

Because i checked in azure i didn't see repository name `sample_backup` created . I can see only the contents of sample\_backup.

Thanks

---

<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:** [April 19, 2017, 5:34pm UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812/4 "2017-04-19T17:34:58Z")

</div>

`sample_backup` is an elasticsearch "internal" reference. It does not imply any container name.

The default container name is `elasticsearch-snapshots`.

Look at [https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-azure-usage.html#repository-azure-repository-settings](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-azure-usage.html#repository-azure-repository-settings)

---

<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:** [May 17, 2017, 5:40pm UTC](https://discuss.elastic.co/t/creation-of-elasticsearch-respository-using-azure-plugin/81812/5 "2017-05-17T17:40:29Z")

</div>

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