Example of Elasticsearch setup with snapshots stored in Spaces

Posted August 8, 2019 2.3k views

Hi there,
I’m looking for examples of how I can use the Spaces to store snapshots for a set of Elasticsearch clusters I’m gonna deploy in DigitalOcean during the next months. Do you have any snippet with an example of the setup I need?

Thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Hey @lcanas

Thanks for contacting DigitalOcean!

Spaces are s3 compatible so you can sync the snapshots of data directly to spaces using s3cmd.

This can be a bit involved but you can start by uploading a single snapshot and then configuring a script that checks for changes in the Snapshot directory(on a certain interval) and initiates uploads for newer snapshots.

Please enlighten me if I am misunderstanding your requirement.

Prakash Jha
Developer Support Engineer II - DigitalOcean

I wrote a blog post about this, so in case you need an example of Elasticsearch storing snapshots directly in a DigitalOcean bucket it is available at: