Configuring Veeam Plug-in for SAP HANA
When you configure Veeam Plug-in settings, you set up integration settings between a SAP HANA server, Veeam Backup & Replication server and backup repositories where backup files will be stored. Veeam Plug-in uses the SapBackintConfigTool wizard to configure the integration settings. The wizard configures the SAP HANA Backint settings and creates the/opt/veeam/VeeamPluginforSAPHANA/veeam_config.xml file.
Note |
|
See the following instructions:
- Veeam Plug-in Configuration
- Configuration of Veeam Plug-in on Multiple SAP HANA Instances
- Verifying Configuration of Veeam Plug-in for SAP HANA
- Configuration Tool Commands
To configure Veeam Plug-in, do the following:
- Log in as a user with database administrator rights and run the following command to launch the Veeam Plug-in configuration tool. You do not need root privileges if you have configured group access as described in the Required Permissions section.
- Specify the DNS name or IP address of your Veeam Backup & Replication server.
- Specify the port which will be used to communicate with the backup server. Default port: 10006.
- Specify credentials to authenticate against the Veeam Backup & Replication server.
Important |
You can work with backups created by Veeam Plug-in only with the account used for creating the backups. If you want to use another account, assign the Veeam Backup Administrator role or the Veeam Backup Operator and Veeam Restore Operator roles to the account. To learn how to assign Veeam Backup & Replication roles, see the Roles and Users section of the Veeam Backup & Replication Guide. |
- Select the backup repository where you want to store backups. In the terminal dialog, 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 |
Important |
Otherwise, the repositories will not be listed as available. To learn how to configure access and encryption settings on repositories, see Access and Encryption Settings on Repositories. |
If you start the wizard for the first time on an SAP HANA scale-out cluster, the wizard asks you for a cluster name. The cluster name will be used by Veeam Backup & Replication to identify the backup job for the cluster. Further runs of the wizard within the SAP HANA scale-out cluster will not ask for this entry again.
Configuration of Veeam Plug-in on Multiple SAP HANA Instances
chown root:<youradmingroup> /opt/veeam/VeeamPluginforSAPHANA/veeam_config.xml chmod 664 /opt/veeam/VeeamPluginforSAPHANA/veeam_config.xml |
To learn about required permissions for backup and restore operations within SAP HANA, see the Authorization for Backup and Recovery section of the SAP HANA Administration Guide.
Verifying Configuration of Veeam Plug-in for SAP HANA
To verify that the Backint Agent is configured correctly, do the following:
- Connect to the database using SAP HANA Studio or Cockpit.
- Go to Backup/Configuration.
- In the Backint Agent field, make sure that the specified path leads to /opt/veeam/VeeamPluginforSAPHANA/hdbbackint.
See the list of available commands for SapBackintConfigTool:
Command | Description |
---|---|
--help | Shows the list of tool parameters. |
--show-config | Shows configuration parameters. |
--wizard | Starts the wizard to configure the plug-in settings. This wizard edits the veeam_config.xml file or creates a new one if the configuration file was removed from the /opt/veeam/VeeamPluginforSAPHANA directory. |
--set-credentials <"serv\username"> <password> | Specifies credentials to log in to the Veeam Backup & Replication server. |
--set-host <hostname> | Specifies the IP address or hostname of the Veeam Backup & Replication server. |
--set-port <port_number> | Specifies a port number that will be used to communicate with the Veeam Backup & Replication server. |
--set-repository | Launches a wizard to select a backup repository. A backup repository is selected from repositories which are available in the connected Veeam Backup & Replication instance. |
--set-restore-server | [for System Copy] Specifies the backup that will be copied. |
--map-backup | Maps the imported backup. |
--set-force-delete | Deletes backup files after specified days. |
--configure-restore-from-copy | Enables restore from backup copy. Note that if you enable restore from backup copy, you cannot back up databases with Veeam Plug-in. To revert changes, you must disable restore from backup copy. Note that when you launch the command, the wizard will ask you to reconfigure the catalog backup from backint to disk. |
--promote-backup-copy-to-primary | Maps the imported backup copy to a regular Veeam Plug-in backup chain. |