# \_recovery returned an empty response even if I have correct indices

**URL:** <https://discuss.elastic.co/t/recovery-returned-an-empty-response-even-if-i-have-correct-indices/173268>\
**Category:** Elasticsearch\
**Tags:** curator\
**Created:** [March 21, 2019, 8:42am UTC](https://discuss.elastic.co/t/recovery-returned-an-empty-response-even-if-i-have-correct-indices/173268 "2019-03-21T08:42:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyorgybakocs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gyorgybakocs/32/42497_2.png) [@gyorgybakocs](https://discuss.elastic.co/u/gyorgybakocs)\
**Post date:** [March 21, 2019, 8:42am UTC](https://discuss.elastic.co/t/recovery-returned-an-empty-response-even-if-i-have-correct-indices/173268/1 "2019-03-21T08:42:48Z")

</div>

Hello.

We have around 500GB catalog every day.  
We create daily-snapshots.  
In my new task, I had to restore the latest snapshot on Monday and on Thursday.

My bash script works with this logic:

1. I search in the latest snapshot for the stored index (I used curl, and from the response, I get the index name)
2. I check our DB for this index, If it exists, just put a new alias with the actual date, If we do not have it in our DB, I restore it.

We have seven countries, so we have seven different daily-snapshot (based on the country) and in every snapshot only one index.  
So... My problem. I restored the first six countries but the last one was unsuccessful.  
No error message, just this:

```
2019-03-21 07:06:12,646 INFO Trying Action ID: 1, "restore": Restore the latest product index
2019-03-21 07:06:12,957 INFO Restoring indices "['product_ph_20190319']" from snapshot: snapshot_product_ph_20190321_0110
2019-03-21 07:06:13,121 INFO _recovery returned an empty response. Trying again.

```

And tried, tried, tried... Like a never-ending story

in sense, I can see the correct index:

```
     {
         "snapshot": "snapshot_product_ph_20190321_0110",
         "uuid": "gLnd0c3ASreBRW526WeLaQ",
         "version_id": 5060699,
         "version": "5.6.6",
         "indices": [
            "product_ph_20190319"
         ],
		 ...

```

- I changed the config file and sent the index name (I got it from the snapshot!!!) as a variable, but the result was the same.  
(I found this with a similar problem: [Curator throwing error while restoring (Failed to complete action- )](https://discuss.elastic.co/t/curator-throwing-error-while-restoring-failed-to-complete-action/89308) )
- with --dry-run everything works perfectly.

update:

- When I checked my free space on my instance, I realised there is not enough space to restore the index.

---

<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:** [April 18, 2019, 8:42am UTC](https://discuss.elastic.co/t/recovery-returned-an-empty-response-even-if-i-have-correct-indices/173268/2 "2019-04-18T08:42:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
