I have data in Elasticsearch and I want to back up and after doing the backup restore it in another Elasticsearch
I do this to avoid problems that can occur similarly:
Unintentionally delete data
Or the failure of Elasticsearch
I will have a backup copy to repair a new elastic and restore the data
But I tried that and it didn't work
What is the solution to this?
Once you have creted the snapshot you should be able to tar up the complete directory and move it to a different location before you untar and mount it on the new cluster and restore it.
It would be even easier if you create the snapshot on cloud storage, e.g. S3, and just connect the clusters to this.
If you want to export the documents and then reindex them into the new cluster I believe you will need to create a custom script or possibly use a tool like Logstash or elasticdump (third party tool).
I got it.
Can you guide me with the steps to transfer the snapshot to a new cluster, knowing that the new group is in another device
For example:
1 Snapshot in the current cluster
2 Compress the resulting file.....
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.