Tamillcp / tamil

0 stars 0 forks source link

How is take Elasticsearch Snapshot(backup) through Windows OS #1

Open Tamillcp opened 6 years ago

Tamillcp commented 6 years ago

ElasticSearch Snapshot

This is my Input

PUT /_snapshot/mt_bankmaster { "type": "fs", "settings": { "compress" : true, "location": "/home/timo/elasticsearch-backup" } }

Output

{ "error": { "root_cause": [ { "type": "repository_exception", "reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty" } ], "type": "repository_exception", "reason": "[mt_bankmaster] failed to create repository", "caused_by": { "type": "repository_exception", "reason": "[mt_bankmaster] location [/home/timo/elasticsearch-backup] doesn't match any of the locations specified by path.repo because this setting is empty" } }, "status": 500 }

I already added in elasticsearch.yml file in below

Shared repo

path.repo: ["/mount/backups", "/mount/longterm_backups"]

path.repo: ["/home/timo/elasticsearch-backup"]

Please give solution.

Tamillcp commented 6 years ago

Pls give solution