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
> --keep-snapshot
Following least any one input is required:
–instance-id
–instance-name
–instance-tag
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file aws-backup-client-0.0.6.tar.gz.
File metadata
- Download URL: aws-backup-client-0.0.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34b928a966a91645e44a139dec5fb40ee088cbb01262f7715f3ad482dc991587
|
|
| MD5 |
d5128bdf36c074d99f575d58893a6a0d
|
|
| BLAKE2b-256 |
0b203b50a5ae54da5444ef01362ca3ec65f0dddf22d01dfcb737102424d54e04
|