Answer the question
In order to leave comments, you need to log in
How to organize a backup in Elasticsearch?
Off. The documentation says that you need to create a repository for the snapshot, etc.
But when I want to create a repository I get this response from the elasticsaerch server.
curl -XPUT ' 192.168.100.150:9200/_snapshot/elastic_demo_backup ' -d '{"type": "fs", "settings": {"location": "/home/elastic_backup/", "compress": true } } '
{"error":"RepositoryException[[elastic_demo_backup] failed to create repository]; nested: CreationException[Guice creation errors:\n\n1) Error injecting constructor, org.elasticsearch.repositories.RepositoryException: [elastic_demo_backup] location [/home/ elastic_backup/] doesn't match any of the locations specified by path.repo because this setting is empty\n at org.elasticsearch.repositories.fs.FsRepository.(Unknown Source)\n while locating org.elasticsearch.repositories.fs. FsRepository\n while locating org.elasticsearch.repositories.Repository\n\n1 error]; nested: RepositoryException[[elastic_demo_backup] location [/home/elastic_backup/] doesn't match any of the locations specified by path.repo because this setting is empty]; ","status":500}[[email protected] home]#
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question