# Migrate indices from elasticsearsh 6.8 to 7.17

**URL:** <https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745>\
**Category:** Elasticsearch\
**Created:** [February 16, 2023, 1:22pm UTC](https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745 "2023-02-16T13:22:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parvatayya\_Malimath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/parvatayya_malimath/32/49330_2.png) [@Parvatayya\_Malimath](https://discuss.elastic.co/u/Parvatayya_Malimath)\
**Post date:** [February 16, 2023, 1:22pm UTC](https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745/1 "2023-02-16T13:22:36Z")

</div>

We have Elasticsearch 6.8 running at the moment and want to migrate it to 7.17.

I have created another cluster with 7.17 running and we would like migrate the indices from 6.8.  
what is the best way to do it, I would like to do it without any downtime.  
I have already tried reindexing and it works, but this will be a problem when we are doing in PROD.

NOTE: we have no internet or root access on these VMs. so I have downloaded the tars and running both the versions

please help.

---

<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:** [February 16, 2023, 1:22pm UTC](https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745/2 "2023-02-16T13:22:36Z")

</div>

Elasticsearch 6.8 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [February 16, 2023, 2:02pm UTC](https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745/3 "2023-02-16T14:02:29Z")

</div>

Why you create another cluster instead of upgrading the current one?

If you want to migrate data from one cluster to another you have basically two options, reindex from remote and using snapshots, if you are still writing in the 6.8 cluster, when you reindex or create a snapshot, the data written after that will not be present in the reindex indice or in the snapshot and you will need to keep doing reindexes and snapshots.

The easiest way would be to upgrade your current cluster, so you would ber able to do a rolling upgrade from the last 6.8.X to the last 7.17.X as described in the [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/rolling-upgrades.html).

You also need to check in the Kibana Assistant upgrade if you need to fix something.

---

<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:** [March 16, 2023, 2:03pm UTC](https://discuss.elastic.co/t/migrate-indices-from-elasticsearsh-6-8-to-7-17/325745/4 "2023-03-16T14:03:06Z")

</div>

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