# Multiple snapshot in multiple containers

**URL:** <https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [June 27, 2022, 12:41pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249 "2022-06-27T12:41:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 27, 2022, 12:41pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/1 "2022-06-27T12:41:27Z")

</div>

Hi all ,  
We know currently ElasticSearch doesn't allow taking multiple snapshot at same time for the some container it is configured with.  
Let's say i have 2-3 index , i configure unique new repository for each of my index and all my repository points to different azure container . Will this ensure that there is no down time(no snapshot failure) while taking snapshots and elasticsearch lets us create multiple snapshot at a time , or will this configuration also not work ?

---

<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:** [June 27, 2022, 12:45pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/2 "2022-06-27T12:45:32Z")

</div>

> [@A\_j\_xx](#):
>
> We know currently Elasticsearch doesn't allow taking multiple snapshot at same time for the some container it is configured with.

This isn't true, you can take concurrent snapshots in the latest 7.x and 8.x versions.

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 27, 2022, 12:51pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/3 "2022-06-27T12:51:22Z")

</div>

Thanks for responding David ,  
So , can registering different blob containers for each repository give any performance edge ? Because taking multiple snapshots at a time for for multiple index each having different repository (upto 20 gb new data per index every day ) takes a lot of time if configured for single container

---

<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:** [June 27, 2022, 1:07pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/4 "2022-06-27T13:07:04Z")

</div>

> [@A\_j\_xx](#):
>
> can registering different blob containers for each repository give any performance edge ?

I don't understand what you mean by this. There is a concept called a [`BlobContainer`](https://github.com/elastic/elasticsearch/blob/0132541d60658ebe480d19043e86f459eaf2bbf3/server/src/main/java/org/elasticsearch/common/blobstore/BlobContainer.java) in Elasticsearch but you don't have any control over how many of them there are.

More generally I don't think there's any performance advantage to multiple repositories. You can usually max out your disk/network bandwidth with a single repository.

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 27, 2022, 2:18pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/5 "2022-06-27T14:18:41Z")

</div>

> [@DavidTurner](#):
>
> I don't understand what you mean by this.

I meant to say if i have specific blob container for specific repository ( each repository have their own blob containers ) then at the time of multiple snapshot at single point of time would there be any performance improvement in terms of time it takes to complete those snapshots , as writing to single container might max out my network bandwidth with one repository itself , so what about other repositories which would want to take snapshot at same point of time .  
Does ES distributes bandwidth equally to each snapshot at the time of concurrent snapshotting ?  
Like how does it optimize the process of taking concurrent snapshots

---

<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:** [June 27, 2022, 3:05pm UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/6 "2022-06-27T15:05:46Z")

</div>

It depends on the details of your infrastructure, but I would expect no performance benefit to multiple repositories in most setups.

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 28, 2022, 5:42am UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/7 "2022-06-28T05:42:22Z")

</div>

Okay , thanks

---

<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 26, 2022, 5:43am UTC](https://discuss.elastic.co/t/multiple-snapshot-in-multiple-containers/308249/8 "2022-07-26T05:43:03Z")

</div>

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