Create snapshot repository without making the API request

Hi,
I would like to know if there's any other way to create a snapshot s3 repository besides making the PUT _snapshot/my_s3_repository request. Maybe some config file?
The reason I want to know this is because when I start the docker container, Elasticsearch isn't instantly ready to receive requests. Yes, I could sleep for a few seconds, or do a loop polling elasticsearch to know when it's ready, but these don't seem the best solutions. Another solution would be to always check if the repository exists before creating a snapshot, and if it doesn't, create it.

No. It's not possible.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.