You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
19
19
20
20
[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.
21
21
@@ -86,22 +86,27 @@ After LRS is stopped, either automatically through autocomplete, or manually thr
86
86
- Shared access signature (SAS) security token with read and list permissions generated for the Blob Storage container
87
87
88
88
### Azure RBAC permissions
89
+
89
90
Running LRS through the provided clients requires one of the following Azure roles:
90
91
- Subscription Owner role
91
92
-[Managed Instance Contributor](../../role-based-access-control/built-in-roles.md#sql-managed-instance-contributor) role
92
93
- Custom role with the following permission: `Microsoft.Sql/managedInstances/databases/*`
93
94
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
+
94
103
## Best practices
95
104
96
105
We recommend the following best practices:
97
106
- Run [Data Migration Assistant](/sql/dma/dma-overview) to validate that your databases are ready to be migrated to SQL Managed Instance.
98
107
- 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.
103
109
- 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.
105
110
106
111
> [!IMPORTANT]
107
112
> - You can't use databases being restored through LRS until the migration process completes.
@@ -257,12 +262,12 @@ Copy the parameters as follows:
257
262
258
263
:::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.":::
259
264
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.
261
266
262
267
:::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.":::
263
268
264
269
> [!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.
0 commit comments