# What would be the best method to copy data from elasticsearch 2.4 to 6.4?

**URL:** <https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527>\
**Category:** Elasticsearch\
**Created:** [April 25, 2019, 6:57pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527 "2019-04-25T18:57:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [April 25, 2019, 6:57pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/1 "2019-04-25T18:57:23Z")

</div>

Hi,  
We have an application that uses elasticsearch 2.4 and I would like to be able to ship that to our elasticsearch 6.4 to be able to visualize it with our Kibana. What would be the best method to do that?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 25, 2019, 7:09pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/2 "2019-04-25T19:09:33Z")

</div>

I'd probably use reindex from remote feature.

---

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [April 25, 2019, 7:13pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/3 "2019-04-25T19:13:04Z")

</div>

those indices would still be getting updated is there a way to set that to run on an hourly/daily basis?

---

<div class="post-metadata">

**Author:** ![joshuaclark](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@joshuaclark](https://discuss.elastic.co/u/joshuaclark)\
**Post date:** [April 25, 2019, 7:16pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/4 "2019-04-25T19:16:58Z")

</div>

Sorry I can just script it to run the curl command I guess.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 25, 2019, 7:34pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/5 "2019-04-25T19:34:23Z")

</div>

Well. If you have a way to query the changes that could be doable.  
Otherwise you will have to reindex the whole everytime.

But you'd better update your application to directly write in the new cluster.

---

<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 23, 2019, 7:34pm UTC](https://discuss.elastic.co/t/what-would-be-the-best-method-to-copy-data-from-elasticsearch-2-4-to-6-4/178527/6 "2019-05-23T19:34:37Z")

</div>

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