# Migrating from ES 2.4 to 6.2, best approach?

**URL:** <https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764>\
**Category:** Elasticsearch\
**Created:** [May 6, 2018, 9:43pm UTC](https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764 "2018-05-06T21:43:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahbruinsma](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@ahbruinsma](https://discuss.elastic.co/u/ahbruinsma)\
**Post date:** [May 6, 2018, 9:43pm UTC](https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764/1 "2018-05-06T21:43:39Z")

</div>

Hello,  
I'm fairly new to EleasticSearch, but we've got 2 clusters already. A 2.4 cluster running on 2 nodes and a 6.2 cluster running on 4 nodes. Now we want to migrate the data on the 2.4 cluster to the 6.2 cluster, but what would be the best approach?

1. Is it possible to upgrade the 2.4 to 6.2 (using the [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-upgrading-v6.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-upgrading-v6.html) topic) and just add the nodes of the first cluster to the second cluster and than later on remove the first two again?

2. Try an migrate the data using the Reindex API?

3. Something else?

With kind regards,  
Andries Bruinsma

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 6, 2018, 9:51pm UTC](https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764/2 "2018-05-06T21:51:17Z")

</div>

1 - ECE does a lot in the backend for you, things you'd need to do manually otherwise.  
2 - Ideally, yes. This will let you update data structures and refresh mappings etc

---

<div class="post-metadata">

**Author:** ![luxiaoxun](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@luxiaoxun](https://discuss.elastic.co/u/luxiaoxun)\
**Post date:** [May 9, 2018, 12:51am UTC](https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764/3 "2018-05-09T00:51:41Z")

</div>

We are going to do the same thing. Are you guys going to use "Java rest client" to replace "Java TransportClient"? since "Java TransportClient" will be removed from ES 7 and ES 8.

---

<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:** [June 6, 2018, 12:51am UTC](https://discuss.elastic.co/t/migrating-from-es-2-4-to-6-2-best-approach/130764/4 "2018-06-06T00:51:47Z")

</div>

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