如何为每个AMI/EBS设置自动计划的快照? [英] How to setup automatic scheduled snapshots for each single AMI/EBS?

查看:109
本文介绍了如何为每个AMI/EBS设置自动计划的快照?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Amazon是否支持可以为每个AMI/EBS配置的任何类型的自动计划快照?

Does Amazon support any kind of automatic scheduled snapshots that can be configured for each single AMI/EBS?

我的目标是定期备份每个AMI,而不必依赖外部脚本或类似脚本.

my goal is to have each AMI backup itself regularly without relying on external scripts and similar.

推荐答案

您可以使用AWS命令行工具自动执行EBS快照.只需计划一个cron作业或类似的作业,以在您的ebs卷上以所需的间隔运行ec2-create-snapshot命令即可.

You can use the AWS command-line tools to automate EBS snapshots. Just schedule a cron job or similar to run ec2-create-snapshot command at the desired interval on your ebs volume.

如果您不想安装命令行工具,也可以通过http进行API调用来做同样的事情.

You can also make API calls over http to do the same thing, if you don't want to install the command line tools.

有关创建EBS快照的更多信息,请参见链接.

See the link for more information on creating EBS snapshots.

http://docs.amazonwebservices.com/AWSEC2/Latest/UserGuide/ebs-creating-snapshot.html

这篇关于如何为每个AMI/EBS设置自动计划的快照?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆