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
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/log-replay-service-migrate.md
+2-20Lines changed: 2 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Make sure that you meet the following requirements for SQL Server:
42
42
- A log backup (not split for a transaction log file).
43
43
- For SQL Server versions 2008 to 2016, take a backup locally and [manually upload](#copy-existing-backups-to-your-blob-storage-account) it to your Azure Blob Storage account.
44
44
- For SQL Server 2016 and later, you can [take your backup directly](#take-backups-directly-to-your-blob-storage-account) to your Azure Blob Storage account.
45
-
- For SQL Server 2022, you can choose to use a managed identity instead of a shared access signature (SAS) token to authenticate to your Azure Blob Storage account.
45
+
46
46
47
47
48
48
Although having `CHECKSUM` enabled for backups isn't required, we highly recommend it for faster restore operations.
@@ -314,11 +314,7 @@ After your backups are ready, and you want to start migrating databases to a man
314
314
315
315
If you're on a supported version of SQL Server (starting with SQL Server 2012 SP1 CU2 and SQL Server 2014), and your corporate and network policies allow it, you can take backups from SQL Server directly to your Blob Storage account by using the native SQL Server [BACKUP TO URL](/sql/relational-databases/backup-restore/sql-server-backup-to-url) option. If you can use `BACKUP TO URL`, you don't need to take backups to local storage and upload them to your Blob Storage account.
316
316
317
-
When you take native backups directly to your Blob Storage account, you have to authenticate to the storage account. You can do so by using a SAS token or, if you're on SQL Server 2022, you can also use a managed identity.
318
-
319
-
320
-
321
-
### [SAS token](#tab/sas-token)
317
+
When you take native backups directly to your Blob Storage account, you have to authenticate to the storage account.
322
318
323
319
Use the following command to create a credential that imports the SAS token to your SQL Server instance:
324
320
@@ -331,20 +327,6 @@ SECRET = '<SAS_TOKEN>';
331
327
For detailed instructions working with SAS tokens, review the tutorial [Use Azure Blob Storage with SQL Server](/sql/relational-databases/tutorial-use-azure-blob-storage-service-with-sql-server-2016#1---create-stored-access-policy-and-shared-access-storage).
332
328
333
329
334
-
335
-
### [Managed identity](#tab/managed-identity)
336
-
337
-
SQL Server 2022 has added support for managed identities. If you're on SQL Server 2022, you can authenticate to your storage account by using a managed identity.
338
-
339
-
Use the following command to create a credential that uses the managed identity on your SQL Server instance:
After you've created the credential to authenticate your SQL Server instance with Blob Storage, you can use the [BACKUP TO URL](/sql/relational-databases/backup-restore/sql-server-backup-to-url) command to take backups directly to the storage account. `CHECKSUM` is recommended, but not required.
0 commit comments