我们在下面运行这个脚本,这不会删除任何早于一天的东西我们缺少什么?
我们从github.com/colinbjohnson/aws-missing-tools/tree/master/ec2-automate-backup获得了脚本
ec2-automate-backup -r "us-west-2" -s tag -t "Backup,Values=true" -k 1 -p -h > /data/scripts/ec2-automate-backup.log
ec2-automate-backup 拍摄的快照将有资格在以下日期之后进行清除(从纪元开始以秒为单位给出的日期之后的清除):1458239434。使用以下标签标记快照 snap-b9fffbe6:Key=CreatedBy,Value=ec2-automate -backup Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1458239434 Key=PurgeAllow,Value=true 使用以下标签标记快照 snap-8c457dc9:Key=CreatedBy,Value=ec2 -自动备份 Key=InitiatingHost,Value='ip-10-220-5-100' Key=PurgeAfterFE,Value=1458239434 Key=PurgeAllow,Value=true