Skip to content

Commit 44de32b

Browse files
SQL - On-demand backup and retention of types of on-demand backups
1 parent 3520169 commit 44de32b

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

articles/backup/backup-azure-sql-backup-cli.md

Lines changed: 7 additions & 2 deletions
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 CLI
33
description: Learn how to use CLI to back up SQL server databases in Azure VMs in the Recovery Services vault.
44
ms.topic: how-to
5-
ms.date: 07/07/2022
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -168,7 +168,12 @@ az backup protection auto-enable-for-azurewl --resource-group SQLResourceGroup \
168168
To trigger an on-demand backup, use the [az backup protection backup-now](/cli/azure/backup/protection#az-backup-protection-backup-now) command.
169169

170170
>[!NOTE]
171-
>The retention policy of an on-demand backup is determined by the underlying retention policy for the database.
171+
>The retention period of this backup is determined by the type of on-demand backup you have run.
172+
>
173+
>- *On-demand full* retains backups for a minimum of *45 days* and a maximum of *99 years*.
174+
>- *On-demand copy only full* accepts any v0alue for retaintion.
175+
>- *On-demand differential* retains backup as per the retention of scheduled differentials set in policy.
176+
>- *On-demand log* retains backups as per the retention of scheduled logs set in policy.
172177
173178
```azurecli-interactive
174179
az backup protection backup-now --resource-group SQLResourceGroup \

articles/backup/backup-azure-sql-manage-cli.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 using Azure Backup via CLI
33
description: Learn how to use CLI to manage SQL server databases in Azure VMs in the Recovery Services vault.
44
ms.topic: how-to
5-
ms.date: 07/07/2022
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -32,6 +32,9 @@ If you've used [Back up an SQL database in Azure using CLI](backup-azure-sql-bac
3232

3333
Azure CLI eases the process of managing an SQL database running on an Azure VM that's backed-up using Azure Backup. The following sections describe each of the management operations.
3434

35+
>[!Note]
36+
>See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
37+
3538
## Monitor backup and restore jobs
3639

3740
Use the [az backup job list](/cli/azure/backup/job#az-backup-job-list) command to monitor completed or currently running jobs (backup or restore). CLI also allows you to [suspend a currently running job](/cli/azure/backup/job#az-backup-job-stop) or [wait until a job completes](/cli/azure/backup/job#az-backup-job-wait).

articles/backup/backup-azure-sql-restore-cli.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Restore SQL server databases in Azure VMs using Azure Backup via CLI
33
description: Learn how to use CLI to restore SQL server databases in Azure VMs in the Recovery Services vault.
44
ms.topic: how-to
5-
ms.date: 07/15/2022
5+
ms.date: 08/11/2022
66
author: v-amallick
77
ms.service: backup
88
ms.author: v-amallick
@@ -29,6 +29,9 @@ This article assumes you've an SQL database running on Azure VM that's backed-up
2929
* Backed-up database/item named *sqldatabase;mssqlserver;master*
3030
* Resources in the *westus2* region
3131

32+
>[!Note]
33+
>See the [SQL backup support matrix](sql-support-matrix.md) to know more about the supported configurations and scenarios.
34+
3235
## View restore points for a backed-up database
3336

3437
To view the list of all recovery points for a database, use the [az backup recoverypoint list](/cli/azure/backup/recoverypoint#az-backup-recoverypoint-show-log-chain) command as:
@@ -256,6 +259,8 @@ Name Operation Status Item Name
256259
------------------------------------ ------------------ ---------- ------------------------- ------------------------ -------------------------------- --------------
257260
0d863259-b0fb-4935-8736-802c6667200b CrossRegionRestore InProgress master [testSQLVM] AzureWorkload 2022-06-21T08:29:24.919138+00:00 0:00:12.372421
258261
```
262+
>[!Note]
263+
>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).
259264
260265
## Restore as files
261266

0 commit comments

Comments
 (0)