aws backup clients
Project description
Installation
$ pip install aws-backup-client
Example
Currently, we use the following:
EC2 AMI Image
$ ec2-ami-backup --instance-id=i-xxxxxxxx --instance-id=i-yyyyyyyy \
> --instance-name=name1 --instance-name=*name2*\
> --instance-tag=key/value --instance-tag=key2/*value2* \
> --image-description='weekly backup image' \
> --image-max-number=2 \
> --image-expiration='14days' \
> --aws-access-key-id=AKIXXXXXXXXXXXXXXXX \
> --aws-secret-access-key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
> --aws-region=ap-northeast-1 \
> --aws-time-diff='9hours' \
> --client-time-diff='9hours' \
> --client-time-format='%Y-%m-%dT%H-%M-%S' \
> --log-level=10 \
> --reboot \
> --prefix='weekly-' \
> --dry-run
Following of input is required:
–instance-id
–instance-name
–instance-tag
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.