0% found this document useful (0 votes)
19 views

How To Migrate Onprem SQL Server Data To AzureSql Database

This document outlines the steps to migrate an on-premises SQL Server 2012 database to an Azure SQL database. It involves: 1. Installing the SQL Server database on a local machine to act as the source database. 2. Creating an Azure account and SQL database in the Azure portal. 3. Connecting the on-premises SQL Server Management Studio to the Azure SQL database by providing login details and server name. 4. Using the Data Migration Assistant tool to assess compatibility issues between the source and target databases and perform the data migration.

Uploaded by

Mastan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

How To Migrate Onprem SQL Server Data To AzureSql Database

This document outlines the steps to migrate an on-premises SQL Server 2012 database to an Azure SQL database. It involves: 1. Installing the SQL Server database on a local machine to act as the source database. 2. Creating an Azure account and SQL database in the Azure portal. 3. Connecting the on-premises SQL Server Management Studio to the Azure SQL database by providing login details and server name. 4. Using the Data Migration Assistant tool to assess compatibility issues between the source and target databases and perform the data migration.

Uploaded by

Mastan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

How to Migrate onPremSql server data to AzuresSQL database .

Migration Tools : DMA (Data Migration Assessment)


Cloud: Azure Cloud .
OnpremDatabase : Sql Server 2012.

Step1:
Installed SQL server database on personal machine, it is act as
source database.

Step2:
Azure URL: portal.azure.com, please login into this portal
, select free account as shown in the below screenshot and sign
up by giving required details for the POC .

Once you created free account please login into the portal by
giving username and password.

Step2 :
How to create azure SQL database in azure cloud.
Select the azure SQL database and click on create database and
selected deployment option SQL database only
And then click on create option, in the basic tab options
provided all the details with basic compute cost.
And then click on create button, it will create the database.
Please provide the servername, username,password , database
name to azure database ,Once the deployment completed .
Step 3:
Select the database and then click on the set server firewall
button.

Step 4
Here click on Add client IP.
And then save the button .

Step 5
Here connecting azure database from on Prem server
management studio.
Here taken server name and then go to onPrem server
management studio
Step6:
Here by giving server name , username and password then
connected azure database from on Prem Sql server
management studio.

Till here the steps completed creating azure account, creation


of azure database, connected azure database by providing login
details and server name from Onprem server.
How to set up DMA tool on local machine.
Below is the link to download DMA tool.
https://www.microsoft.com/en-us/download/details.aspx?id=53595
Once downloaded DMA tool click on next, next and then click
on finish button .
Once installation completed on you are machine, open DMA
tool . as shown below .

Step2 :
Click on + button to create Assessment project , it will pop up
window by project type with other details .
Here again project types has two tools
1. Assessment.
2.Data migration .
How to create Assessment?
Please provide below details to create assessment project in
the pop up window .
Project Type: any name
Assessment type select data base engine.
Source server type means what is source database
Target server type means what is target databse (i.e Azure SQL
Database)
And then click on create. Click on next button, it will ask on
prem serve details(i.e source database details ) as showed in
the below screen shot .

Click on connect , select database names that you want to


migrate and then click on add button .
Please note that if want to select multiple databases you can
select .

Once you click on add , it will show as screen below .


Please click on assessment button to start assessment.
The following step-by-step instructions help you perform your
first assessment for migrating to on-premises SQL Server, SQL
Server running on an Azure VM, or Azure SQL Database by
using Data Migration Assistant.
Click on save assessment .
Below are the task to perform mainly.

1. Once the assessment completed, and then switch


between Compatibility issues and Feature
recommendations by using the switcher.

2. Review the compatibility issues across all compatibility


levels supported by the target SQL Server version that you
selected on the Options page.

Will get know all the compatibility issues and features with
assessment project.
Please visit below link for more details
https://docs.microsoft.com/en-us/sql/dma/dma-assesssqlonprem?view=sql-server-ver15

Data Migration:
Step1
Click on + button and create data Migration project by giving
name, in the pop up window here has to specify project type
and source type and target type other details.
And click on create button, it move to next window as see in
the below.
Step:2
Please provide the source data base details that is onPrem
database details.
Step3 :
Here providing the target data base details in this window .

You might also like