[ec2] Script of rolling EBS volume snapshots?

Jeffrey Greenberg 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.
 
thanks,
 
Jeffrey Greenberg
http://www.jeffrey-greenberg.com <http://www.jeffrey-greenberg.com/> 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/mailman/private/ec2/attachments/20090622/4cedfd27/attachment.htm 


More information about the Ec2 mailing list