# Syncing data between two different clusters of different version

**URL:** <https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467>\
**Category:** Elasticsearch\
**Created:** [July 25, 2018, 2:01am UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467 "2018-07-25T02:01:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi432](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@ravi432](https://discuss.elastic.co/u/ravi432)\
**Post date:** [July 25, 2018, 2:01am UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/1 "2018-07-25T02:01:42Z")

</div>

Hi ,

Is there a way to sync data between two different clusters which are running under different versions..?

If not is there a way to get any alerts from elastic search when there is an insert,update or delete..?

are there any tools available to dump data from lower version of elastic search(1.7.x) into higher version of elastic search(5.6.x) with supports token type authentication..?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [July 25, 2018, 3:21am UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/2 "2018-07-25T03:21:23Z")

</div>

1: \_reindex  
whitelist with this  
see  
[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docs-reindex.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docs-reindex.html)  
2:Snapshot And Restore  
[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-snapshots.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-snapshots.html)

---

<div class="post-metadata">

**Author:** ![ravi432](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@ravi432](https://discuss.elastic.co/u/ravi432)\
**Post date:** [July 25, 2018, 5:31am UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/3 "2018-07-25T05:31:13Z")

</div>

Thanks for the reply andy\_zhou,

Is it possible to use remote reindex api to use with kerberos authentication..?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 5:35am UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/4 "2018-07-25T05:35:43Z")

</div>

As these versions are not compatible and mappings have changed, you will need to reindex. If you instead moved to version 6.3 of Elasticsearch, you could use the [reindex API](https://www.elastic.co/guide/en/elasticsearch/reference/6.3/reindex-upgrade-remote.html) to pull data from the old 1.7 cluster.

---

<div class="post-metadata">

**Author:** ![ravi432](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@ravi432](https://discuss.elastic.co/u/ravi432)\
**Post date:** [July 25, 2018, 9:05pm UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/5 "2018-07-25T21:05:21Z")

</div>

Thanks for the replay Christian\_Dahlqvist

I have two more questions

1. I need to maintain two clusters in sync, in this case how do i sync the real time data between the two which means i will get events to only one system. so how do i track these events and update the second cluster accordingly.

2. I am using scroll API with 1.7.x cluster which i was able to execute successfully first time then i get a scroll id and when i make second request with scroll id as header i am getting HTTP 200 status but i don't see any response object any thoughts on this (note : using curl with negotiation )

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 25, 2018, 9:16pm UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/6 "2018-07-25T21:16:46Z")

</div>

> [@ravi432](#):
>
> I need to maintain two clusters in sync, in this case how do i sync the real time data between the two which means i will get events to only one system. so how do i track these events and update the second cluster accordingly.

I do not know of any way to do that, so you may need to develop a custom script or application for that.

---

<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 22, 2018, 9:16pm UTC](https://discuss.elastic.co/t/syncing-data-between-two-different-clusters-of-different-version/141467/7 "2018-08-22T21:16:51Z")

</div>

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