Hello! Can I add snapshot while Elasticsearch cluster is running? Do I have to restart the cluster by adding path.repo in elasticsearch.yml?

You can take a snapshot when the cluster is running (indeed, you cannot take a snapshot if the cluster is not running). Perhaps you are asking about adding a repository? Similarly you can add a repository if and only if the cluster is running.

If the repository you want to add is not already within a path.repo setting in the cluster then yes, you must add this to elasticsearch.yml on every node and then restart each node. If you do not want to shut your whole cluster down then you can do this one node at a time, like a rolling upgrade but without the upgrading part.

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