# What are the ways to migrate indices from 1.x to 7.x?

**URL:** <https://discuss.elastic.co/t/what-are-the-ways-to-migrate-indices-from-1-x-to-7-x/204848>\
**Category:** Elasticsearch\
**Created:** [October 23, 2019, 11:25am UTC](https://discuss.elastic.co/t/what-are-the-ways-to-migrate-indices-from-1-x-to-7-x/204848 "2019-10-23T11:25:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjeevpande](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sanjeevpande/32/56427_2.png) [@sanjeevpande](https://discuss.elastic.co/u/sanjeevpande)\
**Post date:** [October 23, 2019, 11:25am UTC](https://discuss.elastic.co/t/what-are-the-ways-to-migrate-indices-from-1-x-to-7-x/204848/1 "2019-10-23T11:25:08Z")

</div>

We have an old version of elasticsearch(1.7) and we are trying to migrate that to version 7.2  
Is there a way to migrate the current 1.7 indices to 7.x indices ?

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [October 24, 2019, 9:10pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-migrate-indices-from-1-x-to-7-x/204848/2 "2019-10-24T21:10:06Z")

</div>

I would recommend checking out the reindex-from-remote function: [https://www.elastic.co/guide/en/elasticsearch/reference/7.4/reindex-upgrade-remote.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/reindex-upgrade-remote.html)

It is worth noting though, that you'll likely have to specify an ingest node pipeline to change the documents (for example, to manage the \_type removal) when indexing the documents, so it's best to test with a small subset of the documents at first.

---

<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:** [November 21, 2019, 9:10pm UTC](https://discuss.elastic.co/t/what-are-the-ways-to-migrate-indices-from-1-x-to-7-x/204848/3 "2019-11-21T21:10:07Z")

</div>

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