Skip to content

Commit af63e0d

Browse files
authored
Merge pull request #184054 from danimir/master
Update to LRS
2 parents 0a5d878 + 9e7cacf commit af63e0d

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

articles/azure-sql/managed-instance/log-replay-service-migrate.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ ms.topic: how-to
99
author: danimir
1010
ms.author: danil
1111
ms.reviewer: mathoma
12-
ms.date: 12/20/2021
12+
ms.date: 01/04/2022
1313
---
1414

1515
# Migrate databases from SQL Server to SQL Managed Instance by using Log Replay Service (Preview)
1616
[!INCLUDE[appliesto-sqlmi](../includes/appliesto-sqlmi.md)]
1717

18-
This article explains how to manually configure database migration from SQL Server 2008-2019 to Azure SQL Managed Instance by using Log Replay Service (LRS), currently in public preview. LRS is a cloud service enabled for SQL Managed Instance based on SQL Server log-shipping technology.
18+
This article explains how to manually configure database migration from SQL Server 2008-2019 to Azure SQL Managed Instance by using Log Replay Service (LRS), currently in public preview. LRS is a free of charge cloud service enabled for SQL Managed Instance based on SQL Server log-shipping technology.
1919

2020
[Azure Database Migration Service](../../dms/tutorial-sql-server-to-managed-instance.md) and LRS use the same underlying migration technology and the same APIs. By releasing LRS, we're further enabling complex custom migrations and hybrid architectures between on-premises SQL Server and SQL Managed Instance.
2121

@@ -86,22 +86,27 @@ After LRS is stopped, either automatically through autocomplete, or manually thr
8686
- Shared access signature (SAS) security token with read and list permissions generated for the Blob Storage container
8787

8888
### Azure RBAC permissions
89+
8990
Running LRS through the provided clients requires one of the following Azure roles:
9091
- Subscription Owner role
9192
- [Managed Instance Contributor](../../role-based-access-control/built-in-roles.md#sql-managed-instance-contributor) role
9293
- Custom role with the following permission: `Microsoft.Sql/managedInstances/databases/*`
9394

95+
## Requirements
96+
97+
Please ensure the following requirements are met:
98+
- Use the full recovery model on SQL Server (mandatory).
99+
- Use `CHECKSUM` for backups on SQL Server (mandatory).
100+
- Place backup files for an individual database inside a separate folder in a flat-file structure (mandatory). Nested folders inside database folders are not supported.
101+
- Plan to complete the migration within 36 hours after you start LRS (mandatory). This is a grace period during which system-managed software patches are postponed.
102+
94103
## Best practices
95104

96105
We recommend the following best practices:
97106
- Run [Data Migration Assistant](/sql/dma/dma-overview) to validate that your databases are ready to be migrated to SQL Managed Instance.
98107
- Split full and differential backups into multiple files, instead of using a single file.
99-
- Use the full recovery model (mandatory).
100-
- Use `CHECKSUM` for backups (mandatory).
101-
- Enable backup compression.
102-
- Place backup files for an individual database inside a separate folder. Use flat-file structure as nested folders are not supported.
108+
- Enable backup compression to help the network transfer speeds.
103109
- Use Cloud Shell to run PowerShell or CLI scripts, because it will always be updated to the latest cmdlets released.
104-
- Plan to complete the migration within 36 hours after you start LRS. This is a grace period during which system-managed software patches are postponed.
105110

106111
> [!IMPORTANT]
107112
> - You can't use databases being restored through LRS until the migration process completes.
@@ -257,12 +262,12 @@ Copy the parameters as follows:
257262

258263
:::image type="content" source="./media/log-replay-service-migrate/lrs-token-uri-copy-part-01.png" alt-text="Screenshot that shows copying the first part of the token.":::
259264

260-
2. Copy the second part of the token, starting from the question mark (`?`) all the way until the end of the string. Use it as the `StorageContainerSasToken` parameter in PowerShell or the Azure CLI for starting LRS.
265+
2. Copy the second part of the token, starting after the question mark (`?`) all the way until the end of the string. Use it as the `StorageContainerSasToken` parameter in PowerShell or the Azure CLI for starting LRS.
261266

262267
:::image type="content" source="./media/log-replay-service-migrate/lrs-token-uri-copy-part-02.png" alt-text="Screenshot that shows copying the second part of the token.":::
263268

264269
> [!NOTE]
265-
> Don't include the question mark when you copy either part of the token.
270+
> Don't include the question mark (`?`) when you copy either part of the token.
266271
>
267272
268273
### Log in to Azure and select a subscription

0 commit comments

Comments
 (0)