Hi,
I have started the elastic search via docker, now I wanna take snapshot via curator. When I am trying to create repository via
curl -X PUT "http://127.0.0.1:9200/_snapshot/s3autosnapshots" -H 'Content-Type: application/json' -d '{ "type": "s3", "settings": { "bucket": "xxx", "base_path": "production", "region": "us-west-2" } }'
getting below error
{"error":{"root_cause":[{"type":"repository_exception","reason":"[s3autosnapshots] repository type [s3] does not exist"}],"type":"repository_exception","reason":"[s3autosnapshots] repository type [s3] does not exist"},"status":500}
So I tried to install elastic search plugin via:
sudo bin/elasticsearch-plugin install repository-s3
Received below error
sudo: bin/elasticsearch-plugin: command not found
So can any once help me out?