Elasticsearch - backup a cluster


I have a 5 nodes cluster, behind a load balancer, that I want to backup.

I have 2 questions:

-Do I have to run my backup command (curl -XPUT "http://localhost:9200/_snapshot/s3_repository/snap1?wait_for_completion=true") on every node of the cluster to backup data or can I do it using my load balancer address (which will point to only one node of the cluster at a time)?

-Using my backup command (curl -XPUT "http://localhost:9200/_snapshot/s3_repository/snap1?wait_for_completion=true") will I be able to remount a new cluster if my cluster crashes without backuping anything else?


Snapshots happen on a cluster level, irrespective of which node you call to request it.

If you are unsure of the restore process, then why not give it a go :slight_smile:

Thanks a lot for your answer.

Just like to be sure to start in the right way using snapshot.

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