Hello friends i have a problem. I can't backup indices.
my elasticsearch.yml file:
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: C:/elastic_stack/elasticsearch-7.13.1/lib
#
# Path to log files:
#
path.logs: C:/elastic_stack/elasticsearch-7.13.1/logs
#
path:
repo:
- "C://elastic_stack//elasticsearch-7.13.1//esbackup"
I'm trying from kibana :
PUT /_snapshot/my_backup
{
"type": "fs",
"settings": {
"location": "C://elastic_stack//elasticsearch-7.13.1//esbackup",
"compress": true
}
}
Error:
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[my_backup] location [C://elastic_stack//elasticsearch-7.13.1//esbackup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
],
"type" : "repository_exception",
"reason" : "[my_backup] failed to create repository",
"caused_by" : {
"type" : "repository_exception",
"reason" : "[my_backup] location [C://elastic_stack//elasticsearch-7.13.1//esbackup] doesn't match any of the locations specified by path.repo because this setting is empty"
}
},
"status" : 500
}
Please help me dear friends