Hi David,
path.repo: ["/mnt/es-snaps"]
Following is the output for
curl "localhost:9200/_nodes/settings?pretty"
{
"cluster_name" : "elasticsearch",
"nodes" : {
"BKJL7TS_Q5KC3dm8Xep2UA" : {
"name" : "es-node-2",
"transport_address" : "inet[/10.0.1.21:9300]",
"host" : "7459d736d6e1",
"ip" : "10.0.1.21",
"version" : "1.7.5",
"build" : "00f95f4",
"http_address" : "inet[/10.0.1.21:9200]",
"settings" : {
"path" : {
"logs" : "/usr/share/elasticsearch/logs",
"home" : "/usr/share/elasticsearch",
"repo" : "/usr/share/elasticsearch/snapshots"
},
"cluster" : {
"name" : "elasticsearch"
},
"node" : {
"name" : "es-node-2"
},
"discovery" : {
"zen" : {
"ping" : {
"unicast" : {
"hosts" : "es-node-1"
}
}
}
},
"name" : "es-node-2",
"client" : {
"type" : "node"
},
"foreground" : "yes",
"config" : {
"ignore_system_properties" : "true"
},
"script" : {
"inline" : "on",
"update" : "on",
"groovy" : "on"
}
}
},
"-Nb8FWW_RPWL07yQCcD6QQ" : {
"name" : "es-node-3",
"transport_address" : "inet[/10.0.1.22:9300]",
"host" : "8b0eda835741",
"ip" : "10.0.1.22",
"version" : "1.7.5",
"build" : "00f95f4",
"http_address" : "inet[/10.0.1.22:9200]",
"settings" : {
"path" : {
"logs" : "/usr/share/elasticsearch/logs",
"home" : "/usr/share/elasticsearch",
"repo" : "/usr/share/elasticsearch/snapshots"
},
"cluster" : {
"name" : "elasticsearch"
},
"node" : {
"name" : "es-node-3"
},
"discovery" : {
"zen" : {
"ping" : {
"unicast" : {
"hosts" : "es-node-1"
}
}
}
},
"name" : "es-node-3",
"client" : {
"type" : "node"
},
"foreground" : "yes",
"config" : {
"ignore_system_properties" : "true"
},
"script" : {
"inline" : "on",
"update" : "on",
"groovy" : "on"
}
}
},
"n5LJhtymRo2DL5I-FpTsag" : {
"name" : "es-node-1",
"transport_address" : "inet[/10.0.1.20:9300]",
"host" : "79c839e26e38",
"ip" : "10.0.1.20",
"version" : "1.7.5",
"build" : "00f95f4",
"http_address" : "inet[/10.0.1.20:9200]",
"settings" : {
"path" : {
"logs" : "/usr/share/elasticsearch/logs",
"home" : "/usr/share/elasticsearch",
"repo" : "/usr/share/elasticsearch/snapshots"
},
"cluster" : {
"name" : "elasticsearch"
},
"node" : {
"name" : "es-node-1"
},
"discovery" : {
"zen" : {
"ping" : {
"unicast" : {
"hosts" : "es-node-2"
}
}
}
},
"name" : "es-node-1",
"client" : {
"type" : "node"
},
"foreground" : "yes",
"config" : {
"ignore_system_properties" : "true"
},
"script" : {
"inline" : "on",
"update" : "on",
"groovy" : "on"
}
}
}
}
}
[ec2-user@ip-10-5-3-235 ~]$ curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -d '{
"type": "fs",
"settings": {
"location": "/mnt/es-snaps",
"compress": true
}
}'