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 <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.
- 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:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupCredentials |
Specifies the DB user account credentials for SAP HANA database processing.
Accepts the |
|
True |
Named |
False |
|
SAPSystem |
Specifies the name of the SAP system.
Accepts string or the |
True |
Named |
False |
|
|
SSHCredentials |
Specifies the OS user account credentials for SAP HANA database processing.
Accepts the |
|
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-VBRSAPHANAProcessingOptions -SAPSystem SH4 -SSHCredentials $os_administrator -BackupCredentials $db_administrator |
Perform the following steps:
- Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Save the result to the$os_administratorvariable. - Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Save the result to the$db_administratorvariable. - Run the
New-VBRSAPHANACredentialsOptionscmdlet. Specify theSAPSystemparameter value. Set the$os_administratoras theSSHCredentialsparameter value. Set the$db_administratorvariable asBackupCredentialsparameter value.
Related Commands
Get-VBRCredentialsReturns credentials records.Get-VBRDiscoveredApplicationReturns discovered applications from the computer.