I have a question concerning the configuration of the repository within ElasticSearch config file.
We are running a 4 nodes cluster on Windows, we need to store the backup on a dedicated server, we create a shared folder on this, but this server is not on the domain. We defined specific credential to access this folder.
How can I specify those credential on the ElasticSearch.yml ? or is a specific plug in or best practice that I can use ?
I try to define a network drive and store those credential within the network drive, but I'm always getting an error and ElasticSearch stop working -> Unable to access 'path.repo' (Z:\Repo)
Do you have any other workaround or possibility for that ?
Assuming that the shared filesystem is mounted to /mount/backups/my_backup, the following setting should be added to elasticsearch.yml file:
path.repo: ["/mount/backups", "/mount/longterm_backups"]
The path.repo setting supports Microsoft Windows UNC paths as long as at least server name and share are specified as a prefix and back slashes are properly escaped:
path.repo: ["\\\\MY_SERVER\\Snapshots"]
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.