Veeam SAP Avilability Guide
Veeam SAP Avilability Guide
Ali Salman
Solutions Architect, EMEA
Clemens Zerbe
Solution Architect SAP, Global Alliances
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners.
Veeam Enterprise Availability for SAP HANA
Contents
About the Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 1
Veeam Enterprise Availability for SAP HANA
Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 2
Veeam Enterprise Availability for SAP HANA
This document describes the features included in Veeam® Backup & Replication™ and Veeam Agent for Linux for
performing consistent backups for the SAP HANA application in accordance with Veeam best practices and SAP backup
instructions.
This guide assumes that you have a good level of knowledge of Veeam Backup & Replication, Veeam Agent for Linux,
SAP HANA and VMware vSphere.
Introduction
SAP HANA is an in-memory data platform that can be implemented both in the local data center (physical and virtual)
and in the public cloud.
HANA is an acronym for the High-Performance Analytic Appliance and was designed so that analytical applications can
be faster.
Enterprise-grade companies use SAP HANA worldwide, SAP HANA is the application directly related to customers core
business functionality.
It’s mission critical for the companies to have proper disaster recovery strategy for the SAP HANA. In case of any disaster,
they can restore SAP HANA services and application with less efforts.
Veeam Hyper-Availability Platform™ can simplify the backup and recovery of virtual, physical and cloud workload and
provides Availability to all mission-critical applications.
In this guide, we will explain how to backup and restore SAP HANA with Veeam Hyper-Availability Platform.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 3
Veeam Enterprise Availability for SAP HANA
Persistence Layer
As of any other database, SAP HANA could not be a database if it did not store data on a non-volatile medium. The SAP
HANA systems come with enough disk storage to keep all the data and other required information. SAP HANA writes
transactions logs synchronously and keeps a full data image in a synchronously updated data volume. The persistence
layer is part of the Name Server (SYSTEMDB) and Index Server (tenant DBs) and it has data and transaction log volume
for HANA system.
In other words, the persistence layer is the disk storage to store the SAP HANA database.
External Storage
An external storage medium can be used to store the logs and backup for protection along with other backup solutions.
Network Layer
SAP HANA infrastructures can be treated like other servers. Network requirements vary based on the several aspects of
the system setup such as clustering. Generally, it is recommended to have a 10 Gigabit Ethernet.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 4
Veeam Enterprise Availability for SAP HANA
vSphere 5.5(out of support since September 2018) SAP HANA 1.0 SPS 07 1995460 and 2024433
*Note: Nested virtualization is not supported by SAP. For more information, visit SAP HANA WIKI.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 5
Veeam Enterprise Availability for SAP HANA
In this section, we will discuss the available options to backup SAP HANA database and why backup is important to
provide you with basic knowledge before moving on how to backup SAP HANA database by using Veeam.
“SAP HANA persists in-memory data by using savepoints. During a savepoint operation, SAP HANA database flushes all
changed data from memory to the data volumes. The data belonging to a savepoint represents a consistent state of the
data on disk and remains so until the next savepoint operation has completed.”
During normal database operation, changed data is automatically saved from memory to disk at regular savepoints. By
default, savepoints are set to occur every five minutes, including during a backup.
Additionally, all data changes are recorded in the redo log buffer (the database recorded the changes into the redo log
(in-memory) which will write it to log volumes consistently for all the changes to persistent data). When a database
transaction is committed, the redo log buffer is saved to disk. Also, if the redo log buffer fills at any time, the redo log
buffer is written to disk anyway, even if no commit has been sent.
At any time, savepoints can also be trigger by executing the statement “ALTER SYSTEM SAVEPOINT.”
Why Backup
There is a general misconception that backup is not required for an SAP HANA database. We will discuss why backup is
required and it is mission-critical for SAP HANA disaster recovery.
As savepoints and redo log writing can protect SAP HANA databases in the event of failure, this raises the question of
why would you backup if SAP HANA already has an automatic mechanism to protect from failure.
Let’s focus on persistence storage which stores the savepoints and redo logs. In the case of persistent storage failure, all
the savepoints and redo logs will be lost, and the database can no longer operate. This is one of the reasons why having a
backup of the SAP HANA database is so important. Another example is to reset the database to an earlier point in time.
I hope you can understand the importance of the backup now. In the next section we will discuss options available to
backup SAP HANA databases.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 6
Veeam Enterprise Availability for SAP HANA
In the real world, most of the customers are using a mixed mode of backups to protect SAP HANA environments. We will
cover the advantages and disadvantages of each backup mode.
Backint API
The Backint method is an API-based method — it’s generally referred to SAP HANA backup using a third-party utility.
It enables 3rd party tool vendors to directly connect their backup agents to the SAP HANA database. Backups are
transferred via pipe from the SAP HANA database to the 3rd party backup agent, which runs on the SAP HANA database
server and then sends the backups to the 3rd party backup server.
3rd party backup tools can be fully integrated with SAP HANA:
• Execution of backup and recovery from the SAP HANA cockpit, SAP HANA studio and via SAP HANA SQL commands
• Configuration of tool-specific parameters
File Backup
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 7
Veeam Enterprise Availability for SAP HANA
File System Backups protect complete data to a file. Also note that a File System Backup will put a load on the network
and it is recommended to use shared backup storage so it can be available to all the nodes of the database.
You must remember to monitor file system fill level during the backup.
1. SAP HANA database store the in-memory data into persistence storage
2. From persistence storage File System Backup store the backup file to external storage
1. SAP HANA database stores the in-memory data into persistence storage
2. Prepare for a storage snapshot by initiating the SAP HANA Snapshot. During this process, the internal database
snapshot is created, and reflects a consistent database state at the point in time it is created in the file system.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 8
Veeam Enterprise Availability for SAP HANA
Backint Backup
Advantages Disadvantages Backup Size Backup Duration
Integrity checks at block level Generates additional Payload only IO-bound (reading from
network load data volume, writing to
Integrated into existing data center infrastructure
target)
Backup tool offers additional features
Network-bound
For example, encryption or de-duplication (writing
to backup server)
Backups are immediately available for recovery
File Backup
Advantages Disadvantages Backup Size Backup Duration
Integrity checks Requires additional storage Payload only IO-bound (reading from
at block level data volume, writing to
Generates additional network load
target)
File system needs to be monitored (fill level)
Network-bound
More time is needed to make backups (writing to target file
available for recovery system
Storage Snapshot
Advantages Disadvantages Backup Size Backup Duration
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 9
Veeam Enterprise Availability for SAP HANA
Backup Type
The following are the type of backups available in the SAP HANA:
Option Description
Complete A complete data backup includes all the data that is required to recover the database to a consistent
state
Incremental Stores the data changed since the last full data backup (complete data backup or storage snapshot)
or the last incremental or differential backup
Differential Stores all the data changed since the last full data backup (complete data backup or storage
snapshot)
For the recovery of SAP HANA services, it is possible to recover from a backup (full, incremental or differential), a point in
time, or from the recovery of the transactions logs.
Option Description
Most Recent Used for the recovery of the database to the closest possible time of the current one. For this
Backup recovery, it is necessary to have the data and logs available in the system’s path to meet the
objective
Point in Time Used to recover databases at a specific point in time. For this recovery, it is necessary to have the
data and logs available in the system’s path to meet the objective
Specific Data Used to recover the database to a specific data backup. The specific backup file is necessary to
Backup perform this option
Specific Log This type of recovery is an advanced option that can be used in exceptional cases where a previous
Position recovery has failed
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 10
Veeam Enterprise Availability for SAP HANA
Recovery Process
In this section we will discuss the recovery process and what options we have to restore the SAP HANA database.
We can perform the SAP HANA recovery process in the following ways by using the methods we have discussed in the
last section on SAP HANA recovery options:
1. Restore the complete server from a backup image of the desired restore point and turn on the server.
2. Restore a point in time or most recent state of the database either by backint, a file backup or snapshot.
In this example, we will use SAP HANA studio recovery wizard to select the method and SAP HANA will automatically
select the transaction log backups if it is required to recover at a point in time.
After selecting the desired restore method, SAP HANA Studio will display the backup in the catalogue and mark it with
green if the restore points are available.
As we have provided the basic knowledge to understand the backup and restore process of SAP HANA, the next section
will focus on how customers can leverage Veeam Hyper-Availability Platform for SAP HANA protection.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 11
Veeam Enterprise Availability for SAP HANA
We will discuss the following Veeam products that protect SAP HANA environments:
Environment Veeam
If you want to use built-in Veeam Backup & Replication functionality, see the Veeam Backup & Replication
documentation at https://www.veeam.com/documentation-guides-datasheets.html.
Use Veeam Plug-in for SAP HANA, if you want to guarantee the integrity of SAP HANA databases in your backups.
Veeam Plug-in integrates with SAP HANA’s Backint. Backint is an API that allows third-party backup tools like Veeam to
integrate their backup targets into the SAP HANA own backup process.
When you launch a backup with the Backint selection in a SAP HANA client, Veeam Plug-in for SAP HANA will create an
application pipeline stream and transfer database files to Veeam backup repository in Veeam’s proprietary format: .VAB
(Veeam application backup).
2. Veeam Plugin for SAP HANA assigned multiple streams to backup target.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 12
Veeam Enterprise Availability for SAP HANA
Veeam application-aware processing will use SAP HANA’s storage snapshot method to prepare the database with pre/post
freeze scripts along with the image-level backup of virtual machine and provide an option to purge the transactions logs.
https://github.com/VeeamHub/applications/tree/master/Freeze-Thaw%20Examples/sap-hana
1. Veeam Backup executes application-aware processing HANA pre-freeze script to prepare the internal snapshot of the
SAP HANA database.
3. The data will be synchronized, the points of the transaction logs and internal SAP HANA backup catalogue will be
updated to confirm the snapshot.
Veeam Agent for Linux will use the backup method via HANA Snapshot to prepare the data on the disk made with scripts.
As is known, Veeam Agent for Linux will perform the full backup (image) of the physical server.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 13
Veeam Enterprise Availability for SAP HANA
1. Starting the backup with Veeam Agent for Linux through the agent will execute the script “hana-pre-freeze.sh” to
prepare the internal snapshot of the SAP HANA database
3. The data will be synchronized, and the pointers of the transaction logs and the internal SAP HANA backup catalog will
be updated to confirm the snapshot via CONFIRM.
7. If required and configured, you can purge the transaction logs as well.
Script Veeam
Pre-Freeze Script Responsible for preparing the database for the HANA Snapshot.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 14
Veeam Enterprise Availability for SAP HANA
2. Go to the mounted ISO and copy the *.rpm file from /Plugins/SAP HANA/x64 to the SAP HANA server.
If you have a SAP HANA scale-out cluster, repeat the installation on all cluster members.
1. Launch the configuration tool with a user with database admin rights. Sudo rights are not needed if you have
configured group access as described in the Required Permissions section.
sudo SapBackintConfigTool --wizard
2. Specify the Veeam Backup & Replication server (DNS name or IP address).
3. Specify the port which will be used to communicate with the backup server. Default port: 10006.
Enter backup server port number: 10006
4. Specify credentials to authenticate with the Veeam Backup & Replication server.
Enter username: serv02\administrator
5. Select the backup repository where you want to store the backup files. In the terminal dialog, you must enter the
number of the repository from the list of available repositories.
Available backup repositories:
1. serv10_repo
2. serv07_repo
Enter repository number: 1
Configuration result:
SID SH2 has been configured
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 15
Veeam Enterprise Availability for SAP HANA
If you start the wizard for the first time on a SAP HANA scale-out cluster, the wizard will ask you for a cluster name that
will be used within Veeam Backup & Replication user to identify the backup job for the cluster. Additional wizard runs
within the SAP HANA scale-out cluster will not ask for this entry again.
Alternatively, you can configure a Linux security group. You must add all Veeam Plug-in admins to this security group and
set the following rights:
sudo chown root:<youradmingroup> /opt/veeam/VeeamPluginforSAPHANA/veeam_config.xml
sudo chmod 664 /opt/veeam/VeeamPluginforSAPHANA/veeam_config.xml
2. Go to Backup/Configuration.
3. In the Backint Agent field, make sure that the specified path leads to /opt/VeeamPluginforSAPHANA/hdbbackint.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 16
Veeam Enterprise Availability for SAP HANA
Parameter Description
--set-credentials <”serv\username”> Specifies credentials to log in to Veeam Backup & Replication server.
<password>
--set-host <hostname> Specifies the IP address or hostname of Veeam Backup & Replication server.
Specifies a port number that will be used to communicate with the Veeam Backup &
--set-port <port_number>
Replication server.
--set-restore-server [for System Copy] Specifies the backup which will be copied.
Backup Database
To backup the database, there are following options:
In the blog we will use SAP HANA cockpit to schedule the SAP HANA database backup, for other options and details
please visit: https://helpcenter.veeam.com/docs/backup/plugins/sap_hana_backup.html?ver=95u4
1. In the System Overview page, go to Database Administration and select Manage Database Backups.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 17
Veeam Enterprise Availability for SAP HANA
b. In the Destination Type setting, select Backint. With this option selected, the backup data will be written through
Veeam Plug-in.
Select, Step 4.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 18
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 19
Veeam Enterprise Availability for SAP HANA
1. In the System Overview page, go to Database Administration and select Manage Database Backups.
4. Change the values to your needed SLAs like e.g. 30 days retaining time for backups and at least 7 generation of backup
like in the picture below. You also have the possibility to remove the backups from the catalog only or also remove the
backups directly from our repository (option also delete physical from backint).
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 20
Veeam Enterprise Availability for SAP HANA
2. In the Description field, provide a description for future reference. The default description contains information about
the user who created the job, as well as the date and time the job was created.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 21
Veeam Enterprise Availability for SAP HANA
1. Click Add
2. From the Backup repository list, select a backup repository where the created backup files must be stored. When you
select a backup repository, Veeam Backup & Replication automatically checks how much free space is available on the
backup repository.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 22
Veeam Enterprise Availability for SAP HANA
3. In the Retention policy section, specify the number of restore points that you want to store on the backup repository.
When this number is exceeded, the earliest restore point will be removed from the backup chain. The number of
restore points doesn’t correspond to the number of days to store restore points.
Note: Before you configure application aware processing on a SUSE or RedHat Linux system please make sure you have
read the following Veeam knowledge base article.
https://www.veeam.com/kb1512
We also recommend using certificates instead of user/password combinations to logon to a remote linux system.
Note: We recommend creating a Veeam backup user for running the SAP HANA pre- and post-freeze scripts. This user
does not need root/sudo rights but needs to be part of the sapsys group.
2. At the Guest Processing, Enable Application-Aware Processing, click Applications (Figure 1).
5. In the Script processing mode section, specify the scenario for scripts execution:
• Select Require successful script execution if you want Veeam Backup & Replication to stop the backup process if the
script fails. (Figure 2).
6. In the Linux scripts section, specify paths for SAP HANA pre- and post-freeze script (Figure 3).
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 23
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 24
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 25
Veeam Enterprise Availability for SAP HANA
Step 9. Validation
In this step, we will validate the successful HANA storage snapshot creation with Veeam pre-script and post-thaw script
from the following:
1. Veeam Backup Job
2. SAP HANA Studio
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 26
Veeam Enterprise Availability for SAP HANA
We have successfully completed the configuration of SAP HANA Virtual Machine backup with HANA Storage Snapshot
options, now we will configure the backup of a physical SAP HANA server.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 27
Veeam Enterprise Availability for SAP HANA
RHEL for SAP HAN rpm -ivh ./veeam-release* && yum check-update
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 28
Veeam Enterprise Availability for SAP HANA
Type Description
Shared Folder Select this option if you want to save the backup in
a network shared folder. With this option selected, you will pass to the
Network step of the wizard.
Veeam Backup & Replication Select this option if you want to save the backup on
a backup repository managed by the Veeam backup server. With this
option selected, you will pass to the Veeam step of the wizard.
Veeam Cloud Connect repository Select this option if you want to create the backup on
a cloud repository exposed to you by the Veeam Cloud Connect service
provider. With this option selected, you will pass to the Service Provider
step of the wizard.
In the guide, we are going to use Veeam Backup & Replication server as a repository to store the backup.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 29
Veeam Enterprise Availability for SAP HANA
Specify settings for the Veeam backup server that manages the target backup repository:
1. In the Address field, specify a DNS name or IP address of the Veeam backup server.
2. In the Port field, specify a number of the port over which Veeam Agent for Linux must communicate with the backup
repository. By default, Veeam Agent for Linux uses port 10006.
3. In the Login field, type in the username of the account that has access to the Veeam backup repository.
4. In the Domain field, type in the name of the domain in which the account that has access to the Veeam backup
repository is registered, for example: DOMAIN.
5. In the Password field, type in the password of the account that has access to the Veeam backup repository.
From the Choose repository list, select a backup repository where you want to store backups. The list displays only those
backup repositories on which you have permissions to store data. To learn more, see Setting Up User Permissions on
Backup Repositories.
In the Restore points field, specify the number of restore points that you want to store in the target location. By default,
Veeam Agent for Linux keeps the 14 latest restore points. After this number is exceeded, Veeam Agent for Linux will
remove the earliest restore points from the backup chain.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 30
Veeam Enterprise Availability for SAP HANA
Note: Both scripts must be copied to an operating system path, for example, / hana / scripts /
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 31
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 32
Veeam Enterprise Availability for SAP HANA
We have successfully created the backup jobs for SAP HANA virtual and physical environment and also validated the
creation of a HANA Snapshot. In the next section we will cover the recovery procedure.
https://www.veeam.com/kb1512
https://www.veeam.com/kb2061
https://helpcenter.veeam.com/docs/backup/hyperv/credentials_manager_linux_pubkey.html?ver=95u4
We also recommend using certificates instead of user/password combinations to logon to a remote linux system.
Note: We recommend creating a Veeam backup user for running the SAP HANA pre- and post-freeze scripts. This user
does not need root/sudo rights but needs to be part of the sapsys group.
If the agent was installed properly it should have an entry for your new system in the infrastructure section with the
agent installed.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 33
Veeam Enterprise Availability for SAP HANA
Step 2. Create a Protection group with all your SAP HANA systems
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 34
Veeam Enterprise Availability for SAP HANA
Give your job a name and add your previously created protection group
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 35
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 36
Veeam Enterprise Availability for SAP HANA
Enable application aware processing and edit/add the pre & post scripts.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 37
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 38
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 39
Veeam Enterprise Availability for SAP HANA
For the SAP HANA database restore, we will use SAP HANA Studio.
Keep in mind that examples provided below are for demonstrating purposes only. To see the full restore
functionality of SAP HANA tools, see the SAP HANA Recovery section of SAP HANA Administration Guide.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 40
Veeam Enterprise Availability for SAP HANA
Point of snapshot/backup restore + optional log file roll forward with Veeam VM disk restore
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 41
Veeam Enterprise Availability for SAP HANA
Step 2. Select VM
At the Virtual Machine step of the wizard, select the SAP HANA VM
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 42
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 43
Veeam Enterprise Availability for SAP HANA
When Instant VM Recovery is performed, Veeam Backup & Replication uses the Veeam vPower® technology to mount
a VM image to an ESX(i) host directly from a compressed and deduplicated backup file. Since there is no need to extract
the VM from the backup file and copy it to production storage, you can restart a VM from any restore point (incremental
or full) in a matter of minutes.
The archived image of the VM remains in read-only state to avoid unexpected modifications. By default, all changes to
virtual disks that take place while the VM is running, are logged to auxiliary redo logs residing on the NFS server (backup
server or backup repository). These changes are discarded as soon as a restored VM is removed, or merged with the
original VM data when VM recovery is finalized.
In case of complete SAP HANA VM failure, Instant VM Recovery help reduces the RTO for SAP HANA systems restore.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 44
Veeam Enterprise Availability for SAP HANA
Open the Home view. In the inventory pane, select Backups. In the working area, expand the necessary backup, right-
click the VM you want to restore and select Instant VM Recovery
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 45
Veeam Enterprise Availability for SAP HANA
At the Recovery Mode of the wizard, choose the necessary restore mode:
Select Restore to the original location if you want to restore the VM with its initial settings and to its original location. If
this option is selected, you will pass directly to the Reason step of the wizard.
Select Restore to a new location, or with different settings if you want to restore the VM to a different location and/or
with different settings (such as VM location, network settings, format of restored virtual disks and so on). If this option is
selected, the Instant Recovery wizard will include additional steps for customizing VM settings.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 46
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 47
Veeam Enterprise Availability for SAP HANA
At the Datastore step of the wizard, you can select where redo logs must be written when the VM is running from
the backup. By default, redo logs are stored directly on the backup server. However, you can store redo logs on
any datastore in the virtual environment. Redirecting redo logs improves recovery performance but makes Storage
vMotion not possible for ESX(i) 5.x and earlier.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 48
Veeam Enterprise Availability for SAP HANA
To check the progress of Instant VM Recovery and view session details as shown in the picture below:
1. Open the Home view.
2. In the inventory pane, click the Instant Recovery node.
3. In the working area, right-click the VM and select Properties.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 49
Veeam Enterprise Availability for SAP HANA
Figure 3. Destination
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 50
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 51
Veeam Enterprise Availability for SAP HANA
The below diagram shows the restore operations for SAP HANA physical server:
1. Stop HANA Database (In case of point in time restore) Skip the step for bare metal restore.
2. Recover disk volume, files or logs if necessary or complete server.
3. Point of Snapshot restore from SAP HANA studio.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 52
Veeam Enterprise Availability for SAP HANA
Veeam Agent for Linux will display network adapters that are available on the system. If there is a DHCP server in your
network, Veeam Agent for Linux will configure the network settings automatically and display the IP address assigned to
the network adapter. You can then press Esc to return to the Veeam Recovery Media main menu and launch the Volume
Restore wizard.
You can manually configure TPC/IP v4 settings for network adapters if necessary.
In this guide we will manually configure the TCP/IP v4 settings. To configure network settings:
1. In the Choose adapter list, select the network adapter that you want to use to connect to the network shared folder or
Veeam backup repository where the backup resides and press Enter.
2. In the Configure adapter dialog, select the Manual option and press Enter.
3. In the Adapter settings dialog, specify the following network settings:
• IP address
• Subnet mask
• Default gateway
• DNS server
4. Select the Apply button and press Enter.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 53
Veeam Enterprise Availability for SAP HANA
To recover data from backup, you need to mount the backup storage on which the backup file resides to the recovery
image OS file system. Veeam Agent for Linux automatically mounts external USB drives that are connected to
the computer and displays them in the list of available backup locations. You can select the necessary device and
press Enter to pass to the Browse for backup files step of the wizard.
If the backup file is located in a network shared folder, on a local drive or on a Veeam backup repository, select one of the
following options:
• Add shared folder — select this option if the backup file is located in a network shared folder. With this option
selected, you will pass to the Mount shared folder step of the wizard.
• Mount local disk — select this option if the backup file resides on the local computer drive, external drive or removable
storage device that is currently connected to your computer. With this option selected, you will pass to the Select local
disk step of the wizard.
• Add VBR server — select this option if the backup file resides on a backup repository managed by the Veeam backup
server. With this option selected, you will pass to the Specify backup server parameters step of the wizard.
• Add Cloud provider — select this option if the backup file resides on a cloud repository exposed to you by a Veeam
Cloud Connect service provider. With this option selected, you will pass to the Specify Cloud provider parameters step
of the wizard.
In this guide we will use Veeam Backup & Replication server for the restore operations.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 54
Veeam Enterprise Availability for SAP HANA
Specify settings for the Veeam backup server that manages the backup repository where the backup file resides:
1. In the Address field, specify a DNS name or IP address of the Veeam backup server.
2. In the Port field, specify a number of the port over which Veeam Agent for Linux must communicate with the backup
repository. By default, Veeam Agent for Linux uses port 10002.
3. In the Login field, type in the username of the account that has access to the Veeam backup repository.
4. In the Domain field, type in the name of the domain in which the account that has access to the Veeam backup
repository is registered, for example: DOMAIN.
5. In the Password field, type in the password of the account that has access to the Veeam backup repository.
6. Press Enter. Veeam Agent for Linux will connect to the Veeam backup server, and you will pass immediately to
the Backup step of the wizard.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 55
Veeam Enterprise Availability for SAP HANA
2. Veeam Agent for Linux will display a window with information on the selected volume (partition type, file system type,
mount point and volume size) and a list of available operations:
• Restore volume to — select this option if you want to restore the selected volume to your computer.
• Close — select this option if you want to close the window and select another volume.
3. Veeam Agent for Linux will display a list of volumes on your computer. Select the volume that you want to restore and
press Enter.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 56
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 57
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 58
Veeam Enterprise Availability for SAP HANA
Figure 2. SYSTEM DB will be taken offline! Attention all you tenants will be resetted to the same stage and taken offline too
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 59
Veeam Enterprise Availability for SAP HANA
Important (if your snapshot is marked red) : For File & Device restores — you need /hana/data/SID and /hana/log/SID restored.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 60
Veeam Enterprise Availability for SAP HANA
The SAP HANA Database has been successfully restored with Veeam Hyper-Availability Platform.
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 61
Veeam Enterprise Availability for SAP HANA
Appendix
You can find the latest versions of the scripts under:
https://github.com/VeeamHub/applications
Veeam Availability Suite™, which includes Veeam Backup & Replication™, leverages virtualization, storage and cloud
technologies that enable the modern data center to help organizations save time, mitigate risks and dramatically reduce
capital and operational costs, while always supporting the current and future business goals of Veeam customers.
Veeam’s global headquarters are located in Baar, Switzerland, and the company has offices throughout the world.
To learn more, visit www.veeam.com
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 62
Veeam Enterprise Availability for SAP HANA
© 2019 Veeam Software. Confidential information. All rights reserved. All trademarks are the property of their respective owners. 63