简体   繁体   English

如何在AWS中备份SQL Server?

[英]How to take backup of SQL Server in AWS?

How to take backup of SQL Server in AWS ? 如何在AWS中备份SQL Server? Is there any other option other than native backup ? 除了本机备份,还有其他选择吗?

Amazon Relational Database Service (Amazon RDS) supports native backup and restore for Microsoft SQL Server databases using full backup files (.bak files). Amazon Relational Database Service(Amazon RDS)支持使用完整备份文件(.bak文件)对Microsoft SQL Server数据库进行本机备份和还原。 You can import and export SQL Server databases in a single, easily portable file. 您可以在单个易于移植的文件中导入和导出SQL Server数据库。 You can create a full backup of your on-premises database, store it on Amazon Simple Storage Service (Amazon S3), and then restore the backup file onto an existing Amazon RDS DB instance running SQL Server. 您可以创建本地数据库的完整备份,将其存储在Amazon Simple Storage Service(Amazon S3)上,然后将备份文件还原到运行SQL Server的现有Amazon RDS数据库实例上。

There are mainly three components you will need to setup 您主要需要设置三个组件

  • An Amazon S3 bucket to store your backup files. 一个用于存储备份文件的Amazon S3存储桶。
  • An AWS Identity and Access Management (IAM) role to access the bucket. 一个AWS Identity and Access Management(IAM)角色来访问存储桶。
  • The SQLSERVER_BACKUP_RESTORE option added to an option group on your DB instance. SQLSERVER_BACKUP_RESTORE选项已添加到数据库实例上的选项组。

Reference- http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html 参考-http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html

https://aws.amazon.com/blogs/aws/amazon-rds-for-sql-server-support-for-native-backuprestore-to-amazon-s3/ https://aws.amazon.com/blogs/aws/amazon-rds-for-sql-server-support-for-native-backuprestore-to-amazon-s3/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM