# Restore snapshot not working

**URL:** <https://discuss.elastic.co/t/restore-snapshot-not-working/17987>\
**Category:** Elasticsearch\
**Created:** [June 9, 2014, 6:19am UTC](https://discuss.elastic.co/t/restore-snapshot-not-working/17987 "2014-06-09T06:19:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hermanto\_Phang](https://avatars.discourse-cdn.com/v4/letter/h/aca169/32.png) [@Hermanto\_Phang](https://discuss.elastic.co/u/Hermanto_Phang)\
**Post date:** [June 9, 2014, 6:19am UTC](https://discuss.elastic.co/t/restore-snapshot-not-working/17987/1 "2014-06-09T06:19:36Z")

</div>

Hi All,

I try to restore my backup snapshot using command  
curl -XPOST "localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore"

But it was come up error

{"error":"SnapshotRestoreException[[my\_backup:snapshot\_1] cannot restore  
index [cobbler\_api] because it's open]","status":500}

Any input to fix this error?  
Do I need to close the index before restore and how can I do that?  
Thanks in advance for the input.

--  
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/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 9, 2014, 7:49am UTC](https://discuss.elastic.co/t/restore-snapshot-not-working/17987/2 "2014-06-09T07:49:58Z")

</div>

Try to close the index first: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html#indices-open-close](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html#indices-open-close)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 9 juin 2014 à 08:19, Hermanto Phang [hermyphang@gmail.com](mailto:hermyphang@gmail.com) a écrit :

Hi All,

I try to restore my backup snapshot using command  
curl -XPOST "localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore"

But it was come up error

{"error":"SnapshotRestoreException[[my\_backup:snapshot\_1] cannot restore index [cobbler\_api] because it's open]","status":500}

## Any input to fix this error? Do I need to close the index before restore and how can I do that? Thanks in advance for the input.

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/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/83DC53B2-450B-4781-B9E2-F83D649F9D34%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/83DC53B2-450B-4781-B9E2-F83D649F9D34%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 9, 2014, 7:53am UTC](https://discuss.elastic.co/t/restore-snapshot-not-working/17987/3 "2014-06-09T07:53:52Z")

</div>

Take a look at

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 9 June 2014 16:19, Hermanto Phang [hermyphang@gmail.com](mailto:hermyphang@gmail.com) wrote:

> Hi All,
> 
> I try to restore my backup snapshot using command  
> curl -XPOST "localhost:9200/\_snapshot/my\_backup/snapshot\_1/\_restore"
> 
> But it was come up error
> 
> {"error":"SnapshotRestoreException[[my\_backup:snapshot\_1] cannot restore  
> index [cobbler\_api] because it's open]","status":500}
> 
> Any input to fix this error?  
> Do I need to close the index before restore and how can I do that?  
> Thanks in advance for the input.
> 
> --  
> 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/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624ZpU85e6v7NsZ4k76rNEd0sDSQUM8jJAqzMDySKiJB%3DBQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ZpU85e6v7NsZ4k76rNEd0sDSQUM8jJAqzMDySKiJB%3DBQ%40mail.gmail.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, 1:23am UTC](https://discuss.elastic.co/t/restore-snapshot-not-working/17987/4 "2017-07-06T01:23:51Z")

</div>


