Commit Graph

24 Commits

Author SHA1 Message Date
Colin Johnson
476b4da4c0 merging in epoch date usage - allows script to be run more than once a day 2014-04-12 21:21:28 +00:00
Colin Johnson
eca59ba434 resolve issue with passed volume ids failing to parse, modify tag input to work with aws cli tool, use --output text to parse text instead of json when parsing output of aws cli commands 2014-03-02 18:47:30 +00:00
Jeff Vogt
a1db669e64 forgot to remove an unneeded line from the copypaste 2013-10-14 20:01:38 -07:00
Jeff Vogt
348e628c57 forgot to add the new flag in getopts 2013-10-14 19:58:36 -07:00
Jeff Vogt
6759a97c3d Added script flag -h to enable InitiatingHost as a tag to the snapshot 2013-10-14 19:51:06 -07:00
Colin Johnson
c644a35d3c update of ec2-automate-backup test script and ensure user_tag functionality uses correct variable for date created. 2013-02-17 23:31:59 +00:00
Colin Johnson
ff06380942 updating to rename to user_tag from auto_tag and use bash builtin for region evaluation. Also updated README.txt for ec2-automate-backup. 2013-02-17 21:53:38 +00:00
Jon Higgs
ee2193fcbe make sure that that the region doesn't get overwritten. 2013-01-31 16:19:58 +01:00
Jon Higgs
6a000c3786 fix indent 2013-01-31 16:19:26 +01:00
Jon Higgs
3b637b617d fix indenting. 2013-01-31 16:14:51 +01:00
Jon Higgs
294c8a8220 use $EC2_REGION if has been set. 2013-01-28 17:18:28 +01:00
Colin Johnson
ee7890926d updating documentation for auto tags feature. 2013-01-27 15:51:25 +00:00
Alex Corley
b2c8d872d8 Added an -a switch for 'auto tagging'.
This currently only creates two tags, but they are immensely helpful
in automating restores of snapshots to volumes.

If this feature is liked, I can extend it to do more api work for
adding instance_id and other metadata to tags, but did not want
to initially increase dependencies or complexity.

anthroprose@gmail.com
2013-01-16 12:34:31 -06:00
Colin Johnson
979fb3c431 updating spelling error in comment. 2012-12-30 06:50:08 +00:00
Colin Johnson
b122dcfff8 ec2-automate-backup supports -c cron-primer mode for loading environment configuration. 2012-11-12 03:12:59 +00:00
Colin Johnson
c02743304a purge_EBS_Snapshots now more portable - works with both OS X/BSD Date and GNU/Linux Date command. 2012-11-09 07:26:38 +00:00
Colin Johnson
e76a6743b4 purge_EBS_Snapshots more portable - \t option does not work with grep (GNU grep) 2.10 from Ubuntu 12.04.1 LTS. 2012-11-09 04:42:35 +00:00
Colin Johnson
fe3473a29b purge_EBS_Snapshots more portable - \t option does not work with grep (GNU grep) 2.10 from Ubuntu 12.04.1 LTS. 2012-11-09 04:35:39 +00:00
Colin Johnson
ca1e84fec5 increase portability - now runs on OS X and Linux - resolve issue with differences in date binary. 2012-10-06 22:27:59 +00:00
Colin Johnson
eee4ad0637 ec2-automate-backup now includes support for purging old snapshots. 2012-09-24 23:34:15 +00:00
Colin Johnson
c1025a4188 update of ec2-automate-backup.sh with support for PurgeAfter tag - purge support coming soon. 2012-09-21 02:04:51 +00:00
Colin Johnson
e69fda405d add enhancement - ec2-automate-backup.sh now writes tag Name=value if requested and handles ec2-create-snapshot errors. 2012-09-14 23:59:56 +00:00
Colin Johnson
273fddc748 remove echo statement before ec2-create-snapshot command. 2012-09-08 05:30:48 +00:00
Colin Johnson
811aece964 initial commit of ec2-automate-backup 2012-09-08 01:54:15 +00:00