[ec2] Script of rolling EBS volume snapshots?
jeffg at inventivity.com
Mon Jun 22 15:15:40 BST 2009
I'm looking for a script to be run from cron to create EBS snapshots on a
periodic basic (daily or hourly), and then to remove them after X number of
days (say 10 days). It would also be useful to be able to move a weekly
snapshot to S3...
Is there such a script around?
One challenge is that snapshots names are controlled by the ec2 snapshot
code, rather than being meaningful to us...
Another is, any good code for doing the date math to figure out if X days
have elapsed on a file or arbitrary date string.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ec2