Try to close the index first: 
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 <[email protected]> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/19b2fe55-29a6-4936-b12b-fdae6d9e6fe8%40googlegroups.com.
For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/83DC53B2-450B-4781-B9E2-F83D649F9D34%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to