How do you run snapshots?


(Robin Cook) #1

I have setup a mountpoint and snapshot repository and I am manually running snapshots with curl at the moment. It is all working fine.

I would love to get some cron jobs and maybe a web interface setup for managing the snapshots but as ever I expect someone will have already done this and likely in a better way than I would myself.

If someone knows of some great plugins or scripts out there that they or others have created and can share with me that would be great!


(Aaron Mildenstein) #2

There's always Curator: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/snapshot.html


(Robin Cook) #3

That's great, for some reason I didn't think curator could manipulate snapshots.

I have added this to my daily curator cron job:

Snapshot

curator snapshot --repository logstash
curator snapshots delete --older-than 60


(system) #4