简体   繁体   English

如果我们使用 AWS RDS,是否需要进行数据库备份?

[英]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备份产生的成本基于存储参考以下链接中的定价页面

RDS pricing page RDS 定价页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们什么时候需要在Amazon AWS RDS中使用较高的内存和CPU? - When do we need high memory and CPU in amazon AWS RDS? 我们可以将AWS RDS只读副本视为备份吗? - Can we consider AWS RDS read replica as Backup? 我们是否需要根据监控使用60 IOPS的RDS实例的预配置IOPS? - Do we need Provisioned IOPS for RDS instance that's using 60 IOPS according to monitoring? 在 AWS 中,为什么我们将 RDS 实例保留在 Private su.net 中? - In AWS, why do we keep RDS instance in Private subnet? 我们可以使用 Newrelic 监控 AWS RDS PostgreSQL 查询和统计信息吗? - Can we monitor AWS RDS PostgreSQL queries and stats using Newrelic? 为什么我们在 AWS 中的 API 网关和 Dynamo DB 之间需要 Lambda? - Why do we need Lambda in between API Gateway and Dynamo DB in AWS? mysql - 当我们可以为 mysql 使用 docker 图像时,为什么还需要 RDS - mysql - Why do we need RDS when we can use docker image for mysql 我们可以使用 AWS 胶来分析 RDS 数据库并使用 ETL 将分析的数据存储到 rds mysql 表中吗? - Can we use AWS glue for analysing the RDS database and store the analysed data into rds mysql table using ETL 如何在 AWS RDS Postgresql 中加载备份数据库文件 - How to load a backup DB file in AWS RDS Postgresql 我应该只坚持使用 AWS RDS 自动备份还是数据库快照? - Should I stick only to AWS RDS Automated Backup or DB Snapshots?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM