# Cannot restore a snapshot with IndexMissingException\[\[\_snapshot\] missing\]

**URL:** <https://discuss.elastic.co/t/cannot-restore-a-snapshot-with-indexmissingexception--snapshot-missing/20089>\
**Category:** Elasticsearch\
**Created:** [October 6, 2014, 1:31pm UTC](https://discuss.elastic.co/t/cannot-restore-a-snapshot-with-indexmissingexception--snapshot-missing/20089 "2014-10-06T13:31:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mateusz\_Kaczynski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_kaczynski/32/1206_2.png) [@Mateusz\_Kaczynski](https://discuss.elastic.co/u/Mateusz_Kaczynski)\
**Post date:** [October 6, 2014, 1:31pm UTC](https://discuss.elastic.co/t/cannot-restore-a-snapshot-with-indexmissingexception--snapshot-missing/20089/1 "2014-10-06T13:31:17Z")

</div>

We manage to occasionally put ES cluster into a particular state, where it  
would fail to restore index from a valid snapshot with 404 and:  
IndexMissingException[[\_snapshot] missing]  
This is an exact quote, note '\_snapshot', which is not the name of the  
index. Nothing in the main logs.

The very same restore operation (i.e. same command) would work one hour and  
fail the next.  
As far as we observed, it usually follows series of snapshot / restore  
operations, when some of the indices would be closed to allow restore to  
happen and then be reopened. It is possible that we call 'open' and 'close'  
on indices that are already in the intended state, although not sure if  
this is relevant.

Not sure if related, but at the same time trying to list all snapshots in a  
repository ( by say getting  
[https://my-cluster.com/\_snapshot/repository\_name/\_all](https://my-cluster.com/_snapshot/repository_name/_all)  
ends up with Nginx 502-ing. Again, nothing in the logs.

At the moment, we're still trying to figure out the possible cause, but  
would be grateful for any advice if anyone might have experienced this  
before.

Thanks,  
Mateusz

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/60d2f784-a51b-4e42-b40f-409bbf895b9a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/60d2f784-a51b-4e42-b40f-409bbf895b9a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mateusz\_Kaczynski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_kaczynski/32/1206_2.png) [@Mateusz\_Kaczynski](https://discuss.elastic.co/u/Mateusz_Kaczynski)\
**Post date:** [October 14, 2014, 4:07pm UTC](https://discuss.elastic.co/t/cannot-restore-a-snapshot-with-indexmissingexception--snapshot-missing/20089/2 "2014-10-14T16:07:18Z")

</div>

Note to self mostly.

I later noticed it happening when trying to transfer snapshots between  
repositories (i.e. snapshot on one, restore on the other). It would happen  
when snapshot was not visible on the cluster where restore operation was  
taking place.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0c8ecafc-13af-4db2-9287-3e7216776a91%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0c8ecafc-13af-4db2-9287-3e7216776a91%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:56am UTC](https://discuss.elastic.co/t/cannot-restore-a-snapshot-with-indexmissingexception--snapshot-missing/20089/3 "2017-07-06T00:56:19Z")

</div>


