Error in creating a snapshot in elasticsearch 2.4.0?


(Yaswanth ) #1

Hi everyone,

For creating a snapshot i have create a path.repo in elasticsearch.yml .
I want to know where i have to add path.repo line in elasticsearch.yml.
When i tried adding in the last line of elasticsearch.yml the cluster itself not staring and throwing a error like this

i given the following syntax in elasticsearch.yml

And i also tried giving
path.repo:["F:/elasticsearch-2.4.0/elasticsearch-2.4.0/Backup"]
Can anyone help me in solving this?


(Mark Walkom) #2

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them..


(Yaswanth ) #3

sry..
thanks for saying..


(Yaswanth ) #4

Got the answer..
I added the path.repo in the last line and given space between : and [

path.repo: ["/ElasticSearch 2.4.0/elasticsearch-2.4.0/Backup"]


(Ravi Shanker Reddy) #5

Take care while editing yaml files. They are space sensitive


(system) #6

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