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 parameter 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. To get this object, run the New-VBRDatabaseProcessingOptions cmdlet.

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 Object object. To get this object, run the Get-VBRProtectionGroup cmdlet.

False

Named

False

OracleRMANProcessingOptions

For Veeam Plug-in for Oracle RMAN.

Specifies the Oracle RMAN database processing settings.

Accepts the VBROracleRMANProcessingOptions type. To get this object, run the New-VBROracleRMANProcessingOptions cmdlet.

False

Named

False

SAPHANAProcessingOptions

For Veeam Plug-in for SAP HANA.

Specifies the SAP HANA database processing settings.

Accepts the VBRSAPHANAProcessingOptions object. To get this object, run the New-VBRSAPHANAProcessingOptions cmdlet.

False

Named

False

SAPOnOracleProcessingOptions

For Veeam Plug-in for SAP on Oracle.

Specifies the SAP on Oracle database processing settings.

Accepts the VBRSAPOnOracleProcessingOptions type. To get this object, run the New-VBRSAPOnOracleProcessingOptions cmdlet.

False

Named

False

PluggableDatabasesOptions

For Veeam Plug-in for Oracle RMAN.

Specifies the settings for pluggable databases.

Accepts the VBRPluggableDatabasesOptions object. To get this object, run the New-VBRPluggableDatabasesOptions cmdlet.

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:

  1. Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $group variable.
  2. Run the Get-VBRCredentials cmdlet. Save the result to the $db_administrator variable.
  3. Run the New-VBRSAPOnOracleProcessingOptions cmdlet. Set the $db_administrator variable as the Credentials parameter value. Specify the DeleteSourceLogs and ArchiveLogBackupPeriod parameter values. Save the result to the $processing_settings variable.
  4. Run the New-VBRDatabaseProcessingOptions cmdlet. Set the $group as the BackupObject parameter value. Set the $processing_settings variable as the SAPOnOracleProcessingOptions parameter value. Save the result to the $options variable.
  5. Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $updated_group variable.
  6. Run the Set-VBRDatabaseProcessingOptions cmdlet. Set the $options variable as the Options parameter value. Set the $updated_group variable as the BackupObject parameter value.

Related Commands

Page updated 5/6/2024

Page content applies to build 12.3.0.310