当前位置: 首页 > 未分类 > 正文

How to Migrate SQL Server Database to Amazon RDS Instanace

Amazon SQL Server RDS Instance doesn’t support to restore data from .bak files. So using this article I am writing to how to migrate your SQL server database to Amazon RDS instanace with easy steps. If you looks on AWS migration steps its too complicated, But windows Azure migration wizard tools provide an easier way to migrate data between local SQL Server to AWS RDS instance.

Step 1. Download SQLAzureMW Tool

1.1. At the very first we need to download SQLAzureMW using below url and extract on your system at any location.

Download SQLAzureMW tool

1.2. Use SQL Server Management Studio to connection to your local sql server and AWS RDS instanace and make sure you have proper connectivity to both server.

Step 2. Start Migration

2.1. Start Migration

Double click on SQLAzureMW.exe file from downloaded SQLAzureMW tool, and it will open screen like below. Select option Database and click Next.

mssql-to-rds-1

2.2. Source database tasks

Enter source SQL Server database connection details and click Connect.

mssql-to-rds-2

Select datababase to be migrate on AWS RDS from the list of databases and click Next.

mssql-to-rds-3

Select “Script all database objects” option to migrate complete database or you can use second option to migrate selected objects only and click Next.

mssql-to-rds-4

Review the list of selected objects to be migrate and click Next.

mssql-to-rds-5

In this step wizard will create a script for all your sql server objects, Use Save button to save the script on your local hard drive and click Next to go to next step.

mssql-to-rds-6

2.3. Destination database tasks

At this stage you have successfully created script of your database. Now input your RDS SQL Server connection details as below and click on Connect.
mssql-to-rds-7

Select target database to which you need to migrate your data, If you do not have already created database, create new using Create Database button. Finally click Next.

mssql-to-rds-8

At this step you will see that all data has been migrated to RDS SQL Server instance. Save the output showing on screen using Save button and check for errors if any.

mssql-to-rds-9

Step 3. Verify Data

Now use your local SQL Server Management Studio and verify all your data migrated successfully or not. In case you get any errors, fix it manually.

本文固定链接: http://t.yjsec.com/index.php/2017/12/02/26/ | 下一站

该日志由 admin 于2017年12月02日发表在 未分类 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: How to Migrate SQL Server Database to Amazon RDS Instanace | 下一站

How to Migrate SQL Server Database to Amazon RDS Instanace:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter