Skip to content

Commit 406917e

Browse files
authored
Merge pull request #207718 from v-amallick/Aug-9-2022-HANAnSQL
SQL - On-demand backup and retention of types of on-demand backups
2 parents 1c2573c + 7227ec7 commit 406917e

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

articles/backup/backup-azure-sql-vm-rest-api.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Back up SQL server databases in Azure VMs using Azure Backup via REST API
33
description: Learn how to use REST API to back up SQL server databases in Azure VMs in the Recovery Services vault
44
ms.topic: conceptual
5-
ms.date: 11/30/2021
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -12,6 +12,9 @@ ms.author: v-amallick
1212

1313
This article describes how to back up SQL server databases in Azure VMs using Azure Backup via REST API.
1414

15+
>[!Note]
16+
>See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
17+
1518
## Prerequisites
1619

1720
- A Recovery Services vault
@@ -456,6 +459,14 @@ Once you configure a database for backup, backups run according to the policy sc
456459

457460
Triggering an on-demand backup is a *POST* operation.
458461

462+
>[!Note]
463+
>The retention period of this backup is determined by the type of on-demand backup you have run.
464+
>
465+
>- *On-demand full* retains backups for a minimum of *45 days* and a maximum of *99 years*.
466+
>- *On-demand copy only full* accepts any v0alue for retaintion.
467+
>- *On-demand differential* retains backup as per the retention of scheduled differentials set in policy.
468+
>- *On-demand log* retains backups as per the retention of scheduled logs set in policy.
469+
459470
```http
460471
POST https://management.azure.com/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/backup?api-version=2016-12-01
461472
```

articles/backup/manage-azure-sql-vm-rest-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Manage SQL server databases in Azure VMs with REST API
33
description: Learn how to use REST API to manage and monitor SQL server databases in Azure VM that are backed up by Azure Backup.
44
ms.topic: conceptual
5-
ms.date: 11/29/2021
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -12,6 +12,9 @@ ms.author: v-amallick
1212

1313
This article explains how to manage and monitor the SQL server databases that are backed-up by [Azure Backup](backup-overview.md).
1414

15+
>[!Note]
16+
>See the [SQL backup support matrix](sql-support-matrix.md) to know about the supported configurations and scenarios.
17+
1518
## Monitor jobs
1619

1720
The Azure Backup service triggers jobs that run in the background. This includes scenarios, such as triggering backup, restore operations, and disabling backup. You can track these jobs using their IDs.

articles/backup/restore-azure-sql-vm-rest-api.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Restore SQL server databases in Azure VMs with REST API
33
description: Learn how to use REST API to restore SQL server databases in Azure VM from a restore point created by Azure Backup
44
ms.topic: conceptual
5-
ms.date: 11/30/2021
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -17,6 +17,9 @@ By the end of this article, you'll learn how to perform the following operations
1717
- View the restore points for a backed-up SQL database.
1818
- Restore a full SQL database.
1919

20+
>[!Note]
21+
>See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
22+
2023
## Prerequisites
2124

2225
We assume that you have a backed-up SQL database for restore. If you don’t have one, see [Backup SQL Server databases in Azure VMs using REST API](backup-azure-sql-vm-rest-api.md) to create.
@@ -292,6 +295,9 @@ If you've enabled Cross-region restore, then the recovery points will be replica
292295
1. Choose a target server, which is registered to a vault within the secondary paired region.
293296
1. Trigger restore to that server and track it using *JobId*.
294297

298+
>[!Note]
299+
>The RPO for the backup data to be available in secondary region is 12 hours. Therefore, when you turn on CRR, the RPO for the secondary region is 12 hours + log frequency duration (that can be set to a minimum of 15 minutes).
300+
295301
### Fetch distinct recovery points from the secondary region
296302

297303
Use the [List Recovery Points API](/rest/api/backup/recovery-points-crr/list) to fetch the list of available recovery points for the database in the secondary region. In the following example, an optional filter is applied to fetch full and differential recovery points in a given time range.

0 commit comments

Comments
 (0)