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 string or 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 Microsoft Docs.

Output Object

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

Examples

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-VBROracleRMANProcessingOptions -SAPSystem SH4 -SSHCredentials $os_administrator -BackupCredentials $db_administrator

Perform the following steps:

  1. Run the Get-VBRCredentials cmdlet. Save the result to the $os_administrator variable.
  2. Run the Get-VBRCredentials 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.