Skip to content

Commit

Permalink
Add --delete-delay option, thanks to Wayne Robinson (fixes #11 on git…
Browse files Browse the repository at this point in the history
…hub) (fixes #12 on github)
  • Loading branch information
ehammond committed Jul 12, 2013
1 parent a8e36ab commit c2186dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ h1. OPTIONS
- @--aws-credentials-file CREDENTIALSFILE@ := File containing both the Amazon AWS access key and secret access key on separate lines and in that order. Defaults to contents of $AWS_CREDENTIALS environment variable or the value $HOME/.awssecret
- @--region REGION@ := Specify a different EC2 region like "eu-west-1". Defaults to "us-east-1".
- @--volume-id-in-tag TAGNAME@ := Specifies the name of a tag to look for on each EBS snapshot indicating what volume-id to associate with this snapshot, replacing the volume-id that is returned by the API. The common use is for when snapshots are copied across regions. This is so a consistent expiration schedule can be kept, without regards to the new volume-id generated each time a copy is made.
- @--delete-delay DELAY_IN_SECONDS@ := Specifies the number of seconds to wait between deleting snapshots. Allows ec2-expire-snapshots to run without hitting the AWS rate limiter.
- @--keep-most-recent COUNT@ := - @--keep-all-since DATETIME@ [NOT YET IMPLEMENTED] := - @--keep-first-yearly YEARCOUNT@ := - @--keep-first-quarterly QUARTERCOUNT@ [NOT YET IMPLEMENTED] := - @--keep-first-monthly MONTHCOUNT@ := - @--keep-first-weekly WEEKCOUNT@ := - @--week-starts DAYOFWEEK@ [NOT YET IMPLEMENTED] := - @--keep-first-daily DAYCOUNT@ := - @--keep-first-hourly HOURCOUNT@ := - @--expiration-tag-name TAGNAME@ [NOT YET IMPLEMENTED] := - @--expiration-tag-optional@ [NOT YET IMPLEMENTED] := These options identify which EBS snapshots should be preserved. See the "PRESERVATION OPTIONS" section for more details on what they mean and how to use them.
- @--force-delete-all@ := This dangerous option overrides all other default option values, EBS snapshot tag values, and normal safety measures. All EBS snapshots for the specified EBS volumes are attemped to be deleted. Even the most recent EBS snapshot is deleted. The EBS snapshots are deleted even if the EBS volume does not exist. After this option is used, you will have no EBS snapshots for the specified EBS volume, unless there was some error condition that prevented an EBS snapshot from being deleted.
This is not a normal EBS snapshot expiration strategy, but is a convenience option for use when throwing away all data associated with an EBS volume that is no longer useful for any purpose.
Expand Down
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
ec2-expire-snapshots (0.10) quantal; urgency=low

* Add --delete-delay option, thanks to Wayne Robinson
(fixes #11 on github)
(fixes #12 on github)

-- Eric Hammond <ehammond@thinksome.com> Thu, 11 Jul 2013 19:07:12 -0700

ec2-expire-snapshots (0.09) quantal; urgency=low

* Add --volume-id-in-tag option, thanks to Anthony Tonns
Expand Down

0 comments on commit c2186dc

Please sign in to comment.