Status of a restore?


(Nate Fox) #1

Is there any way to get the status of a restore in progress? I'm running
1.1.0 and here's my command+response while a restore of a different
snapshot is running:

curl -XPOST
"localhost:9200/_snapshot/prod/sim-autobackup_2014-04-10/_restore" -d '{
"indices":
"accesslogging_awseast-2014-04-10,centrallogging_awseast-2014-04-10",
"ignore_unavailable": "true",
"include_global_state": false
}'
{"error":"ConcurrentSnapshotExecutionException[[prod:sim-autobackup_2014-04-10]
Restore process is already running in this cluster]","status":503}

However, while this is running, I can run the status on all snapshots and
get nothing:

curl -XGET "localhost:9200/_snapshot/prod/_status"
{"snapshots":[]}

--
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/2ea47b0f-17de-4dc7-bea8-692e872c5d2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2