codebridge/ebs-snapshot-automation
Composer 安装命令:
composer require codebridge/ebs-snapshot-automation
包简介
Automatically create snapshots for your AWS EBS volumes
README 文档
README
Installation
composer require codebridge/ebs-snapshot-automation
Setup
copy .env.example to .env and edit with your own AWS credentials
Login to the AWS console and tag the volumes you want to snapshot with the proper tags. You can tag a volume for scheduling by tagging it with "Key" "schedule" and a "Value" which is a valid CRON expression, like 0 23 * * *.
Usage
php ebs-php volumes:list (see all your volumes)
php ebs-php volumes:list --cache (save your volumes locally for snapshotting)
php ebs-php volumes:list --show-cached (show all volumes in the local cache)
php ebs-php scheduler:run (check if there are any commands that need to be ran right now and execute them)
CRON jobs
Check for volumes to snapshot every minute
* * * * * php /path/to/ebs-php volumes:snapshot >/dev/null 2>&1
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-15