# Elastic search restore

**URL:** <https://discuss.elastic.co/t/elastic-search-restore/306329>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [June 3, 2022, 11:37am UTC](https://discuss.elastic.co/t/elastic-search-restore/306329 "2022-06-03T11:37:25Z")\
**Posts on this page:** 6\
**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 3, 2022, 11:37am UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/1 "2022-06-03T11:37:25Z")

</div>

Hi ,  
I am new at Elasticsearch and have some doubts regarding restore , as the documentation is not very thorough on these points .

1. Let us say i make some changes every time to my index and take a snapshot , now the number of snapshots have increased to more than 5 , if i restore the 3rd snapshot , then will the will the Elasticsearch restore all changes upto that point i.e including 1st , 2nd and 3 rd snapshot or will it only include changes from 2nd to 3rd snapshot ?
2. And what about read and write operations on the cluster at point of restore ,are they even blocked when restore is happening ?  
example- i am only restoring specific index "A", which is now closed , so while restoring the index "A" would Elasticsearch stop read and write operations on other indexes as well ? what would be the state of cluster in the time of snapshotting

---

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [June 3, 2022, 12:17pm UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/2 "2022-06-03T12:17:00Z")

</div>

Hi!

Answer 1  
It will restore the state when you took the 3rd snapshot.

Answer 2  
In my experience I didn't have any failure to read or write other indices while restoring another one, all in the same cluster.  
However it is just my experience.

---

<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 3, 2022, 12:36pm UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/3 "2022-06-03T12:36:32Z")

</div>

Hi Andre ,  
I am talking about what happens at the time of "restore" but not at time of taking a "snapshot"  
`And what about read and write operations on the cluster at point of restore ,are they blocked when restore is happening ?`.

And can you tell me more about this point you have mentioned "When I use the snapshot, I direct the indexing requests to a queue (SQS) and wait for the snapshot to finish, after which I start reprocessing the docs that are in that queue."  
Can you also share some link to create queue(SQS) and use this service ?

Thanks in advance !!

---

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [June 3, 2022, 12:55pm UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/4 "2022-06-03T12:55:45Z")

</div>

Sorry, I edited my answer.

> [@A\_j\_xx](#):
>
> Você também pode compartilhar algum link para criar fila (SQS) e usar este serviço?

I don't have a link that teaches how to create this architecture but what I can explain to you is that my application receives several events, processes them and sends them to an "SQS" queue, this queue is consumed by a lambda that reads the data from the queue and does the writing in my index.  
The entire environment is on AWS, so I chose this architecture.

---

<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 3, 2022, 1:00pm UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/5 "2022-06-03T13:00:59Z")

</div>

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 1, 2022, 1:01pm UTC](https://discuss.elastic.co/t/elastic-search-restore/306329/6 "2022-07-01T13:01:46Z")

</div>

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