Skip to main content
SnapCenter Software 4.9
A newer release of this product is available.

Clone a SAP HANA database backup

Contributors netapp-soumikd

You can use SnapCenter to clone a backup. You can clone from primary or secondary backup.

Before you begin
  • You should have backed up the resources or resource group.

  • You should ensure that the aggregates hosting the volumes should be in the assigned aggregates list of the storage virtual machine (SVM).

  • You cannot clone file-based backups.

  • The target clone server should have the same SAP HANA instance SID that is provided in the Target Clone SID field.

  • For pre clone or post clone commands, you should check if the commands exist in the command list available on the plug-in host from the following paths:

    • For Windows: C:\Program Files\NetApp\SnapCenter\Snapcenter Plug-in Creator\etc\allowed_commands.config.

    • For Linux: /opt/snapcenter/scc/etc/allowed_commands.config.

Note If the commands do not exist in the command list, then the operation will fail.
About this task

For information about clone split operation limitations, see ONTAP 9 Logical Storage Management Guide.

Steps
  1. In the left navigation pane, click Resources, and then select the appropriate plug-in from the list.

  2. In the Resources page, filter resources from the View drop-down list based on resource type.

    The resources are displayed along with information such as type, host, associated resource groups and policies, and status.

  3. Select the resource or resource group.

    You must select a resource if you select a resource group.

    The resource or resource group topology page is displayed.

  4. From the Manage Copies view, select Backups either from the primary or secondary (mirrored or vaulted) storage systems.

  5. Select the data backup from the table, and then click clone icon.

  6. In the Location page, perform the following actions:

    For this field…​ Do this…​

    Plug-in host

    Select the host on which the clone should be mounted and the plug-in is installed.

    Target Clone SID

    Enter the SAP HANA instance ID to clone from the existing backups.

    NFS Export IP Address

    Enter IP addresses or the host names on which the cloned volumes will be exported.

    iSCSI Initiator

    Enter iSCSI initiator name of the host to which the LUNs are exported. This option is available only if you selected LUN resource type.

    Protocol

    Enter the LUN protocol. This option is available only if you selected LUN resource type.

    If the resource selected is a LUN and you are cloning from a secondary backup, then the destination volumes are listed. A single source can have multiple destination volumes.

    Note Before cloning, you must ensure that the iSCSI initiator or the FCP is present and are configured and logged into alternate hosts.
  7. In the Scripts page, perform the following steps:

    Note The scripts are run on the plug-in host.
    1. Enter the commands for pre clone or post clone that should be run before or after the clone operation, respectively.

      • Pre clone command: delete existing databases with the same name

      • Post clone command: verify a database or start a database.

    2. Enter the mount command to mount a file system to a host.

      Mount command for a volume or qtree on a Linux machine:

      Example for NFS:

      mount VSERVER_DATA_IP:%VOLUME_NAME_Clone /mnt
  8. In the Notification page, from the Email preference drop-down list, select the scenarios in which you want to send the emails.

    You must also specify the sender and receiver email addresses, and the subject of the email.

  9. Review the summary, and then click Finish.

  10. Monitor the operation progress by clicking Monitor > Jobs.