# Moving Elasticsearch 6.2.4 data to Elasticsearch 7.6.1

**URL:** <https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364>\
**Category:** Elasticsearch\
**Created:** [April 3, 2020, 8:09am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364 "2020-04-03T08:09:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theone/32/45812_2.png) [@TheOne](https://discuss.elastic.co/u/TheOne)\
**Post date:** [April 3, 2020, 8:09am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/1 "2020-04-03T08:09:15Z")

</div>

Hi,

I am trying to copy the data from our old Elasticsearch 6.2.4 to the new elasticsearch 7.6.1

I tried the following methods.  
Snapshot and restore  
Re-index from a remote cluster.

Both methods seem working but I got Yellow color health status in the new server.  
Also, what does yellow mean? and I got that status in old elastic server 6.2.4.

What happened in the Elasticsearch 7.6.1 once the data is moved from Elasticsearch 6.2.4

- I see all the indices in the yellow color status.

- In the new Elasticsearch authentication failed immediately. I attached the log in the bottom. When I searched about that solution are clean up the data and point to the new data directory in the elasticsearch.

**My questions**

1. Basically, How to change the Yellow color health status to Green?

2. If I do the mappings manually in the new server and moved the data is that enough to get Green status?

I am trying to figure this out If possible can someone help with this?

Thanks  
Saravana

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 3, 2020, 10:32am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/2 "2020-04-03T10:32:04Z")

</div>

Welcome!

What is the output of:

```auto
GET /
GET /_cat/nodes?v
GET /_cat/health?v
GET /_cat/indices?v

```

If some outputs are too big, please share them on [gist.github.com](http://gist.github.com) and link them here.

---

<div class="post-metadata">

**Author:** ![TheOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theone/32/45812_2.png) [@TheOne](https://discuss.elastic.co/u/TheOne)\
**Post date:** [April 3, 2020, 10:46am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/3 "2020-04-03T10:46:53Z")

</div>

**H** i,

Thank you for your reply.

I sent the output of our elasticsearch 6.2.4

Elasticsearch 7.6.1 always show authentication error once I restore the data from the old server

**[http://localhost:9200/](http://localhost:9200/)**

Elasticserver 6.2.4

{  
"name" : "RmnVUCT",  
"cluster\_name" : "elasticsearch",  
"cluster\_uuid" : "RIMK9-rQQyibaQ38gUIapg",  
"version" : {  
"number" : "6.2.4",  
"build\_hash" : "ccec39f",  
"build\_date" : "2018-04-12T20:37:28.497551Z",  
"build\_snapshot" : false,  
"lucene\_version" : "7.2.1",  
"minimum\_wire\_compatibility\_version" : "5.6.0",  
"minimum\_index\_compatibility\_version" : "5.0.0"  
},  
"tagline" : "You Know, for Search"  
}

**[http://localhost:9200/\_cat/nodes?v](http://localhost:9200/_cat/nodes?v)**  
ip heap.percent ram.percent cpu load\_1m load\_5m load\_15m node.role master name  
127.0.0.1 36 92 15 0.69 0.78 0.96 mdi \* RmnVUCT

**[http://localhost:9200/\_cat/health?v](http://localhost:9200/_cat/health?v)**  
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending\_tasks max\_task\_wait\_time active\_shards\_percent  
1585910719 10:45:19 elasticsearch yellow 1 1 400 400 0 0 388 0 - 50.8%

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 3, 2020, 11:42am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/4 "2020-04-03T11:42:50Z")

</div>

Please format your code, logs or configuration files using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

This is the icon to use if you are not using markdown format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7e6e239431ec2d71cbf1beef741f2e93e7cc762c.jpg)

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.  
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.  
Please update your post.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 3, 2020, 11:44am UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/5 "2020-04-03T11:44:08Z")

</div>

> [@TheOne](#):
>
> Elasticsearch 7.6.1 always show authentication error once I restore the data from the old server

You probably need to fix this problem.  
Not sure how you saw them that the cluster is yellow.

But anyway, in the old cluster it's yellow as well.  
So everything looks fine.

It can't be green if you have at least one index with the number of replicas greater or equal to 1 and only one node in your cluster.

---

<div class="post-metadata">

**Author:** ![TheOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theone/32/45812_2.png) [@TheOne](https://discuss.elastic.co/u/TheOne)\
**Post date:** [April 3, 2020, 12:22pm UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/6 "2020-04-03T12:22:32Z")

</div>

Ok, thanks.  
Elasticsearch 7.6.1 I enabled authentication and set up the password for elastic user.  
but after the restore process its throwing that error. I will try to fix that

==========================================================  
] [node-1] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]

===========================================================

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 3, 2020, 3:13pm UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/7 "2020-04-03T15:13:51Z")

</div>

You need to provide the credentials when your cluster is secured.

---

<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 1, 2020, 3:13pm UTC](https://discuss.elastic.co/t/moving-elasticsearch-6-2-4-data-to-elasticsearch-7-6-1/226364/8 "2020-05-01T15:13:51Z")

</div>

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