Sign inSign up

schvin/ec2-snapshots

By schvin

•Updated about 10 years ago

Image
2

515

schvin/ec2-snapshots repository overview

dockerfile-ec2-snapshots

Simply enumerate your volumes, snapshot each, and keep last x snapshots (deleting older ones).

To pull:

docker pull schvin/ec2-snapshots

To run:

docker run -e TOTAL_SNAPSHOTS=25 -e AWS_ACCESS_KEY=xxxx -e AWS_SECRET_KEY=xxxx -it schvin/ec2-snapshots

To do:

  • add mail notifications of output?
  • make a smarter calculation of how many to keep depending on how many volumes you have

Tag summary

Content type

Image

Digest

sha256:176674c22…

Size

277.1 MB

Last updated

about 10 years ago

docker pull schvin/ec2-snapshots