Tutorial: Configure SAP HANA database instance snapshot backup

This tutorial describes how to configure backup for SAP HANA database instance snapshot and run an on-demand backup using Azure CLI.

Azure Backup now performs an SAP HANA storage snapshot-based backup of an entire database instance. Backup combines an Azure managed disk full or incremental snapshot with HANA snapshot commands to provide instant HANA backup and restore.

For more information on the supported scenarios, see the support matrix for SAP HANA.

Before you start

Configure snapshot backup

Before you configure a snapshot backup in this section, configure the backup for the database.

Then, to configure a snapshot backup, do the following:

  1. In the Recovery Services vault, select Backup.

  2. Select SAP HANA in Azure VM as the data source type, select a Recovery Services vault to use for backup, and then select Continue.

  3. On the Backup Goal pane, under Step 2: Configure Backup, select DB Instance via snapshot, and then select Configure Backup.

    Screenshot that shows the 'DB Instance via snapshot' option.

  4. On the Configure Backup pane, in the Backup policy dropdown list, select the database instance policy, and then select Add/Edit to check the available database instances.

    Screenshot that shows where to select and add a database instance policy.

    To edit a DB instance selection, select the checkbox that corresponds to the instance name, and then select Add/Edit.

  5. On the Select items to backup pane, select the checkboxes next to the database instances that you want to back up, and then select OK.

    Screenshot that shows the 'Select items to backup' pane and a list of database instances.

    When you select HANA instances for backup, the Azure portal validates for missing permissions in the system-assigned managed identity that's assigned to the policy.

    If the permissions aren't present, you need to select Assign missing roles/identity to assign all permissions.

    The Azure portal then automatically re-validates the permissions, and the Backup readiness column displays the status as Success.

  6. When the backup readiness check is successful, select Enable backup.

    Screenshot that shows that the HANA database instance backup is ready to be enabled.

Run an on-demand backup

To run an on-demand backup, do the following:

  1. In the Azure portal, select a Recovery Services vault.

  2. In the Recovery Services vault, on the left pane, select Backup items.

  3. By default, Primary Region is selected. Select SAP HANA in Azure VM.

  4. On the Backup Items pane, select the View details link next to the SAP HANA snapshot instance.

    Screenshot that shows the 'View details' links next to the HANA database snapshot instances.

  5. Select Backup now.

    Screenshot that shows the 'Backup now' button for starting a backup of a HANA database snapshot instance.

  6. On the Backup now pane, select OK.

    Screenshot showing to trigger HANA database snapshot instance backup.

Track a backup job

The Azure Backup service creates a job if you schedule backups or if you trigger an on-demand backup operation for tracking. To view the backup job status, do the following:

  1. In the Recovery Services vault, on the left pane, select Backup Jobs.

    The jobs dashboard displays the status of the jobs that were triggered in the past 24 hours. To modify the time range, select Filter, and then make the required changes.

  2. To review the details of a job, select the View details link next to the job name.

Next steps