Skip to content

Commit 4fedba8

Browse files
Merge pull request #264090 from AbhishekMallick-MS/Jan-24-2024-SAP
Freshness - SAP HANA DB backup file name and parameter updates
2 parents 29e1904 + 7eb2950 commit 4fedba8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

articles/backup/tutorial-backup-sap-hana-db.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
title: Tutorial - Back up SAP HANA databases in Azure VMs
33
description: In this tutorial, learn how to back up SAP HANA databases running on Azure VM to an Azure Backup Recovery Services vault.
44
ms.topic: tutorial
5-
ms.date: 05/16/2022
5+
ms.date: 01/24/2024
66
ms.service: backup
7+
ms.custom: engagement-fy24
78
author: AbhishekMallick-MS
89
ms.author: v-abhmallick
910
---
@@ -41,13 +42,13 @@ Make sure you do the following before configuring backups:
4142
4243
## Understanding backup and restore throughput performance
4344

44-
The backups (log and non-log) in SAP HANA Azure VMs provided via Backint are streams to Azure Recovery Services vaults (which internally use Azure Storage Blob) and so it is important to understand this streaming methodology.
45+
The backups (log and non-log) in SAP HANA Azure VMs provided via Backint are streams to Azure Recovery Services vaults (which internally use Azure Storage Blob) and so it's important to understand this streaming methodology.
4546

4647
The Backint component of HANA provides the 'pipes' (a pipe to read from and a pipe to write into), connected to underlying disks where database files reside, which are then read by the Azure Backup service and transported to Azure Recovery Services vault, which is a remote Azure Storage Account. The Azure Backup service also performs a checksum to validate the streams, in addition to the Backint native validation checks. These validations will make sure that the data present in Azure Recovery Services vault is indeed reliable and recoverable.
4748

4849
Since the streams primarily deal with disks, you need to understand the disk performance for read and network performance to transfer backup data to gauge the backup and restore performance. Refer to [this article](../virtual-machines/disks-performance.md) for an in-depth understanding of disk/network throughput and performance in Azure VMs. These are also applicable to backup and restore performance.
4950

50-
**The Azure Backup service attempts to achieve upto ~420 MBps for non-log backups (such as full, differential and incremental) and upto 100 MBps for log backups for HANA**. As mentioned above, these are not guaranteed speeds and depend on following factors:
51+
**The Azure Backup service attempts to achieve upto ~420 MBps for non-log backups (such as full, differential and incremental) and upto 100 MBps for log backups for HANA**. As mentioned above, these aren't guaranteed speeds and depend on following factors:
5152

5253
- Maximum Uncached disk throughput of the VM – read from data or log area.
5354
- Underlying disk type and its throughput – read from data or log area.
@@ -63,24 +64,27 @@ Since the streams primarily deal with disks, you need to understand the disk per
6364
If you want to throttle backup service disk IOPS consumption to a maximum value, then perform the following steps.
6465

6566
1. Go to the "opt/msawb/bin" folder
66-
2. Create a new JSON file named "ExtensionSettingOverrides.JSON"
67+
2. Create a new JSON file named "ExtensionSettingsOverrides.JSON"
6768
3. Add a key-value pair to the JSON file as follows:
6869

6970
```json
7071
{
71-
"MaxUsableVMThroughputInMBPS": 200
72+
"MaxUsableVMThroughputInMBPS": 120
7273
}
7374
```
7475

7576
4. Change the permissions and ownership of the file as follows:
7677

7778
```bash
78-
chmod 750 ExtensionSettingOverrides.json
79-
chown root:msawb ExtensionSettingOverrides.json
79+
chmod 750 ExtensionSettingsOverrides.json
80+
chown root:msawb ExtensionSettingsOverrides.json
8081
```
8182

8283
5. No restart of any service is required. The Azure Backup service will attempt to limit the throughput performance as mentioned in this file.
8384

85+
>[!Note]
86+
> If the changes aren't applied, restart the databases.
87+
8488
## What the pre-registration script does
8589

8690
Running the pre-registration script performs the following functions:
@@ -93,7 +97,7 @@ Running the pre-registration script performs the following functions:
9397
* For MDC: DATABASE ADMIN and BACKUP ADMIN (from HANA 2.0 SPS05 onwards): to create new databases during restore.
9498
* For SDC: BACKUP ADMIN: to create new databases during restore.
9599
* CATALOG READ: to read the backup catalog.
96-
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables. Only required for SDC and MDC versions below HANA 2.0 SPS04 Rev 46. This is not required for HANA 2.0 SPS04 Rev 46 and above since we are getting the required information from public tables now with the fix from HANA team.
100+
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables. Only required for SDC and MDC versions below HANA 2.0 SPS04 Rev 46. This isn't required for HANA 2.0 SPS04 Rev 46 and above since we're getting the required information from public tables now with the fix from HANA team.
97101
* The script adds a key to **hdbuserstore** for AZUREWLBACKUPHANAUSER for the HANA backup plug-in to handle all operations (database queries, restore operations, configuring and running backup).
98102
* Alternatively, you could choose to create your own custom Backup user. Ensure that this user is assigned the following required roles and permissions:
99103
* For MDC: DATABASE ADMIN and BACKUP ADMIN (from HANA 2.0 SPS05 onwards): to create new databases during restore.

0 commit comments

Comments
 (0)