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.

Filename, size & hash SHA256 hash help File type Python version Upload date
aws-backup-client-0.0.6.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page