Skip to content

Commit 4f28f0d

Browse files
author
David Curwin
committed
sap hana updates
1 parent 2949695 commit 4f28f0d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,24 @@ To view the backup and restore scenarios that we support today, refer to the [SA
4949
* All the scheduled backups and on-demand backups (triggered from the Azure portal) that are either full or differential are initiated by the **Azure Backup Plugin for HANA**. However, log backups are managed and triggered by **HANA Backup Engine** itself.
5050
* Azure Backup for SAP HANA, being a BackInt certified solution, doesn't depend on underlying disk or VM types. The backup is performed by streams generated by HANA.
5151

52+
## Using Azure VM backup with Azure SAP HANA backup
53+
54+
In addition to using the SAP HANA backup in Azure that provides database level backup and recovery, you can use the Azure VM backup solution to back up the OS and non-database disks.
55+
56+
The [Backint certified Azure SAP HANA backup solution](#backup-architecture) can be used for database backup and recovery.
57+
58+
[Azure VM backup](backup-azure-vms-introduction.md) can be used to back up the OS and other non-database disks. The VM backup is taken once every day and it backups up all the disks (except **Write Accelerator (WA) disks** and **UltraDisks**). Since the database is being backed up using the Azure SAP HANA backup solution, you can take a file-consistent backup of only the OS and non-database disks using the exclude disk capability, which is currently in preview.
59+
60+
>[!NOTE]
61+
> Using pre-post scripts with the Azure VM backup will allow app-consistent backups of the data volumes of the database. However, if the log area resides on WA disks, taking a snapshot of these disks may not guarantee a log area consistency. HANA has an explicit way of generating log backups for this exact reason. Enable the same in your SAP HANA, and they can be backed up using Azure SAP HANA backup.
62+
63+
To restore a VM running SAP HANA, follow these steps:
64+
65+
* [Restore a new VM from Azure VM backup](backup-azure-arm-restore-vms.md) from the latest recovery point. Or create a new empty VM and attach the disks from the latest recovery point.
66+
* Since WA disks aren't backed up, they aren't restored. Create empty WA disks and log area.
67+
* After all the other configurations (such as IP, system name, and so on) are set, the VM is set to receive DB data from Azure backup.
68+
* Now restore the DB into the VM from the [Azure SAP HANA DB backup](sap-hana-db-restore.md#restore-to-a-point-in-time-or-to-a-recovery-point) to the desired point-in-time.
69+
5270
## Next steps
5371

5472
* Learn how to [restore an SAP HANA database running on an Azure VM](https://docs.microsoft.com/azure/backup/sap-hana-db-restore)

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ Running the pre-registration script performs the following functions:
9898
* SAP_INTERNAL_HANA_SUPPORT: to access a few private tables.
9999
* 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).
100100

101+
>[!NOTE]
102+
> Make sure you have a unique set of SSFS files under `/usr/sap/{SID}/home/.hdb/`. There should be only one folder in this path.
103+
101104
To confirm the key creation, run the HDBSQL command on the HANA machine with SIDADM credentials:
102105

103106
```hdbsql
@@ -107,7 +110,7 @@ hdbuserstore list
107110
The command output should display the {SID}{DBNAME} key, with the user shown as AZUREWLBACKUPHANAUSER.
108111

109112
>[!NOTE]
110-
> Make sure you have a unique set of SSFS files under `/usr/sap/{SID}/home/.hdb/`. There should be only one folder in this path.
113+
> You can explicitly pass parameters to the pre-registration script. To learn how the script runs and what parameters it accepts, use the following command: `bash msawb-plugin-config-com-sap-hana.sh --help`
111114
112115
## Create a Recovery Service vault
113116

0 commit comments

Comments
 (0)