sudo snap install http
/PATH
in this guide refers to the path that Elasticsearch has been installed to. For example, the path for this configuration was: /home/filebase/elasticsearch-7.6.1/
sudo $PATH/bin/elasticsearch-plugin install -b repository-s3
$PATH/bin/elasticsearch
sudo $PATH/bin/elasticsearch-plugin list
sudo $PATH/bin/elasticsearch-keystore add s3.client.default.access_key
sudo $PATH/bin/elasticsearch-keystore add s3.client.default.secret_key
http POST 127.0.0.1:9200/_nodes/reload_secure_settings
echo '{ "type":"s3","settings":{"bucket":"filebase-sample-bucket","endpoint":"https://s3.filebase.com",”region”:”us-east-1”}}' | http PUT 127.0.0.1:9200/_snapshot/my_filebase_repository
http 127.0.0.1:9200/_cat/indices?v=true
http PUT 127.0.0.1:9200/_snapshot/my_filebase_repository/full_snapshot_021021?wait_for_completion=true
my_filebase_repository
. This will upload them to the Filebase bucket you specified in your JSON request configured above.echo '{"indices":".geoip*"}' | http PUT 127.0.0.1:9200/_snapshot/my_filebase_repository/geoip-021021?wait_for_completion=true
http 127.0.0.1:9200/_snapshot/my_filebase_repository/full_snapshot_021021