Skip to content

Commit 85d081d

Browse files
author
AbhishekMallick01
committed
Freshness - Soft delete data on DB
1 parent 4ec254a commit 85d081d

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

articles/backup/soft-delete-sql-saphana-in-azure-vm.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,30 @@
22
title: Soft delete for SQL server in Azure VM and SAP HANA in Azure VM workloads
33
description: Learn how soft delete for SQL server in Azure VM and SAP HANA in Azure VM workloads makes backups more secure.
44
ms.topic: how-to
5-
ms.date: 01/04/2024
5+
ms.date: 01/31/2025
66
ms.custom: devx-track-azurepowershell, engagement-fy24
77
author: jyothisuri
88
ms.author: jsuri
99
---
10-
# Soft delete for SQL server in Azure VM and SAP HANA in Azure VM workloads
10+
# Soft delete backups for SQL server in Azure VM and SAP HANA in Azure VM workloads
11+
12+
This article describes how to soft-delete backups for SQL server in Azure VM and SAP HANA in Azure VM workloads.
1113

1214
Azure Backup now provides soft delete for SQL server in Azure VM and SAP HANA in Azure VM workloads. This is in addition to the already supported [Azure Virtual machine soft delete scenario](soft-delete-virtual-machines.md).
1315

1416
[Soft delete](backup-azure-security-feature-cloud.md) is a security feature to help protect backup data even after deletion. With soft delete, even if a malicious actor deletes the backup of a database (or backup data is accidentally deleted), the backup data is retained for 14 additional days. This allows the recovery of that backup item with no data loss. This additional retention of 14 days of the backup data in the "soft delete" state doesn’t incur any cost to the customer.
1517

16-
## Soft delete for SQL server in Azure VM using Azure portal
18+
## Soft delete backups
1719

1820
>[!NOTE]
1921
>These instructions also apply to SAP HANA in Azure VM.
2022
23+
**Choose a client**:
24+
25+
# [Azure portal](#tab/azure-portal)
26+
27+
To perform soft delete operation on the database, follow these steps:
28+
2129
1. To delete the backup data of a database in a SQL server, the backup must be stopped. In the Azure portal, go to your Recovery Services vault, go to the backup item, and choose **Stop backup**.
2230

2331
![Stop backup](./media/soft-delete-sql-saphana-in-azure-vm/stop-backup.png)
@@ -34,7 +42,7 @@ Azure Backup now provides soft delete for SQL server in Azure VM and SAP HANA in
3442

3543
![Undelete database](./media/soft-delete-sql-saphana-in-azure-vm/undelete-database.png)
3644

37-
A window will appear warning that if undelete is chosen, all restore points for the database will be undeleted and available for performing a restore operation. The backup item will be retained in a “stop protection with retain data” state with backups paused and backup data retained forever with no backup policy effective.
45+
A window with warning appears that says if undelete is chosen, all restore points for the database are undeleted and available for performing a restore operation. The backup item will be retained in a “stop protection with retain data” state with backups paused and backup data retained forever with no backup policy effective.
3846

3947
![Undelete warning](./media/soft-delete-sql-saphana-in-azure-vm/undelete-warning.png)
4048

@@ -46,7 +54,7 @@ Azure Backup now provides soft delete for SQL server in Azure VM and SAP HANA in
4654

4755
![Resume backup](./media/soft-delete-sql-saphana-in-azure-vm/resume-backup.png)
4856

49-
## Soft delete for SQL server in VM using Azure PowerShell
57+
# [Azure PowerShell](#tab/azure-powershell)
5058

5159
>[!NOTE]
5260
>The Az.RecoveryServices version required to use soft-delete using Azure PowerShell is minimum 2.2.0. Use `Install-Module -Name Az.RecoveryServices -Force` to get the latest version.
@@ -81,7 +89,9 @@ Undo-AzRecoveryServicesBackupItemDeletion -Item $myBKpItem -VaultId $myVaultID -
8189

8290
The **DeleteState** of the backup item will revert to **NotDeleted**. But the protection is still stopped. Resume the backup to re-enable the protection.
8391

84-
## How to disable soft delete
92+
---
93+
94+
## Disable soft delete
8595

8696
Disabling this feature isn't recommended. The only circumstance where you should consider disabling soft delete is if you're planning on moving your protected items to a new vault, and can't wait the 14 days required before deleting and reprotecting (such as in a test environment.) For instructions on how to disable soft delete, see [Enabling and disabling soft delete](backup-azure-security-feature-cloud.md#enable-and-disable-soft-delete).
8797

0 commit comments

Comments
 (0)