# Migration to new elastic from 5.6 to 6.7

**URL:** https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506
**Category:** Elasticsearch
**Created:** [April 5, 2019, 4:15am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506 "2019-04-05T04:15:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [April 5, 2019, 4:15am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/1 "2019-04-05T04:15:46Z")

</div>

Hi,

I have a single node ELK running on ver 5.6. There are daily indices of about 20GB each, total elastic data is about 2Tb.

I have build another ELK platform on ver 6.7 and want to migrate this data on new node.

Can you please guide me to achive this ? Any special care I should take during migration to avoid data corruption or conflicts ?

Regards,  
-Manish

---

<div class="post-metadata">

### Author: ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)
#### Post date: [April 5, 2019, 5:22am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/2 "2019-04-05T05:22:08Z")

</div>

Hi @mkain,

As you have 5.6 version and you want to migrate your data in 6.7. For this you can use snapshot and restore API for the same.

A snapshot of an index created in 5.x can be restored to 6.x.

Please find below related document link for snapshot and restore.  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-snapshots.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-snapshots.html)

Br,  
Harsh Bajaj

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [April 5, 2019, 5:27am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/3 "2019-04-05T05:27:49Z")

</div>

Hi Harsh,

Can I do it over network ? kind to replication from old to new.  
I may not have enough storage on my 5.6 env for snapshots.

Regards,  
-Manish

---

<div class="post-metadata">

### Author: ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)
#### Post date: [April 5, 2019, 5:31am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/4 "2019-04-05T05:31:11Z")

</div>

Hi @mkain,

Yes, You can do the same over network. You can create repository like NFS server with mount or any other you can use.

Br,  
Harsh Bajaj

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [April 5, 2019, 5:34am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/5 "2019-04-05T05:34:41Z")

</div>

Ok @harshbajaj16 Thanks, Let me give a try.

---

<div class="post-metadata">

### Author: ![mkain](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mkain](https://discuss.elastic.co/u/mkain)
#### Post date: [April 5, 2019, 10:40am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/6 "2019-04-05T10:40:36Z")

</div>

Hi @harshbajaj16 I have managed it with reindex API. Works very well. I have now documented the procedure [here](http://www.mka.in/wp/migrate-elasticsearch-data-from-one-cluster-to-another/)

---

<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 3, 2019, 10:40am UTC](https://discuss.elastic.co/t/migration-to-new-elastic-from-5-6-to-6-7/175506/7 "2019-05-03T10:40:41Z")

</div>

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