# Copy a single index from ES 5.6 to ES 7.2

**URL:** https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419
**Category:** Elasticsearch
**Created:** [July 8, 2019, 7:48pm UTC](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419 "2019-07-08T19:48:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![o1o1o11o1](https://avatars.discourse-cdn.com/v4/letter/o/74df32/32.png) [@o1o1o11o1](https://discuss.elastic.co/u/o1o1o11o1)
#### Post date: [July 8, 2019, 7:48pm UTC](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419/1 "2019-07-08T19:48:01Z")

</div>

I have a 5.6 and 7.2 ES clusters. I need to copy an index from the 5.6 to the 7.2 cluster. What is the best way to approach this ?  
I see that it is not possible to create a snapshot from 5.6 and restore it to a running 7.2 cluster and then reindex it.  
One option is to export it using some tools like `jsondump` and import it in the 7.2 cluster, but the index is about 32GB in size, which is not ideal  
According to the documentation at [https://www.elastic.co/guide/en/elasticsearch/reference/7.1/reindex-upgrade-remote.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.1/reindex-upgrade-remote.html)  
it is possible to use the `_reindex` endpoint, after specifying `reindex.remote.whitelist: oldhost:9200` in the config, but does that require a full cluster restart on the target cluster ?

---

<div class="post-metadata">

### Author: ![o1o1o11o1](https://avatars.discourse-cdn.com/v4/letter/o/74df32/32.png) [@o1o1o11o1](https://discuss.elastic.co/u/o1o1o11o1)
#### Post date: [July 8, 2019, 8:43pm UTC](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419/2 "2019-07-08T20:43:12Z")

</div>

It turns out using the `_remote` endpoint works great.

---

<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: [August 5, 2019, 8:45pm UTC](https://discuss.elastic.co/t/copy-a-single-index-from-es-5-6-to-es-7-2/189419/3 "2019-08-05T20:45:12Z")

</div>

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