0 votes
in ElasticSearch by
Why and how to configure a path.repo?

1 Answer

0 votes
by

To create a repository, we need to set up a location where it will store. So, before taking a snapshot, it is very important to configure the path.repo setting in the elasticsearch.yml file in which we need to set the location for the repository to be stored. The elasticsearch.yml file exists inside the elasticsearch/config folder.

Steps to configure

  1. Navigate to the elasticsearch/config folder an open elasticsearch.yml file on notepad.
  2. Copy and paste the following line at the end of the file.
    path.repo: ["/my_backup_location"]
  3. Save the file and restart the elasticsearch to see the effect.

Related questions

+1 vote
asked Jul 10, 2022 in ElasticSearch by sharadyadav1986
0 votes
asked Jul 9, 2022 in ElasticSearch by sharadyadav1986
...