# Restoring an index results in WARNING?

**URL:** <https://discuss.elastic.co/t/restoring-an-index-results-in-warning/92641>\
**Category:** Elasticsearch\
**Created:** [July 11, 2017, 12:16pm UTC](https://discuss.elastic.co/t/restoring-an-index-results-in-warning/92641 "2017-07-11T12:16:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [July 11, 2017, 12:16pm UTC](https://discuss.elastic.co/t/restoring-an-index-results-in-warning/92641/1 "2017-07-11T12:16:54Z")

</div>

Hi,

I am restoring an index `data-jun-2017` from a snapshot . Somewhere in my application they had used templates to create index based on month pattern so eventhough i am deleting it , it is not getting deleted . So, i closed that index and did restoring operation like this:

```
POST /_snapshot/elastic_backup/snapshot-2017-06-29/_restore
{
  "indices": "data-jun-2017"
}

```

And i got 50 Warnings like this in logs

```
 [2017-07-11 11:59:59,292][WARN][rest.suppressed] path: /data-jun-2017/content/2191496543022135835/_update, params: {scripted_upsert=true, index=data-jun-2017, id=2191496543022135835, type=content, retry_on_conflict=5}
UnavailableShardsException[[data-jun-2017][4] [1] shardIt, [0] active : Timeout waiting for [1m], request: indices:data/write/update]
        at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction.retry(TransportInstanceSingleOperationAction.java:213)
        at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction.doStart(TransportInstanceSingleOperationAction.java:168)
        at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction$2.onTimeout(TransportInstanceSingleOperationAction.java:234)
        at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:236)
        at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:804)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

```

What is this actually mean ? Because i lost some documents when i am doing this. Another unusual thing is when i restored to a different index name it is showing all the documents .

Thanks

---

<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:** [August 8, 2017, 12:17pm UTC](https://discuss.elastic.co/t/restoring-an-index-results-in-warning/92641/2 "2017-08-08T12:17:24Z")

</div>

Closed on August 8, 2017, 12:17pm UTC

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