New-VBRSAPHANACredentialsOptions

Short Description

Creates the SAP HANA credentials settings for application backup policies.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRSAPHANACredentialsOptions -SAPSystem <VBRDiscoveredSAPHANA> -SSHCredentials <CCredentials> -BackupCredentials <CCredentials> [<CommonParameters>]

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.
  • SSH credentials to connect to the SAP system.
  • OS user credentials to connect to the SAP system.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

SAPSystem

Specifies the name of the SAP system.

Accepts the VBRDiscoveredSAPHANA object.

True

Named

False

SSHCredentials

Specifies the database user credentials for SAP HANA database processing.

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

True

Named

False

BackupCredentials

Specifies the OS user credentials for SAP HANA database processing.

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

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRSAPHANACredentialsOptions object that defines SAP HANA credentials settings.

Example

This example shows how to create an SAP HANA credentials settings for application backup policies for Veeam Plug-in for SAP HANA.

To create the SAP HANA credentials settings, perform the following steps:

  1. Run Get-VBRCredentials to get the OS user credentials for the SAP system. Save the result to the $os_administrator variable.
  2. Run  Get-VBRCredentials to get the database user credentials for the SAP system. Save the result to the $db_administrator variable.
  3. Run New-VBRSAPHANACredentialsOptions with the $os_administrator and $db_administrator variables. Use the SAPSystem parameter to specify the SAP system name.

$os_administrator = Get-VBRCredentials

$db_administrator = Get-VBRCredentials

New-VBROracleRMANProcessingOptions -SAPSystem SH4 -SSHCredentials $os_administrator -BackupCredentials $db_administrator