Set-VBRDatabaseProcessingOptions
Short Description
Modifies the database processing settings for application backup policies.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRDatabaseProcessingOptions [-BackupObject <Object>] -Options <VBRDatabaseProcessingOptions> [-OracleRMANProcessingOptions <VBROracleRMANProcessingOptions>] [-SAPHANAProcessingOptions <VBRSAPHANAProcessingOptions>] [-SAPOnOracleProcessingOptions <VBRSAPOnOracleProcessingOptions>] [-MSSQLProcessingOptions <VBRMSSQLProcessingOptions>] [-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
- Veeam Plug-In for Microsoft SQL Server
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupObject |
Specifies an array of protection groups and discovered computers that you want to add to the application backup policy.
Accepts the |
|
False |
Named |
False |
|
MSSQLProcessingOptions |
For Veeam Plug-In for Microsoft SQL Server. Specifies the Microsoft SQL Server database processing settings.
Accepts the |
|
False |
Named |
False |
|
Options |
Specifies the database processing options that you plan to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
OracleRMANProcessingOptions |
For Veeam Plug-In for Oracle RMAN. Specifies the Oracle RMAN database processing settings.
Accepts the |
|
False |
Named |
False |
|
PluggableDatabasesOptions |
For Veeam Plug-In for Oracle RMAN. Specifies the settings for pluggable databases.
Accepts the |
|
False |
Named |
False |
|
SAPHANAProcessingOptions |
For Veeam Plug-In for SAP HANA. Specifies the SAP HANA database processing settings.
Accepts the |
|
False |
Named |
False |
|
SAPOnOracleProcessingOptions |
For Veeam Plug-In for SAP on Oracle. Specifies the SAP on Oracle database processing settings.
Accepts the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRDatabaseProcessingOptions object that contains the database processing settings for application backup policies.
Examples
Creating and Modifying SAP on Oracle Database Processing Settings for Application Backup Policies for Veeam Plug-In for SAP on Oracle
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.
|
$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 |
Perform the following steps:
- Run the
Get-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$groupvariable. - Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Save the result to the$db_administratorvariable. - Run the
New-VBRSAPOnOracleProcessingOptionsCreates the SAP on Oracle database processing settings for application backup policies. cmdlet. Set the$db_administratorvariable as theCredentialsparameter value. Specify theDeleteSourceLogsandArchiveLogBackupPeriodparameter values. Save the result to the$processing_settingsvariable. - Run the
New-VBRDatabaseProcessingOptionsCreates the database processing settings for application backup policies. cmdlet. Set the$groupas theBackupObjectparameter value. Set the$processing_settingsvariable as theSAPOnOracleProcessingOptionsparameter value. Save the result to the$optionsvariable. - Run the
Get-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$updated_groupvariable. - Run the
Set-VBRDatabaseProcessingOptionscmdlet. Set the$optionsvariable as theOptionsparameter value. Set the$updated_groupvariable as theBackupObjectparameter value.
Related Commands
Get-VBRProtectionGroupReturns protection groups.Get-VBRCredentialsReturns credentials records.New-VBRSAPOnOracleProcessingOptionsCreates the SAP on Oracle database processing settings for application backup policies.New-VBRDatabaseProcessingOptionsCreates the database processing settings for application backup policies.New-VBROracleRMANProcessingOptionsCreates the Oracle RMAN database processing settings for application backup policies.New-VBRSAPHANAProcessingOptionsCreates the SAP HANA database processing settings for application backup policies.New-VBRMSSQLProcessingOptionsCreates the Microsoft SQL Server database log backup settings for application backup policies.