Skip to content

Commit 132fd07

Browse files
Merge pull request #26064 from MicrosoftDocs/MashaMSFT-patch-2
removing managed identity for backup to url
2 parents cb56827 + acc3efd commit 132fd07

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Make sure that you meet the following requirements for SQL Server:
4242
- A log backup (not split for a transaction log file).
4343
- 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.
4444
- 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+
4646

4747

4848
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
314314

315315
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.
316316

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.
322318

323319
Use the following command to create a credential that imports the SAS token to your SQL Server instance:
324320

@@ -331,20 +327,6 @@ SECRET = '<SAS_TOKEN>';
331327
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).
332328

333329

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:
340-
341-
```sql
342-
CREATE CREDENTIAL [https://<mystorageaccountname>.blob.core.windows.net/<containername>]
343-
WITH IDENTITY = 'MANAGED IDENTITY'
344-
```
345-
346-
---
347-
348330
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.
349331

350332

0 commit comments

Comments
 (0)