patternsqlMinor
Is it possible to log ship from on-premise SQL server to Azure SQL Managed Instance?
Viewed 0 times
managedlogsqlinstancepossibleazureserverfrompremiseship
Problem
From the docs, it would seem that restoring a full database backup file is possible, but can one also restore transaction logs?
(the idea is to minimize downtime in a migration from on-prem to MI).
Thanks.
(the idea is to minimize downtime in a migration from on-prem to MI).
Thanks.
Solution
I work in the SQL Managed Instance Product Group. We have now (Feb 2021) enabled log shipping as a part of an external service called Log Replay Service (LRS). The reason we could not enable log shipping directly from T-SQL was due to security concerns.
The LRS service when invoked will execute the log-shipping in
Migrate databases from SQL Server to SQL Managed Instance by using Log Replay Service (Preview).
DMS and LRS are both the same tech using log shipping to move data to Managed Instance. Here are the differences between DMS and LRS for your migration options:
difference between two migration options (DMS and LRS) is that you
would use DMS as an easy to use migration with no experience
required. DMS is basically tooling built on top of LRS that simplifies the
things for you in just a few clicks.
DMS (for various technical reasons, such as for example cannot run
could use LRS yourself with PowerShell and CLI commands to manually orchestrate log shipping to Managed Instance.
The LRS service when invoked will execute the log-shipping in
NORECOVERY mode behind the scenes on Managed Instance. More about this release in the documentation:Migrate databases from SQL Server to SQL Managed Instance by using Log Replay Service (Preview).
DMS and LRS are both the same tech using log shipping to move data to Managed Instance. Here are the differences between DMS and LRS for your migration options:
- Azure DMS is using LRS (log shipping) behind the scenes. The
difference between two migration options (DMS and LRS) is that you
would use DMS as an easy to use migration with no experience
required. DMS is basically tooling built on top of LRS that simplifies the
things for you in just a few clicks.
- On the other hand, if you want full customization and control of your log-shipping migration experience, and in case you cannot use
DMS (for various technical reasons, such as for example cannot run
.exe locally, no admin permissions, or cannot open network ports), youcould use LRS yourself with PowerShell and CLI commands to manually orchestrate log shipping to Managed Instance.
Context
StackExchange Database Administrators Q#232332, answer score: 6
Revisions (0)
No revisions yet.