Snapshot/restore questions

Hello List,

we have 8 node ES cluster.

Following commands are used to create the repository and the snapshots.

creating a repository for snapshots in s3

curl -XPOST localhost:9200/_snapshot/s3_logstash_repository -d '
{
"type": "s3",
"settings" : {
"bucket": "elasticsearch-bkp",
"base_path": "logstash-backup",
"compress": "true",
"access_key": "",
"secret_key": ""
}
}'

For snapshot following command is used

curl -XPUT
"localhost:9200/_snapshot/s3_logstash_repository/$INDEXNAME?wait_for_completion=true&pretty"

Now I am trying to understand if the repository needs to be created on *each
node *in cluster? Does the snapshots be run on each node?

I am scheduling the snapshots using cron jobs, so I want to be clear if
this jobs needs to be run on each node? And if so then restore operations
need all snapshot files created by the multiple nodes?

Please provide an insight.

Thanks,
Skm

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5bbee63e-c234-4a2a-a025-10fefca4ea9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.