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

17) SQL DB Migration

This document discusses different types of migrations including data, Active Directory users, SQL databases, and virtual machines. It then provides step-by-step instructions for migrating an SQL database from an on-premise server to Azure and vice versa. It also notes that the same concept can be used to migrate a SQL database between different versions.

Uploaded by

hanuman challisa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

17) SQL DB Migration

This document discusses different types of migrations including data, Active Directory users, SQL databases, and virtual machines. It then provides step-by-step instructions for migrating an SQL database from an on-premise server to Azure and vice versa. It also notes that the same concept can be used to migrate a SQL database between different versions.

Uploaded by

hanuman challisa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Migration Types

1) Data Migration: Possible through File share or


container
2) AD Users Migration: Through AD connect
3) SQL DB Migration :
4) VM migration:
SQL DB Migration ( On premise to Cloud)

1) Install SQL server 2019 in on premise server


2) Open it –connect to local server –create DB(deepaklocaldb1) –create some tables
3) RC on DB- task –Export data tier application –next—save to local disk – select
path and save
4)In azure create sql db –create server –after creation delete sql db
5) In azure –open SQL server –firewall –add client IP –save
6) In on premise server –log on to SSMS using azure sql server credential—
Now azure DB showing here –Expand and RC on DB –Import data tier application—
Next –import from local disk – browse and select saved local db
-- change max db size :1gb --and service objective : S0 –next finish
7) Now go to Azure –SQL DB --- check a new database created here
SQL DB Migration (Cloud to On premise)

1) In azure create sql db –create server –After creating –log on and create some
tables
2) In azure –open SQL server –firewall –add client Ip –save
3) Install SQL server 2019 in on premise server
4) Open it –login with azure sql credential
5) RC on Azure DB- task –Export data tier application –next—save to local disk –
select path and save
6) In on premise server –log on to SSMS using azure sql server credential—
Now local DB showing here –Expand and Rc on DB –Import data tier application—
Next –import from local disk – browse and select saved local db
-- change max db size :1gb --and service objective : S0 –next finish
7) Now check in local Db server – a new database came
SQL DB Migration (One version to another)

Use same Concept

You might also like