# Snaphsot/Restore failing on ES 2.1.2

**URL:** https://discuss.elastic.co/t/snaphsot-restore-failing-on-es-2-1-2/49334
**Category:** Elasticsearch
**Created:** [May 5, 2016, 7:19pm UTC](https://discuss.elastic.co/t/snaphsot-restore-failing-on-es-2-1-2/49334 "2016-05-05T19:19:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ayushsangani](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayushsangani/32/9612_2.png) [@ayushsangani](https://discuss.elastic.co/u/ayushsangani)
#### Post date: [May 5, 2016, 7:19pm UTC](https://discuss.elastic.co/t/snaphsot-restore-failing-on-es-2-1-2/49334/1 "2016-05-05T19:19:20Z")

</div>

Every time I restore data from ES 1.6.1 to 2.1.2 through snapshot/restore it is failing.  
ES migration plugin gave an "advisory note" that index is good to upgrade but restore is failing in ES 2.1.2 with the following error:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "snapshot_restore_exception",
        "reason": "[stage-05-2016:05-05_1906] cannot restore index [stage-index-0] because it cannot be upgraded"
      }
    ],
    "type": "snapshot_restore_exception",
    "reason": "[stage-05-2016:05-05_1906] cannot restore index [stage-small-contacts-0] because it cannot be upgraded",
    "caused_by": {
      "type": "illegal_state_exception",
      "reason": "unable to upgrade the mappings for the index [stage-index-0], reason: [Mapper for [_id] conflicts with existing mapping in other types:\n[mapper [_id] has different [index] values]]",
      "caused_by": {
        "type": "illegal_argument_exception",
        "reason": "Mapper for [_id] conflicts with existing mapping in other types:\n[mapper [_id] has different [index] values]"
      }
    }
  },
  "status": 500
}

```

At least it should say which mapping type it is failing on?  
I have 8 mapping types on `stage-index-0` and there is no way I could figure out the mapping type.  
I have been trying to upgrade to ES 2.x from past 1 month and this being my final obstacle.

Let me know if anyone can help or need any other information.

Thanks,  
Ayush

---

<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, 10:53pm UTC](https://discuss.elastic.co/t/snaphsot-restore-failing-on-es-2-1-2/49334/2 "2017-07-05T22:53:36Z")

</div>


