Skip to main content
NetApp Solutions SAP

Backup of non-data volumes

Contributors

The backup of non-data volumes is an integrated part of the SnapCenter and the SAP HANA plug-in.

Protecting the database data volume is sufficient to restore and recover the SAP HANA database to a given point in time, provided that the database installation resources, and the required logs are still available.

To recover from situations where other non-data files must be restored, NetApp recommends developing an additional backup strategy for non-data volumes to augment the SAP HANA database backup. Depending on your specific requirements, the backup of non-data volumes might differ in scheduling frequency and retention settings, and you should consider how frequently non-data files are changed. For instance, the HANA volume /hana/shared contains executables but also SAP HANA trace files. While executables only change when the SAP HANA database is upgraded, the SAP HANA trace files might need a higher backup frequency to support analyzing problem situations with SAP HANA.

SnapCenter non-data volume backup enables Snapshot copies of all relevant volumes to be created in a few seconds with the same space efficiency as SAP HANA database backups. The difference is that there is no SQL communication with SAP HANA database required.

Configure non-data volume resources

Follow these steps to configure non-data volume resources:

  1. From the Resources tab, select Non-Data-Volume and click Add SAP HANA Database.

    Error: Missing Graphic Image

  2. In step one of the Add SAP HANA Database dialog, in the Resource Type list, select Non- data Volumes. Specify a name for the resource and the associated SID and the SAP HANA plug-in host that you want to use for the resource, then click Next.

    Error: Missing Graphic Image

  3. Add the SVM and the storage volume as storage footprint, then click Next.

    Error: Missing Graphic Image

  4. To save the settings, in the summary step, click Finish.

    Error: Missing Graphic Image

    The new non-data volume is now added to SnapCenter. Double click the new resource to execute the resource protection.

    Error: Missing Graphic Image

    The resource protection is done in the same way as described before with a HANA database resource.

  5. You can now execute a backup by clicking on Backup Now.

    Error: Missing Graphic Image

  6. Select the policy and start the backup operation.

    Error: Missing Graphic Image

The SnapCenter job log shows the individual workflow steps.

Error: Missing Graphic Image

The new backup is now visible in the resource view of the non- data volume resource.

Error: Missing Graphic Image

Restore and recover

With SnapCenter, automated restore and recovery operations are supported for HANA single host MDC systems with a single tenant. For multiple-host systems or MDC systems with multiple tenants, SnapCenter only executes the restore operation and you must perform the recovery manually.

You can execute an automated restore and recovery operation with the following steps:

  1. Select the backup to be used for the restore operation.

  2. Select the restore type. Select Complete Restore with Volume Revert or without Volume Revert.

  3. Select the recovery type from the following options:

    • To most recent state

    • Point in time

    • To specific data backup

    • No recovery

      The selected recovery type is used for the recovery of the system and the tenant database.

Next, SnapCenter performs the following operations:

  1. It stops the HANA database.

  2. It restores the database. Depending on the selected restore type, different operations are executed.

    • If Volume Revert is selected, then SnapCenter unmounts the volume, restores the volume by using volume-based SnapRestore on the storage layer, and mounts the volume.

    • If Volume Revert is not selected, then SnapCenter restores all files by using single file SnapRestore operations on the storage layer.

  3. It recovers the database:

    1. By recovering the system database

    2. recovering the tenant database

    3. starting the HANA database

      If No Recovery is selected, SnapCenter exits, and you must perform the restore operation for the system and the tenant database manually.

To perform a manual restore operation, follow these steps:

  1. Select a backup in SnapCenter to be used for the restore operation.

    Error: Missing Graphic Image

  2. Select the restore scope and type.

    The standard scenario for HANA MDC single tenant systems is to use complete resource with volume revert. For a HANA MDC system with multiple tenants, you might want to restore only a single tenant. For more information about the single tenant restore, see Restore and recovery (netapp.com).

    Error: Missing Graphic Image

  3. Select Recovery Scope and provide the location for log backup and catalog backup.

    SnapCenter uses the default path or the changed paths in the HANA global.ini file to prepopulate the log and catalog backup locations.

    Error: Missing Graphic Image

  4. Enter the optional pre-restore commands.

    Error: Missing Graphic Image

  5. Enter the optional post-restore commands.

    Error: Missing Graphic Image

  6. To start the restore and recovery operation, click Finish.

    Error: Missing Graphic Image

    SnapCenter executes the restore and recovery operation. This example shows the job details of the restore and recovery job.

    Error: Missing Graphic Image