# Cannot restore index

**URL:** <https://discuss.elastic.co/t/cannot-restore-index/34533>\
**Category:** Elasticsearch\
**Created:** [November 13, 2015, 4:59pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533 "2015-11-13T16:59:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Andres\_Ramirez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juan_andres_ramirez/32/9467_2.png) [@Juan\_Andres\_Ramirez](https://discuss.elastic.co/u/Juan_Andres_Ramirez)\
**Post date:** [November 13, 2015, 4:59pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/1 "2015-11-13T16:59:05Z")

</div>

Hello guys,  
18 index has been migrated as well from old cluster with ES 1.7 to a new cluster with ES 2.0, but I have a problem with 1 index, here is the message:

```
 curl -XPOST http://cviadpzl01:9200/_snapshot/my_backup/snapshot_7/_restore?pretty
{
  "error" : {
    "root_cause" : [ {
      "type" : "snapshot_restore_exception",
      "reason" : "[my_backup:snapshot_7] cannot restore index [graylog2_19] because it cannot be upgraded"
    } ],
    "type" : "snapshot_restore_exception",
    "reason" : "[my_backup:snapshot_7] cannot restore index [graylog2_19] because it cannot be upgraded",
    "caused_by" : {
      "type" : "illegal_state_exception",
      "reason" : "unable to upgrade the mappings for the index [graylog2_19], reason: [Mapper for [_timestamp] conflicts with existing mapping in other types:\n[mapper [_timestamp] is used by multiple types. Set update_all_types to true to update [format] across all types.]]",
      "caused_by" : {
        "type" : "illegal_argument_exception",
        "reason" : "Mapper for [_timestamp] conflicts with existing mapping in other types:\n[mapper [_timestamp] is used by multiple types. Set update_all_types to true to update [format] across all types.]"
      }
    }
  },
  "status" : 500
}

```

Someone knows what I can to do for fix it?.

Thank you.

---

<div class="post-metadata">

**Author:** ![Juan\_Andres\_Ramirez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juan_andres_ramirez/32/9467_2.png) [@Juan\_Andres\_Ramirez](https://discuss.elastic.co/u/Juan_Andres_Ramirez)\
**Post date:** [November 13, 2015, 5:57pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/2 "2015-11-13T17:57:17Z")

</div>

OMG, I have 50 index and I have problems with index number 19 to 50 with the same problem....mappings.

Someone knows how to fix it?

---

<div class="post-metadata">

**Author:** ![Juan\_Andres\_Ramirez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juan_andres_ramirez/32/9467_2.png) [@Juan\_Andres\_Ramirez](https://discuss.elastic.co/u/Juan_Andres_Ramirez)\
**Post date:** [November 13, 2015, 6:49pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/3 "2015-11-13T18:49:19Z")

</div>

here an other message in logs:

```
Caused by: java.lang.IllegalArgumentException: Mapper for [_timestamp] conflicts with existing mapping in other types:
[mapper [_timestamp] is used by multiple types. Set update_all_types to true to update [format] across all types.]
        at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:117)
        at org.elasticsearch.index.mapper.MapperService.checkNewMappersCompatibility(MapperService.java:345)
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:296)
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:242)
        at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility(MetaDataIndexUpgradeService.java:329)

```

So the problem is with Mapper for \_timestamp, someone knows how to fix it?.

Thank you.

---

<div class="post-metadata">

**Author:** ![Juan\_Andres\_Ramirez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juan_andres_ramirez/32/9467_2.png) [@Juan\_Andres\_Ramirez](https://discuss.elastic.co/u/Juan_Andres_Ramirez)\
**Post date:** [November 16, 2015, 5:14pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/4 "2015-11-16T17:14:00Z")

</div>

Anyone please?

---

<div class="post-metadata">

**Author:** ![inderjeet26](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inderjeet26/32/3870_2.png) [@inderjeet26](https://discuss.elastic.co/u/inderjeet26)\
**Post date:** [January 5, 2016, 10:56pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/5 "2016-01-05T22:56:07Z")

</div>

I am having this exact same issue with the @timestamp field when indexing the data/events sent with logstash. More detail to this problem: [https://www.elastic.co/blog/great-mapping-refactoring](https://www.elastic.co/blog/great-mapping-refactoring)

---

<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 5, 2017, 11:26pm UTC](https://discuss.elastic.co/t/cannot-restore-index/34533/6 "2017-07-05T23:26:54Z")

</div>


