# Handler /\_snapshot/\_status not found

**URL:** <https://discuss.elastic.co/t/handler--snapshot--status-not-found/16559>\
**Category:** Elasticsearch\
**Created:** [March 24, 2014, 9:01am UTC](https://discuss.elastic.co/t/handler--snapshot--status-not-found/16559 "2014-03-24T09:01:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norbert\_Hartl\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/norbert_hartl_2/32/1690_2.png) [@Norbert\_Hartl\_2](https://discuss.elastic.co/u/Norbert_Hartl_2)\
**Post date:** [March 24, 2014, 9:01am UTC](https://discuss.elastic.co/t/handler--snapshot--status-not-found/16559/1 "2014-03-24T09:01:50Z")

</div>

I started to do backups with the snapshot and restore API. I can make snapshots but requesting the status does not work. I get

# curl -XGET "localhost:9200/\_snapshot/\_status"

{"error":"RepositoryMissingException[[\_status] missing]","status":404}

It does not work if the name of the backup or backup/snapshot are given

# curl -XGET "localhost:9200/\_snapshot/my\_backup/\_status"

{"error":"SnapshotMissingException[[my\_backup:\_status] is missing]; nested: FileNotFoundException[/opt/backup/my\_backup/snapshot-\_status (No such file or directory)]; ","status":404}

It seems the status handler is not treated and it treats the path segments as backup name/snapshot name.

Norbert

--  
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/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name](https://groups.google.com/d/msgid/elasticsearch/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name).  
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:** [March 24, 2014, 9:54am UTC](https://discuss.elastic.co/t/handler--snapshot--status-not-found/16559/2 "2014-03-24T09:54:14Z")

</div>

Yes. This feature has been added in 1.1 [https://github.com/elasticsearch/elasticsearch/issues/4946](https://github.com/elasticsearch/elasticsearch/issues/4946)  
So it's not part on 1.0

This part of the documentation should be marked as "coming 1.1.0".

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 24 mars 2014 à 10:02:24, Norbert Hartl (norbert@hartl.name) a écrit:

I started to do backups with the snapshot and restore API. I can make snapshots but requesting the status does not work. I get

# curl -XGET "localhost:9200/\_snapshot/\_status"

{"error":"RepositoryMissingException[[\_status] missing]","status":404}

It does not work if the name of the backup or backup/snapshot are given

# curl -XGET "localhost:9200/\_snapshot/my\_backup/\_status"

{"error":"SnapshotMissingException[[my\_backup:\_status] is missing]; nested: FileNotFoundException[/opt/backup/my\_backup/snapshot-\_status (No such file or directory)]; ","status":404}

It seems the status handler is not treated and it treats the path segments as backup name/snapshot name.

Norbert

--  
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/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name](https://groups.google.com/d/msgid/elasticsearch/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name).  
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/etPan.533000c6.7c83e458.db6a%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.533000c6.7c83e458.db6a%40MacBook-Air-de-David.local).  
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:41am UTC](https://discuss.elastic.co/t/handler--snapshot--status-not-found/16559/3 "2017-07-06T01:41:12Z")

</div>


