How To Migrate Onprem SQL Server Data To AzureSql Database
How To Migrate Onprem SQL Server Data To AzureSql Database
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.
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 .
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 .