By lcanas
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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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:
https://sanacl.wordpress.com/2020/03/30/elasticsearch-snapshots-in-digitalocean-spaces/
Best!
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.
Regards, Prakash Jha Developer Support Engineer II - DigitalOcean
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.