pythian / opsviz

25 stars 24 forks source link

add nfs + es snapshots #66

Open mszubrycht-pythian opened 9 years ago

mszubrycht-pythian commented 9 years ago

This commit includes recipes to set up nfs server, mount the nfs share on all ES instances and set up an hourly snapshot cronjob of all ES indices. Tested on Ubuntu. Attributes will have to be tweaked for particular network addressing and distro-specific packages.

jonathandietz commented 9 years ago

We should use ES Curator instead of a custom script for backups. https://github.com/elastic/curator http://curator.readthedocs.org/en/latest/

lesaux commented 9 years ago

I believe curator is just used to purge data in several different ways. https://github.com/elastic/elasticsearch-cloud-aws We are currently using it for ec2 auto-discovery, but this plugin can also be used to snapshot data to S3.