I have installed ElasticSearch on my Windows machine. While creating a repository i pointed the location to my Windows location and executed the below command
I executed the code as shared above, but unlucky received error
{
"error": "RepositoryException[[backup] failed to create repository]; nested: CreationException[Guice creation errors:\r\n\r\n1) Error injecting constructor, org.elasticsearch.repositories.RepositoryException: [backup] location [C:\Users\Downloads\elasticsearch-1.6.0\es_backup_folder] doesn't match any of the locations specified by path.repo because this setting is empty\r\n at org.elasticsearch.repositories.fs.FsRepository.(Unknown Source)\r\n while locating org.elasticsearch.repositories.fs.FsRepository\r\n while locating org.elasticsearch.repositories.Repository\r\n\r\n1 error]; nested: RepositoryException[[backup] location [C:\Users\t.islam.siddiqui\Downloads\elasticsearch-1.6.0\es_backup_folder] doesn't match any of the locations specified by path.repo because this setting is empty]; ",
"status": 500
}
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.