# Migration of Index from 2.3.1 to 5.2.1

**URL:** <https://discuss.elastic.co/t/migration-of-index-from-2-3-1-to-5-2-1/81247>\
**Category:** Elasticsearch\
**Created:** [April 5, 2017, 4:04am UTC](https://discuss.elastic.co/t/migration-of-index-from-2-3-1-to-5-2-1/81247 "2017-04-05T04:04:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eramitsinha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eramitsinha/32/35032_2.png) [@eramitsinha](https://discuss.elastic.co/u/eramitsinha)\
**Post date:** [April 5, 2017, 4:04am UTC](https://discuss.elastic.co/t/migration-of-index-from-2-3-1-to-5-2-1/81247/1 "2017-04-05T04:04:38Z")

</div>

Hi,

I was executing Snapshot-Restore. I am able to generate Snapshot form ES 2.3.1 but when I restore on ES 5.2.1 I get error: unsupported snapshot state [FAILED].

Not able to figure out exact root cause. There are around 250+ indexes on my node.  
So if some indexes are corrupt is there way:

1. to find corrupt one.
2. Can I proceed with snapshot ignoring corrupt index.

Thanks,  
Amit Sinha.

* * *

[2017-04-01T23:17:26,670][WARN][r.suppressed] path: /\_snapshot/XXX\_repository/XXX\_snapshot/\_restore, params: {repository=XXX\_repository, snapshot=XXX\_s  
napshot}  
org.elasticsearch.snapshots.SnapshotRestoreException: [XXX\_repository:XXX\_snapshot/XXX\_snapshot] unsupported snapshot state [FAILED]  
at org.elasticsearch.snapshots.RestoreService.validateSnapshotRestorable(RestoreService.java:859) ~[elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.snapshots.RestoreService.restoreSnapshot(RestoreService.java:225) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:89) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction.masterOperation(TransportRestoreSnapshotAction.java:49) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.action.support.master.TransportMasterNodeAction.masterOperation(TransportMasterNodeAction.java:87) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.doRun(TransportMasterNodeAction.java:167) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:596) [elasticsearch-5.2.1.jar:5.2.1]  
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.2.1.jar:5.2.1]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0\_102]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0\_102]

---

<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:** [May 3, 2017, 4:04am UTC](https://discuss.elastic.co/t/migration-of-index-from-2-3-1-to-5-2-1/81247/2 "2017-05-03T04:04:59Z")

</div>

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