Migrating SQL Server DB from On-Premises to AZURE SQL
  1. Anasayfa
  2. SQL Server

Migrating SQL Server DB from On-Premises to AZURE SQL

0

In this article we will discuss about migrating a SQL Server database from On-Premises to AZURE SQL.

We will discuss about:

1- Creating SQL Server on AZURE, Azure SQL Database is a fully managed platform as a service (PaaS) database engine that handles most of the database management functions such as upgrading, patching, backups, and monitoring without user involvement. Azure SQL Database is always running on the latest stable version of the SQL Server database engine and patched OS with 99.99% availability. PaaS capabilities that are built into Azure SQL Database enable you to focus on the domain-specific database administration and optimization activities that are critical for your business.

2- Using Microsoft Data migration assistant for assessing and migrating On-Premises database to AZURE, DMA helps you upgrade to a modern data platform by detecting compatibility issues that can impact database functionality in your new version of SQL Server or Azure SQL Database. DMA recommends performance and reliability improvements for your target environment and allows you to move your schema, data, and uncontained objects from your source server to your target server.

You can download it from the following link: https://www.microsoft.com/download/details.aspx?id=53595

Now let us go through the steps:

  1. Create SQL Server, from Azure portal search for and choose SQL Server

  1. Click on create SQL Server

  1. Fell the requested details then click Next: Networking

  1. Choose to allow Azure services and resources to access this server then click Review + Create

  1. Review settings then click create

  1. Wait for the deployment to complete then go to your resource

  1. On the left pane click on Firewalls and virtual Networks

 

  1. Click Add client IP, then click save

  1. Test connectivity from SQL Management studio to the database from your client

  1. From SQL Management Studio, create new empty database on AZURE SQL server that we can migrate our database to it.

  1. Download and Install Microsoft Data Migration Assistant to Assess your local database to confirm compatibility with AZURE SQL

  1. Click New and enter project name and select source and destination then click create

  1. Accept defaults and click Next

 

14. Connect to local server

  1. Add source database to assess

  1. Click start Assessment

17.

  1. Click save assessment

  1. Now click on the + Icon and choose new migration

  1. Choose source server and click connect then click Next

  1. Connect to AZURE SQL Server and click connect

  1. Choose destination database then click next

  1. Choose objects you want to migrate then click Generate SQL Script

  1. Click deploy schema

  1. Click Migrate Data

  1. Click Start data migration

 

  1. Connect from SQL Management Studio to AZURE SQL Database to validate table creation

References

https://azure.microsoft.com/en-us/products/azure-sql/#product-overview

https://www.microsoft.com/en-us/download/confirmation.aspx?id=53595

https://docs.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver15

https://docs.microsoft.com/en-us/azure/azure-sql/database/sql-database-paas-overview

TAGs: azure SQL , SQL server, SQL server db migration to Azure SQL , azure SQL server databases

Bu İçeriğe Tepkin Ne Oldu?
  • 0
    harika_
    Harika!!
  • 0
    be_enmedim
    Beğenmedim
  • 0
    _ok_iyi
    Çok iyi
  • 0
    sevdim_
    Sevdim!
  • 0
    bilemedim_
    Bilemedim!
  • 2
    olmad_
    Olmadı!
  • 0
    k_zd_m_
    Kızdım!

In 2001 Mohamed Farouk graduated from Sadat academy for management science (Major Computer Sciences) in egypt. Mohamed is determined and solutions-focused information technology professional with a career progression that spans 18+ years and includes experience in the configuration, installation, upgrades, security, maintenance, integration, support, and monitoring of business-critical applications, databases, systems for SQL Server, Oracle and Microsoft Azure environments. As an experienced Project Leader committed to maintaining cutting edge AZURE technical skills and up-to-date industry knowledge, gifted with strong design skills and superb attitude when working independently or with a team of experts.

Yazarın Profili

Bültenimize Katılın

Tıklayın, üyemiz olun ve yeni güncellemelerden haberdar olan ilk kişi siz olun.

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir