Single DB backup/restore for RDS

0

I am a bit confused whether customer can or cannot backup a single DB using RDS.

While the official AWS document mentioned you can use .bak file to "Backup and restore single databases, instead of entire DB instances." https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html

But doesn't specify how
AND there are multiple answers on various communities that said backing up single DB is NOT possible using the RDS backup mechanism,

The only viable option I can find is export/dump the data using export tools (and maybe DMS), which in most cases is very manual process.

Can someone shed some light?

Thanks

質問済み 6年前3005ビュー
1回答
0
承認された回答

In a simplistic high-level view: DB backups are taken in two distinct ways: logical backups or physical backups. Logical backups work by reading the data from database, they are slower and might cause some locks on some tables and/or rows while taking backups so they might not be suitable and good for system performance in some cases.

Physical backups are faster and impose minimal impact on system but requires physical access to database subsystems (OS, Disks, Volumes).

RDS as a managed service does not allow access to hardware or operating system thus customers can not use physical backup tools. These kind of backups are provided within the service itself (as snapshot based backups in RDS).

Logical backups are easier and flexible because they only need access to database. If you can read, you can do a logical backup. The simplest example is using mysqldump and variants to take logical backups of MySQL/Aurora RDS.

Long story short customers are limited in physical backups solutions but more flexible in logical tools. If this requirement is about MSSQL-RDS, yes customer can use this feature to import/export .bak files to backup individual databases in MSSQL.

For an MSSQL customer the link that you shared may help.

AWS
回答済み 6年前
profile picture
エキスパート
レビュー済み 23日前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ