Skip to main content
NetApp Solutions SAP

Configuring BlueXP Backup and Recovery for SAP HANA

Contributors netapp-mschoen kevin-hoke

This section describes how to setup the working environment, how to configure SnapCenter, and how to configure and activate SAP HANA backup within BlueXP.

Create working environment for BlueXP

Add the on-premises storage system to you work environment.

  1. At the left menu choose StorageCanvasMy Working Environment.

  2. Press + Add Working Environment.
    hana-hycl-back-image2

  3. Choose On-Premises.
    Ein Bild

  4. Choose Discover On-Premises ONTAP.
    Ein Bild

  5. Add the IP address of the ONTAP cluster and the password and press Discover.
    hana-hycl-back-image5

  6. The ONTAP cluster is now available.
    Ein Bild

Create a relationship between the on-premises storage system and an object storage bucket

The relationship between the on-premises storage and the S3 bucket is done by creating a backup for a volume or by activating a backup of an application. If an existing site-to-site VPN shall be used for transferring the data from on-premises to S3, a volume backup needs to be used for creating the relationship between the on-premises storage and S3 bucket as VPC endpoints need to be used.
At creation of this documentation the application backup workflow doesn't offer to choose VPC endpoints to access S3 buckets.
Refer to Gateway endpoints for Amazon S3 - Amazon Virtual Private Cloud how to setup VPC endpoints for S3 within your VPC.

To create a first volume backup, perform the following steps:

  1. Navigate via Protection to Backup and recovery and choose Volumes.
    hana-hycl-back-image7

  2. Press the Activate Backup button.
    hana-hycl-back-image8

  3. Choose the desired on-premises storage system and click Activate Backup.
    hana-hycl-back-image9

  4. Choose Backup.
    hana-hycl-back-image10

  5. Choose a volume which is stored at the same SVM as your SAP HANA data files and press Next. In this example the volume for /hana/shared has been chosen.
    hana-hycl-back-image12

  6. Continue, if an existing policy exists.
    hana-hycl-back-image11

  7. Check the Backup Option and choose your desired Backup Provider. In this example AWS.
    Keep the option checked for already existing policies.
    Uncheck options you do not want to use.
    Ein Bild

  8. Create a new bucket or choose an existing one. Provide your AWS account settings, the regio, your access key, and the secret key. Press Next.
    hana-hycl-back-image14

  9. Choose the correct IPspace of your on-premises storage system, select Privat Endpoint Configuration and choose the VPC endpoint for the S3. Press Next.
    hana-hycl-back-image15

  10. Review your configuration and press Activate Backup.
    hana-hycl-back-image16

  11. The backup has been successfully initiated.
    hana-hycl-back-image17

Configure the SAP HANA system resource at SnapCenter

  1. Check, if the SVM (hana in this example) where your SAP HANA system is stored has been added via the cluster. If only the SVM has been added, add the cluster.
    Graphical user interface

  2. Define a schedule policy with either daily, weekly, or monthly schedule type.
    Graphical user interface
    hana-hycl-back-image20

  3. Add the new policy to your SAP HANA system and assign a daily schedule.
    Graphical user interface

  4. Once configured new backups with this policy will be available after the policy has been executed according to the schedule defined.
    Graphical user interface

Adding SnapCenter to the BlueXP Working Environment

  1. At the left menu choose ProtectionBackup and recoveryApplications.

  2. Choose Hybrid from the pulldown menu.
    hana-hycl-back-image23

  3. Choose SnapCenter Servers at the Settings menu.
    Ein Bild

  4. Register the SnapCenter Server.
    Ein Bild

  5. Add the SnapCenter Server credentials.
    hana-hycl-back-image26

  6. The SnapCenter Servers has been added and data will discovered.
    hana-hycl-back-image27

  7. Once the discovery job has been finished the SAP HANA system will be available.
    Ein Bild

Creating a Backup Policy for Application Backup

  1. Choose Policies within the settings menu.
    hana-hycl-back-image29

  2. Create a new policy, if desired by click Create Policy.
    hana-hycl-back-image30

  3. Provide the policy name, desired SnapMirror label, choose your desired options,and press Create.
    hana-hycl-back-image31

  4. The new policy is available.
    hana-hycl-back-image32

Protecting the SAP HANA database with Cloud Backup for Applications

  1. Choose Activate Backup for the SAP HANA system.
    hana hycl back image33

  2. Choose the previously created policy and click Next.
    hana hycl back image34

  3. As the storage system and the connector have configured upfront the backup will be activated.
    hana hycl back image35

  4. Once the job has been completed the System will be listed.
    hana hycl back image36

  5. After some time the backups will be listed at the detail view of the SAP HANA System.
    A daily backup will be listed the next day.
    hana-hycl-back-image37

In some environments it might the necessary to remove any existing schedule settings of the snapmirror source. To do so execute the following command at the source ONTAP system: snapmirror modify -destination-path <hana-cloud-svm>:<SID_data_mnt00001>_copy -schedule "" .