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/automated-backups-change-settings.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
title: Change automated backup settings
3
3
titleSuffix: Azure SQL Managed Instance
4
4
description: Change point-in-time restore and backup redundancy options for automatic backups in Azure SQL Managed Instance by using the Azure portal, the Azure CLI, Azure PowerShell, and the REST API.
5
-
author: Stralle
6
-
ms.author: strrodic
7
-
ms.reviewer: wiassaf, mathoma, danil
8
-
ms.date: 07/20/2022
5
+
author: dinethi
6
+
ms.author: dinethi
7
+
ms.reviewer: wiassaf, mathoma, strrodic, mlandzic
8
+
ms.date: 07/08/2025
9
9
ms.service: azure-sql-managed-instance
10
10
ms.subservice: backup-restore
11
11
ms.topic: how-to
@@ -82,6 +82,7 @@ az sql midb short-term-retention-policy set \
82
82
--retention-days 1 \
83
83
```
84
84
85
+
For more information, see the [Backup retention Azure CLI command](/cli/azure/sql/midb/short-term-retention-policy).
Zero days of retention would denote that a backup is immediately deleted and no longer kept for a deleted database. After you reduce PITR backup retention for a deleted database, you can no longer increase it.
121
122
123
+
For more information, see the [Backup retention PowerShell command](/powershell/module/az.sql/set-azsqlinstancedatabasebackupshorttermretentionpolicy).
124
+
122
125
### [Rest API](#tab/rest-api)
123
126
124
127
#### Sample request
125
128
126
129
```http
127
-
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/servers/testserver/databases/testDatabase/backupShortTermRetentionPolicies/default?api-version=2017-10-01-preview
130
+
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup/providers/Microsoft.Sql/managedInstances/testManagedInstance/databases/testDatabase/backupShortTermRetentionPolicies/default?api-version=2017-10-01-preview
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/doc-changes-updates-known-issues.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ This article lists the currently known issues with [Azure SQL Managed Instance](
22
22
23
23
| Issue | Date discovered | Status | Date resolved |
24
24
| --- | --- | --- | --- |
25
+
|[Modifying backup retention period for the free offer](#modifying-backup-retention-period-for-the-free-offer)| June 2025 | Has workaround ||
25
26
|[Login to read-secondary failed due to long wait on "HADR_DATABASE_WAIT_FOR_TRANSITION_TO_VERSIONING"](#login-to-read-secondary-failed-due-to-long-wait-on-hadr_database_wait_for_transition_to_versioning)| April 2025 | Has workaround ||
26
27
|[Interim guidance on 2024 time zone updates for Paraguay](#interim-guidance-on-2024-time-zone-updates-for-paraguay)| March 2025 | Has workaround ||
27
28
|[Error 8992 when running DBCC CHECKDB on a SQL Server database that originated from SQL Managed Instance](#error-8992-when-running-dbcc-checkdb-on-a-sql-server-database-that-originated-from-sql-managed-instance)| March 2025 | Has workaround ||
@@ -69,6 +70,10 @@ This article lists the currently known issues with [Azure SQL Managed Instance](
69
70
70
71
## Has workaround
71
72
73
+
### Modifying backup retention period for the free offer
74
+
75
+
You can only modify the backup retention policy of your databases in the free SQL managed instance by using [REST API](/rest/api/sql/managed-backup-short-term-retention-policies), [PowerShell](/powershell/module/az.sql/set-azsqlinstancedatabasebackupshorttermretentionpolicy) and [Azure CLI](/cli/azure/sql/midb/short-term-retention-policy) commands. It's not possible to modify the backup retention policy through the [Azure portal](https://portal.azure.com).
76
+
72
77
### Login to read-secondary failed due to long wait on "HADR_DATABASE_WAIT_FOR_TRANSITION_TO_VERSIONING"
73
78
74
79
You might see this error as an exception for the **Microsoft OLE DB Driver 19 for SQL Server** driver when you try to connect to a read-only secondary replica of a [failover group](failover-group-sql-mi.md), or a database replicated through the [Managed Instance link](managed-instance-link-feature-overview.md).
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new-archive.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Return to [What's new in Azure SQL Managed Instance?](doc-changes-updates-releas
27
27
28
28
| Changes | Month | Details |
29
29
| --- | --- | --- |
30
-
|**Free instance offer updates**| November | The free offer has a few new updates, such as dramatically simplifying the upgrade of your free instance to a paid version, and viewing how many free vCore hours remain for the month. Additionally, the free offer is now available in another nine subscription types. This feature is still in preview. Review [Free offer](free-offer.md#whats-new) to learn more. |
30
+
|**Free instance offer updates**| November | The free offer has a few new updates, such as dramatically simplifying the upgrade of your free instance to a paid version, and viewing how many free vCore hours remain for the month. Additionally, the free offer is now available in another nine subscription types. This feature is still in preview. Review [Free offer](free-offer.md) to learn more. |
31
31
|**Instance pools GA**| November | Save on costs and share resources between multiple instances in a pool within a single virtual machine. A convenient and cost-efficient way to migrate smaller SQL Server instances to the cloud, and the only way to deploy a 2-vCore managed instance. And now, with [reservations support](../database/reservations-discount-overview.md), you can save significantly more on your compute by allocating your reservations to an instance pool. Instance pools are now generally available. Review [Instance pools](instance-pools-overview.md) to learn more. |
32
32
|**Fail over a link with T-SQL GA**| October | You can now fail over a [Managed Instance link](managed-instance-link-feature-overview.md) by using Transact-SQL (T-SQL) commands. This feature is now generally available. Review [Fail over a link with T-SQL](managed-instance-link-failover-how-to.md?tabs=tsql#fail-over-a-database) to learn more. |
33
33
|**Link from SQL MI to SQL Server GA**| October | Configure a link *from* Azure SQL Managed Instance to SQL Server 2022. This feature is now generally available. Review [Link from SQL MI to SQL Server](managed-instance-link-feature-overview.md) to learn more. |
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ Learn about significant changes to the Azure SQL Managed Instance documentation.
146
146
147
147
| Changes | Details |
148
148
| --- | --- |
149
-
|**Free instance offer updates**| The free offer has a few new updates, such as dramatically simplifying the upgrade of your free instance to a paid version, and viewing how many free vCore hours remain for the month. Additionally, the free offer is now available in another nine subscription types. This feature is still in preview. Review [Free offer](free-offer.md#whats-new) to learn more. |
149
+
|**Free instance offer updates**| The free offer has a few new updates, such as dramatically simplifying the upgrade of your free instance to a paid version, and viewing how many free vCore hours remain for the month. Additionally, the free offer is now available in another nine subscription types. This feature is still in preview. Review [Free offer](free-offer.md) to learn more. |
150
150
|**Instance pools GA**| Save on costs and share resources between multiple instances in a pool within a single virtual machine. A convenient and cost-efficient way to migrate smaller SQL Server instances to the cloud, and the only way to deploy a 2-vCore managed instance. And now, with [reservations support](../database/reservations-discount-overview.md), you can save significantly more on your compute by allocating your reservations to an instance pool. Instance pools are now generally available. Review [Instance pools](instance-pools-overview.md) to learn more. |
151
151
|**Microsoft Entra nonunique name support GA**| The [CREATE USER](/sql/t-sql/statements/create-user-transact-sql) Transact-SQL (T-SQL) syntax has been extended to include `WITH OBJECT_ID` to support creating Microsoft Entra logins and users in Azure SQL Managed Instance that have nonunique names. This feature is now generally available. For more information, see [Microsoft Entra nonunique name support](../database/authentication-microsoft-entra-create-users-with-nonunique-names.md). |
0 commit comments