Elasticsearch cluster data migration

I have 10 nodes in one cluster(in a server). I want to dump all documents from this cluster. After that, import these docs to new cluster. The new cluster will be have only one node. I have followed this tutorial

After naming the snapshot. I have files. Then I create new cluster with same name and tried to import it. With below code

curl -XPOST 'http://localhost:9200/_snapshot/esbackup/first-snapshot/_restore?wait_for_completion=true'

But this code didn't work fine.

How can i migrate data from one cluster to new one ?

Thanks for answering

Yes. This should work. What is the exact error message?

Also you can use reindex from remote as well if needed.

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