#1 Global Leader in Data Protection & Ransomware Recovery

How to Collect Logs for Veeam Plug-in for SAP HANA

KB ID: 2872
Product: Veeam Backup & Replication | 10 | 11 | 12 | 12.1
Published: 2019-01-25
Last Modified: 2023-09-25
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Purpose

This article documents how to collect the diagnostic information needed for a support case involving the Veeam Plug-in for SAP HANA.
 

Solution

  1. Collect diagnostic information as documented in the four sections below.
  2. Combine the data into a single .zip file.
  3. Attach the zip file to the Veeam Support case.

1) Veeam Plugin Logs on Veeam Servers

Collect logs found within the plugin folder on the Veeam Backup Server and all Backup Repositories*.

*For repositories other than Windows and Linux, the log files will be located on the Gateway server associated with the repository.

Veeam Backup Server / Windows Repository
%ProgramData%\Veeam\Backup\Plugin
Linux Repository
/var/log/VeeamBackup/Plugin

 

For Managed Backups

If the backup is managed by Veeam Backup & Replication, please also collect the following:

  • From the Veeam Backup Server, all logs within: %programdata%\Veeam\Backup\Rescan
  • Job logs as per KB1832

2) Veeam Plugin Logs on the SAP HANA Server

  • Collect plugin logs found within the folder indicated below on the SAP HANA server.
    /tmp/veeam_plugin_logs
    
    Example:
cd /tmp/veeam_plugin_logs/ && tar -cvf - . |  gzip -9  >  ~/$(hostname)-$(date +"%Y-%m-%d_%H-%M-%S-%z-")-veeam_plugin_logs.tar.gz && cd -

The output file will be written to the home folder of the account running the command. The exported log file's name will be unique and include the hostname, date stamp, and timezone.

  • If the backup is managed by Veeam Backup & Replication, please also collect the following logs from the folder: /var/log/VeeamBackup/
    • VeeamDeploymentCli.log
    • VeeamDeploymentDll.log
    • VeeamDeploymentSupervisor.log
    • VeeamDeploymentSvc.log
    • VeeamDeploymentVcpServer.log
    • VeeamEnvironmentSvc.log
    • VeeamImmutableRepoSvc.log
    • VeeamInstaller.Default.log
    • VeeamTransportCli.log
    • VeeamTransportSvc.log


Alternatively, collect all logs from the /var/log/VeeamBackup/ folder with this command:

cd /var/log/VeeamBackup/ && sudo tar -cvf - . | gzip -9 > ~/$(hostname)-$(date +"%Y-%m-%d_%H-%M-%S-%z-")-veeam_deployment_logs.tar.gz && cd -

3) External Backups List

This step should be done on the SAP HANA server.

Use the following query against each database to save information about available backup files and their EBID values.

SELECT BACKUP_ID,SOURCE_TYPE_NAME,HOST,BACKUP_SIZE,DESTINATION_PATH,EXTERNAL_BACKUP_ID FROM M_BACKUP_CATALOG_FILES WHERE DESTINATION_TYPE_NAME='backint'
For each database, save the results to a text file named after the database.

4) SAP HANA Server System information

This step should be done on the SAP HANA server.

Use the following command to save information about available systems running on the SAP HANA server.

ps -eo pid,command | grep -v grep | grep -v sapstartsrv | grep sapstart | awk '{print $3}'
Save the output as a text file.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.