[英]Do we need to take DB backup if we are using AWS RDS?
I have a database hosted in RDS.我有一个托管在 RDS 中的数据库。 The DB contains lots of very important data.
数据库包含许多非常重要的数据。 We can't actually take a chance about the DB availability.
我们实际上不能对数据库的可用性冒险。 Is there any chance that the data get lost for some reason?
数据是否有可能因某种原因丢失?
I have seen about the AWS RDS service level agreement and its 99.95% availability.我已经了解了 AWS RDS 服务级别协议及其 99.95% 的可用性。 But what I need to check is, is it necessary to take a backup of the DB if the data is so important to us?
但是我需要检查的是,如果数据对我们如此重要,是否需要备份数据库? Or will the AWS take care of that if the current DB is down or lost?
或者如果当前数据库关闭或丢失,AWS 会处理吗? Is there a way to recover the data?
有没有办法恢复数据?
AWS does automated backups automatically for your RDS data and Transaction logs. AWS 会自动为您的 RDS 数据和事务日志进行自动备份。
However, you need to set the retention period (how long days you want AWS to retain old backups for?).但是,您需要设置保留期(您希望 AWS 将旧备份保留多长时间?)。 Usual number is 14 days, but it is based on your business / data requirements.
通常的数字是 14 天,但这取决于您的业务/数据要求。
On need basis, it is possible to recover to a point-in-time (up to the second accuracy) using CLI or APIs or via AWS Console.根据需要,可以使用 CLI 或 API 或通过 AWS 控制台恢复到某个时间点(高达第二精度)。 More on it here .
更多关于它在这里。
Though the SLA mentions 99.95% availability, if you look at all previous years, RDS has been unavailable only in 2 instances (once in 2011 then in 2014).尽管 SLA 提到了99.95% 的可用性,但如果您查看之前所有年份,RDS 仅在 2 个实例中不可用(2011 年和 2014 年一次)。 For a full list of AWS global outages, refer here .
有关 AWS 全球中断的完整列表,请参阅此处。
1) Amazon RDS creates and saves automated backups of your DB instance. 1) Amazon RDS 创建并保存数据库实例的自动备份。 Amazon RDS creates a storage volume snapshot of your DB instance, backing up the entire DB instance and not just individual databases.
Amazon RDS 创建数据库实例的存储卷快照,备份整个数据库实例而不仅仅是单个数据库。
2) Amazon RDS creates automated backups of your DB instance during the backup window of your DB instance. 2) Amazon RDS 在您的数据库实例的备份窗口期间创建您的数据库实例的自动备份。 Amazon RDS saves the automated backups of your DB instance according to the backup retention period that you specify.
Amazon RDS 根据您指定的备份保留期保存数据库实例的自动备份。 If necessary, you can recover your database to any point in time during the backup retention period.
如有必要,您可以将数据库恢复到备份保留期内的任何时间点。
3) After you create a DB instance, you can modify the backup retention period. 3) 创建数据库实例后,您可以修改备份保留期。 You can set the backup retention period to between 0 and 35 days.
您可以将备份保留期设置为 0 到 35 天之间。 Setting the backup retention period to 0 disables automated backups
将备份保留期设置为 0 会禁用自动备份
User Guide for Automated Backups 自动备份用户指南
Backups incur costing based on the storage refer pricing page in below link备份产生的成本基于存储参考以下链接中的定价页面
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.