Set-VBRDatabaseProcessingOptions
Short Description
Modifies the database processing settings for application backup policies.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRDatabaseProcessingOptions -BackupObject <Object> [-OracleRMANProcessingOptions <VBROracleRMANProcessingOptions>] [-SAPHANAProcessingOptions <VBRSAPHANAProcessingOptions>] [-SAPOnOracleProcessingOptions <VBRSAPOnOracleProcessingOptions>] [-PluggableDatabasesOptions <VBRPluggableDatabasesOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRDatabaseProcessingOptions object that contains database processing settings for application backup policies.
You can use this cmdlet to create a schedule for application backup policies for the following Veeam Plug-ins managed by Veeam Backup & Replication:
- Veeam Plug-in for Oracle RMAN
- Veeam Plug-in for SAP HANA
- Veeam Plug-in for SAP on Oracle
Note |
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Options | Specifies the database processing options that you plan to modify. | Accepts the VBRSAPOnOracleProcessingOptions object. | True | Named | True (ByValue) |
BackupObject | Specifies an array of protection groups and discovered computers that you want to add to the application backup policy. | Accepts the VBRProtectionGroup type. | False | Named | False |
OracleRMANProcessingOptions | For Veeam Plug-in for Oracle RMAN. Specifies the Oracle RMAN database processing settings. | Accepts the VBROracleRMANProcessingOptions type. | False | Named | False |
SAPHANAProcessingOptions | For Veeam Plug-in for SAP HANA. Specifies the SAP HANA database processing settings. | Accepts the VBRSAPHANAProcessingOptions type. | False | Named | False |
SAPOnOracleProcessingOptions | For Veeam Plug-in for SAP on Oracle. Specifies the SAP on Oracle database processing settings. | Accepts the VBRSAPOnOracleProcessingOptions type. | False | Named | False |
PluggableDatabasesOptions | For Veeam Plug-in for Oracle RMAN. Specifies the settings for pluggable databases. | Accepts the VBRSAPOnOracleProcessingOptions type. | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Example
This example shows how to create a SAP on Oracle database processing settings for application backup policies for Veeam Plug-in for SAP on Oracle and modify the backup object.
To create and modify the SAP on Oracle database processing settings, perform the following steps:
- Run Get-VBRProtectionGroup to get the protection group with computers where Veeam Plug-in for SAP on Oracle is installed. Save the result to the $group variable.
- Run Get-VBRCredentials to get the credentials for the Oracle database system. Save the result to the $db_administrator variable.
- Run New-VBRSAPOnOracleProcessingOptions with the $db_administrator variable. Use the DeleteSourceLogs parameter to delete archived logs that were backed up and the ArchiveLogBackupPeriod parameter to specify log backup frequency. Save the result to the $processing_settings variable.
- Run New-VBRDatabaseProcessingOptions with the $group, $db_administrator and $processing_settings variables. Save the result to the $options variable.
- Run Get-VBRProtectionGroup to get another protection group with computers where Veeam Plug-in for SAP on Oracle is installed. Save the result to the $updated_group variable.
- Run Set-VBRDatabaseProcessingOptions with the $updated_group variable.
$group = Get-VBRProtectionGroup -Name "Database Servers" $db_administrator = Get-VBRCredentials $processing_settings = New-VBRSAPOnOracleProcessingOptions -Credentials $db_administrator -DeleteSourceLogs Keep -ArchiveLogBackupPeriod 15 $options = New-VBRDatabaseProcessingOptions -BackupObject $group -SAPOnOracleProcessingOptions $processing_settings $updated_group = Get-VBRProtectionGroup -Name "SAP on Oracle Servers" Set-VBRDatabaseProcessingOptions -Options $options -BackupObject $updated_group |
Related Commands