简体   繁体   English

集群的 Elasticsearch 快照

[英]Elasticsearch snapshot for a cluster

I have a Elasticsearch cluster running with three nodes.我有一个运行三个节点的 Elasticsearch 集群。 and have created a snapshot repository for the cluster, and trying to create a snapshot manually using,并为集群创建了一个快照存储库,并尝试使用手动创建快照,

10.0.0.120:9200/_snapshot/$REPO_NAME/$SNAPSHOT_NAME 10.0.0.120:9200/_snapshot/$REPO_NAME/$SNAPSHOT_NAME

But I am not sure if I have to create snapshot from all nodes or from any one node?但我不确定是否必须从所有节点或任何一个节点创建快照? And if i have to make snapshot call from all nodes seperately, should the name of snapshot be same?如果我必须分别从所有节点进行快照调用,快照的名称应该相同吗?

Also is there a way to verify if the snapshot is fine without restoring it?还有一种方法可以在不恢复快照的情况下验证快照是否正常?

According to Documentation “A snapshot is a backup of a running Elasticsearch cluster.”根据文档,“快照是正在运行的 Elasticsearch 集群的备份。”

So all nodes will be in, and you don't need to make separate snapshots.因此所有节点都将在其中,您无需制作单独的快照。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM