Recovering from Data Snapshots with SAP HANA Cockpit
SAP HANA Scale Up/Single Node deployment
Step 1. Prepare to Recover System Database (MDC systems only)
Navigate to the SAP HANA Cockpit web interface and ensure that all of the relevant information is available for it to interface with the relevant deployment to be restored. SAP HANA Systems can be started and stopped from the cockpit interface, where the database will need to be stopped before a recovery can proceed.
Ensure SAP Control credentials are entered and that the resource for HANA cockpit is connected to the SystemDB. Then select the relevant resource for restore operations. |
![]() |
From SAP HANA cockpit choose the overall database status tile and select “stop system”. |
![]() |
Stop the system using either “softly” or “immediately”. |
![]() |
Monitor the system processes until all have been shut down. |
![]() |
Once all of the system has shut down, select the relevant resource. |
![]() |
In the “Database Administration” tile, select “Recover database”. |
![]() |
Select the recovery target type. |
![]() |
Specify the location of the latest backup catalog, only change these values under specialized circumstances. |
![]() |
Note the “Backup ID” of the backup to be used and its availability. |
![]() |
Step 1a. Recover block storage volume
Recover the relevant storage volume using the FlashArray web user interface. This operation can also be completed using the command line interface or ReST API.
The persistence data volume must be unmounted from the operating system before a snapshot is restored. This can be done using the “umount” command in a terminal or SSH connection.
Bash command to unmount the data volume at the specified location. |
![]() |
Navigate to the FlashArray web user interface and select “Storage” from the sidebar and then navigate to the “Volumes” section. |
![]() |
Navigate to the block volume on which the relevant hosts HANA data volume is located. |
![]() |
The snapshot which matches the “Backup ID” in the catalog is appended with the exact same value, this is the volume which should be restored. Note that the addition of this value is done during storage snapshot creation by the user.
Select the 3 vertical dots to bring up the context menu and select Restore… |
![]() |
Check the snapshot to be restored matches the requirements for this recovery scenario and then confirm the operation by selecting “Restore”. |
![]() |
Return to the SSH connection and remount the volume to the SAP HANA data location. This assumes that the correct values in /etc/fstab are present. |
![]() |
Step 1b. Recover the System Database
Select the refresh icon in the top right-hand corner under Backups to be Used to rescan the backup catalog. |
![]() |
Once the relevant recovery point has been located it should show as “Available”, select “Step 4” to proceed. |
![]() |
Select the preferred value for Delta Backups. |
![]() |
Specify any alternative backup locations. |
![]() |
Specify if the availability of backups should be checked. |
![]() |
Specify if the log area should be initialized, doing so invalidates any logs or log backups made after the recovery point. |
![]() |
Review the information for the recovery operation and then select “Start Recovery”. |
![]() |
While Restoring the System Database the status can be observed from the same view. |
![]() |
Step 2. Recover Tenant Database(s)
During the recovery of the System database, all tenant databases are invalidated and need to be individually recovered by repeating the below steps.
Follow from here if using single container SAP HANA 1.0 system. Notable differences are the absence of “System” and “Tenant” terminology.
In SAP HANA 2.0 SPS04 and onwards repeat these steps for each additional tenant database.
Ensure that Step 1a is completed, while the database is offline, for SAP HANA 1.0 Single tenant systems before proceeding with the below.
Once the System Database has been recovered select “Manage Databases” from the SystemDB database view. |
![]() |
All of the tenants will be shown, but in an offline state. In SAP HANA SPS03 and previous releases only a single tenant system can be recovered when using data snapshots. |
![]() |
Highlight the relevant tenant database to be recovered and then select the three dots in the right-hand corner to bring up the context menu, then select “Recover Tenant”. |
![]() |
Select the recovery target type. |
![]() |
Specify the location of the latest backup catalog, only change these values under specialized circumstances. |
![]() |
The relevant backup to be used will have the status of “Available”, select this and then select “Step 4”. |
![]() |
Specify if Delta Backups are to be used (using data snapshots this value will be ignored). |
![]() |
Specify an Alternative Backup location if any exist. |
![]() |
Specify if the log area must be initialized. |
![]() |
Review the information for the recovery operation and then select “Start Recovery”. |
![]() |
Once the tenant has been successfully recovered the status will be shown. |
![]() |
SAP HANA Scale Out/Multi-Node deployment
Step 1. Prepare to Recover System Database (MDC Systems Only)
Navigate to the SAP HANA Cockpit web interface and ensure that all of the relevant information is available for it to interface with the relevant deployment to be restored. SAP HANA Systems can be started and stopped from the cockpit interface, where the database will need to be stopped before a recovery can proceed.
Ensure SAP Control credentials are entered and that the resource for HANA cockpit is connected to the SystemDB. Then select the relevant resource for restore operations. |
![]() |
From SAP HANA cockpit choose the overall database status tile and select “stop system”. |
![]() |
Stop the system using either “softly” or “immediately”. |
![]() |
Monitor the system processes until all have been shut down. |
![]() |
Navigate towards the SystemDB resource page. |
![]() |
In the “Database Administration” tile, select “Recover database”. |
![]() |
Select the recovery target type. |
![]() |
Specify the location of the latest backup catalog, only change these values under specialized circumstances. |
![]() |
Note the “Backup ID” of the backup to be used and its availability. |
![]() |
Step 1a. Recover Block Storage Volume
Recover the relevant storage volume using the FlashArray web user interface. This operation can also be completed using the command line interface or REST API.
The persistence data volumes must be unmounted from the operating system before a snapshot is restored. This can be done using the “umount” command in a terminal or SSH connection.
In the FlashArray web user interface navigate to “Storage” and select the “Volumes” section. |
![]() |
The snapshot which matches the “Backup ID” in the catalog is appended with the exact same value, this is the volume which should be restored. Note that the addition of this value is done during storage snapshot creation by the user.
Identify the snapshots relevant to the Backup_ID of the recovery point. |
![]() |
Unmount each persistence data volume from the mount point on each host. |
|
Select the 3 dots on the right-hand side of the relevant snapshot” and select “Restore” for each required block device. A prompt will appear for each snapshot, check the information and then confirm the restore operation. Note that "Restore" will overwrite the existing volume with the snapshot. |
![]() |
Verify that the volumes have restored correctly. |
![]() |
Navigate to each volume and check the details match what is required of the SAP HANA scale out system. |
![]() |
Check the details for each volume required to attach to any host in the distributed host setup. |
|
Updating global.ini with new volume WWID's if snapshots are copied to new volumes
If the recovery scenario is to copy the volume snapshots to a new volume and export that to the SAP HANA hosts then the world wide ID's in the global.ini configuration file must be first updated.
As the root user, get the new world wide identifiers for the volumes by executing "multipath -ll". The WWID is the alphanumeric string in the red box. Collect this value for all of the new data volumes copied from snapshots.
As the root user edit the following file : /hana/shared/<SID>/global/hdb/custom/config/global.ini.
Look for the [storage section] and update the wwid values where the string is "partition_n_data_wwid".
Step 1b. Recover the System Database
Select the refresh icon in the top right-hand corner under Backups to be Used to rescan the backup catalog. |
![]() |
Select the preferred value for Delta Backups. |
![]() |
Specify any alternative backup locations. |
![]() |
Specify if the availability of backups should be checked. |
![]() |
Specify if the log area should be initialized, doing so invalidates any logs or log backups made after the recovery point. |
![]() |
Review the information for the recovery operation and then select “Start Recovery”. |
![]() |
While Restoring the System Database the status can be observed from the same view. |
![]() |
Step 2. Recover Tenant Database(s)
During the recovery of the System database, all tenant databases are invalidated and need to be individually recovered by repeating the below steps.
Follow from here if using single container SAP HANA 1.0 system. Notable differences are the absence of “System” and “Tenant” terminology.
In SAP HANA 2.0 SPS04 and onwards repeat these steps for each additional tenant database.
Ensure that Step 1a is completed, while the database is offline, for SAP HANA 1.0 Single tenant systems before proceeding with the below.
Once the System Database has been recovered select “Manage Databases” from the SystemDB database view. All of the tenants will be shown but in an offline state. In SAP HANA SPS03 and previous releases, only a single tenant system can be recovered. |
![]() |
Highlight the relevant tenant database to be recovered and then select the three dots in the right-hand corner to bring up the context menu, then select “Recover Tenant”. |
![]() |
Select the recovery target type. |
![]() |
Specify the location of the latest backup catalog, only change these values under specialized circumstances. |
![]() |
The relevant backup to be used will have the status of “Available”, select this and then select “Step 4”. |
![]() |
Specify if Delta Backups are to be used. |
![]() |
Specify an Alternative Backup location if any exist. |
![]() |
Specify if the Availability of Backups must be checked. |
![]() |
Specify if the log area must be initialized. |
![]() |
Review the information for the recovery operation and then select “Start Recovery”. |
![]() |
Once the tenant has been successfully recovered the status will be shown. |
![]() |