Skip to main content

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
>               --keep-snapshot

Following least any one input is required:

  • –instance-id
  • –instance-name
  • –instance-tag

Warning

  • v0.0.4
    • it has limited input as described above.
    • renamed command ec2ami-backup to ec2-ami-backup.
  • v0.0.6
    • –keep-snapshot: It does not remove the snapshot that related to ami.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aws-backup-client, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size aws-backup-client-0.0.6.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page