# What is the best way to migrate from elasticsearch 8.2.0 to opensearch 2.7.0?

**URL:** <https://forum.opensearch.org/t/what-is-the-best-way-to-migrate-from-elasticsearch-8-2-0-to-opensearch-2-7-0/14656>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [June 13, 2023, 12:36am UTC](https://forum.opensearch.org/t/what-is-the-best-way-to-migrate-from-elasticsearch-8-2-0-to-opensearch-2-7-0/14656 "2023-06-13T00:36:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cucukaka](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@cucukaka](https://forum.opensearch.org/u/cucukaka)\
**Post date:** [June 13, 2023, 12:36am UTC](https://forum.opensearch.org/t/what-is-the-best-way-to-migrate-from-elasticsearch-8-2-0-to-opensearch-2-7-0/14656/1 "2023-06-13T00:36:26Z")

</div>

openserach version 2.7.0  
elasticsearch version 8.2.0

* * *

I want to migate from elasticsearch 8.2.0 to opensearch 2.7.0.  
Making snapshot on Minio in elasticsearch.  
But I read some article, " snapshots taken with Elasticsearch 7.12.0 and above are not compatible with OpenSearch. If you use a version above 7.12.0. "  
and I just do that, of cause Failed.

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_missing_exception",
        "reason": "[minio-backup] missing"
      }
    ],
    "type": "repository_missing_exception",
    "reason": "[minio-backup] missing"
  },
  "status": 404
}

```

So what is the best way to migrate from elasticsearch 8.2.0 to opensearch 2.7.0 ??

---

<div class="post-metadata">

**Author:** ![Gsmitt](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gsmitt/32/1718_2.png) [@Gsmitt](https://forum.opensearch.org/u/Gsmitt)\
**Post date:** [June 13, 2023, 1:15am UTC](https://forum.opensearch.org/t/what-is-the-best-way-to-migrate-from-elasticsearch-8-2-0-to-opensearch-2-7-0/14656/2 "2023-06-13T01:15:50Z")

</div>

Hey @cucukaka

Im not sure, what I have done before is create a new instance “Opensearch-2.7.0” route all node/s to opensearch-2.7.0/ Keeep Elasticsearch-8.x.x on till the Index retenction period is completed. then you can remove/Delete Elasticsearch. No down time, and you have all you logs/message/doc’. Just an idea

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [August 12, 2023, 1:16am UTC](https://forum.opensearch.org/t/what-is-the-best-way-to-migrate-from-elasticsearch-8-2-0-to-opensearch-2-7-0/14656/3 "2023-08-12T01:16:04Z")

</div>

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