# Elasticsearch cross cluster data migration approach

**URL:** https://discuss.elastic.co/t/elasticsearch-cross-cluster-data-migration-approach/316692
**Category:** Elasticsearch
**Created:** [October 15, 2022, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-data-migration-approach/316692 "2022-10-15T14:37:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sarthak\_Agarwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarthak_agarwal/32/110339_2.png) [@Sarthak\_Agarwal](https://discuss.elastic.co/u/Sarthak_Agarwal)
#### Post date: [October 15, 2022, 2:37pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-data-migration-approach/316692/1 "2022-10-15T14:37:36Z")

</div>

Hi,

We have an existing cluster running ES 5.6.7 version. We want to create a new cluster running ES 7.17.5 version and migrate all data to this cluster.

We have close to 300 Million documents present on the existing cluster.

We are confused between two approaches :

- Reindex From Remote

- Snapshot and Restore

What do you guys think is a better approach considering below factors :

- We want zero downtime. Will Reindex from Remote affect performance of existing cluster ?

- Which is faster and if anyone can give me a rough estimate on how much time each process will take ?

- For snapshot and restore, we need to create a temporary 6.x cluster, reindex and then again snapshot and restore to ES 7 cluster.

Please suggest if there is any other alternative approach apart from these two.

---

<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: [October 17, 2022, 11:50pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-data-migration-approach/316692/2 "2022-10-17T23:50:19Z")

</div>

> [@Sarthak\_Agarwal](#):
>
> - We want zero downtime. Will Reindex from Remote affect performance of existing cluster ?

Given it's a query to the original cluster it'll have some impact, yes.

> [@Sarthak\_Agarwal](#):
>
> - Which is faster and if anyone can give me a rough estimate on how much time each process will take ?

I would use reindex from remote due to the changes in mappings between 5.X and later versions.

> [@Sarthak\_Agarwal](#):
>
> Please suggest if there is any other alternative approach apart from these two.

I would be looking to go to 8.X to be honest. Otherwise you're looking at another migration down the path.

---

<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 14, 2022, 11:50pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-data-migration-approach/316692/3 "2022-11-14T23:50:38Z")

</div>

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