Amazon EC2 Backup Command Line Tool.
This command requires the IAM Role like:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:CreateImage",
"ec2:CreateSnapshot",
"ec2:CreateTags",
"ec2:DeleteSnapshot",
"ec2:DeregisterImage",
"ec2:DescribeImages",
"ec2:DescribeInstances",
"ec2:RegisterImage"
],
"Resource": [
"*"
]
}
]
}
First, your instance(s) is required the tag that has the key named Backup-Generation
with the number value of generations.
/path/to/ec2backup self
/path/to/ec2backup all
See CHANGELOG
- Fork it ( https://github.com/marcy-go/ec2backup/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request