Create snapshot repository without making the API request


(Xavier Ortiz) #1

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.


(David Pilato) #2

No. It's not possible.


(system) #3

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