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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name .
For more options, visit https://groups.google.com/d/optout .
dadoonet
(David Pilato)
March 24, 2014, 9:54am
2
Yes. This feature has been added in 1.1 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
@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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/17B720BE-C665-498A-AAFA-030F8DC50AE1%40hartl.name .
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 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 .
For more options, visit https://groups.google.com/d/optout .