# Migrate from 6.8 to 7.10

**URL:** https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498
**Category:** Elasticsearch
**Tags:** migration
**Created:** [January 8, 2021, 5:18am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498 "2021-01-08T05:18:37Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![blukit](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@blukit](https://discuss.elastic.co/u/blukit)
#### Post date: [January 8, 2021, 5:18am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/1 "2021-01-08T05:18:37Z")

</div>

Hi folks...

Need to know whats the proper way to migrate & upgrade from our current ELK 6.8 cluster to our new ELK 7.10 cluster.

Should I first do rolling upgrade in our current cluster then rsync to 7.10 cluster?  
Or use logstash to move the data to our new cluster?

---

<div class="post-metadata">

### Author: ![myspacebarisbroken](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@myspacebarisbroken](https://discuss.elastic.co/u/myspacebarisbroken)
#### Post date: [January 9, 2021, 7:19am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/2 "2021-01-09T07:19:07Z")

</div>

Im in the process of doing this, what i learned:

There's no "proper" way to do it. Everyone needs a different solution based on a use-case. For me, after backing up my AWS cluster, restoring to 6.x (from 5.x), then trying to do a inplace upgrade, i realized this was not possible due to breaking changes: [https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html)

If none of these will break your index (it most likely will), you can use whatever you'd like (snapshot 6.x \> restore to 7.x - this is the fastest way). However if it will break your index, then you need to figure that out.

For me i just ended up reindexing my entire 2.2 TB index. It took less than a day, and would've been much faster than using the reindex API and other solutions available.

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 9, 2021, 7:26am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/3 "2021-01-09T07:26:08Z")

</div>

> [@myspacebarisbroken](#):
>
> If none of these will break your index (it most likely will),

I don't think that's true. You can't open a 5.x index in 7.x, but once you've addressed that (and any other deprecation warnings) an in-place upgrade is the way to go.

To migrate to a different cluster at the same time, as the OP wants, I would recommend restoring a snapshot of the old cluster into the new one.

---

<div class="post-metadata">

### Author: ![myspacebarisbroken](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@myspacebarisbroken](https://discuss.elastic.co/u/myspacebarisbroken)
#### Post date: [January 9, 2021, 7:32am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/4 "2021-01-09T07:32:18Z")

</div>

This is true, It might not. However; for me, it did. Specifically this: [https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#default-mapping-not-allowed](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#default-mapping-not-allowed)

Maybe it will _more likely_ break if you're going `5 > 7` (like i did) than it is `6 > 7` (what OP is doing). It all depends on how they're setup and what things they're using that were deprecated/removed. It's always best to review the breaking changes before you update as to not run into issues.

But yes, as David and I pointed out, if there are no breaking changes affecting your cluster, then a simple snapshot and restore is the way to go (make sure you figure out/address any breaking changes first).

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [January 9, 2021, 7:57am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/5 "2021-01-09T07:57:46Z")

</div>

> [@myspacebarisbroken](#):
>
> This is true, It might not. However; for me, it did. Specifically this: [https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#default-mapping-not-allowed](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#default-mapping-not-allowed)

You can definitely address that in 6.x and then perform an in-place upgrade to 7.x as I described.

---

<div class="post-metadata">

### Author: ![myspacebarisbroken](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@myspacebarisbroken](https://discuss.elastic.co/u/myspacebarisbroken)
#### Post date: [January 9, 2021, 8:01am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/6 "2021-01-09T08:01:28Z")

</div>

That is true. I don't recall saying it wasn't possible nor not an option!

---

<div class="post-metadata">

### Author: ![blukit](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@blukit](https://discuss.elastic.co/u/blukit)
#### Post date: [January 12, 2021, 3:19am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/7 "2021-01-12T03:19:19Z")

</div>

Thanks for all the response guys...  
Definitely would try snapshot approach

---

<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: [February 9, 2021, 3:19am UTC](https://discuss.elastic.co/t/migrate-from-6-8-to-7-10/260498/8 "2021-02-09T03:19:22Z")

</div>

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