--- title: "New-VBRSAPHANACredentialsOptions" description: "Creates the SAP HANA credentials settings for application backup policies. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet applies to application backup policies for Veeam Plug-In for SAP HANA." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrsaphanacredentialsoptions.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Plug-Ins for Enterprise Applications, MongoDB Backup and Epic EHR System Protection > Working with Managed Veeam Plug-Ins, MongoDB Backup and Epic EHR System Protection > Application Backup Policy Settings for Veeam Plug-In for SAP HANA > New-VBRSAPHANACredentialsOptions" dateModified: "2026-08-19" --- # New-VBRSAPHANACredentialsOptions ## Short Description Creates the SAP HANA credentials settings for application backup policies. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` New-VBRSAPHANACredentialsOptions -SAPSystem -SSHCredentials -BackupCredentials [] ``` ## Detailed Description This cmdlet applies to application backup policies for Veeam Plug-In for SAP HANA. This cmdlet creates SAP HANA credentials settings. You can set up the following options: - The name of the SAP system. - OS user account to run the HDBSQL command line tool. - DB user account to perform backup and recovery operations. ::: important Keep in mind the following user account privilege requirements: - The OS user account must have sufficient privileges to run the HDBSQL command line tool — for example, this can be the `adm` user. - The DB user account used to perform backup and recovery operations with system and tenant databases must have the following privileges: - *BACKUP ADMIN* - *CATALOG READ* - *DATABASE BACKUP ADMIN* ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

BackupCredentials

Specifies the DB user account credentials for SAP HANA database processing.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet.

CCredentials

True

Named

False

SAPSystem

Specifies the name of the SAP system.

Accepts string or the VBRDiscoveredSAPHANA object. To get this object, run the Get-VBRDiscoveredApplication cmdlet.

VBRDiscoveredSAPHANA

True

Named

False

SSHCredentials

Specifies the OS user account credentials for SAP HANA database processing.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet.

CCredentials

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `VBRSAPHANACredentialsOptions` object that defines SAP HANA credentials settings. ## Examples ::: example ### Creating SAP HANA Credentials Settings for Application Backup Policies for Veeam Plug-In for SAP HANA This example shows how to create an SAP HANA credentials settings for application backup policies for Veeam Plug-In for SAP HANA. ``` $os_administrator = Get-VBRCredentials $db_administrator = Get-VBRCredentials New-VBRSAPHANAProcessingOptions -SAPSystem SH4 -SSHCredentials $os_administrator -BackupCredentials $db_administrator ``` Perform the following steps: 1. Run the [`Get-VBRCredentials`](get-vbrcredentials.md) cmdlet. Save the result to the `$os_administrator` variable. 2. Run the [`Get-VBRCredentials`](get-vbrcredentials.md) cmdlet. Save the result to the `$db_administrator` variable. 3. Run the `New-VBRSAPHANACredentialsOptions` cmdlet. Specify the `SAPSystem` parameter value. Set the `$os_administrator` as the `SSHCredentials` parameter value. Set the `$db_administrator` variable as `BackupCredentials` parameter value. ::: ## Related Commands - [`Get-VBRCredentials`](get-vbrcredentials.md) - [`Get-VBRDiscoveredApplication`](get-vbrdiscoveredapplication.md)