New-VBRDatabaseProcessingOptions

Short Description

Creates the database processing settings for application backup policies.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-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

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 VBRProtectionGroup type.

True

Named

False

OracleRMANProcessingOptions

For Veeam Plug-in for Oracle RMAN.

Specifies the Oracle RMAN database processing settings.

Accepts the VBROracleRMANProcessingOptions type.

True

Named

False

SAPHANAProcessingOptions

For Veeam Plug-in for SAP HANA.

Specifies the SAP HANA database processing settings.

Accepts the VBRSAPHANAProcessingOptions type.

True

Named

False

SAPOnOracleProcessingOptions

For Veeam Plug-in for SAP on Oracle.

Specifies the SAP on Oracle database processing settings.

Accepts the VBRSAPOnOracleProcessingOptions type.

True

Named

False

PluggableDatabasesOptions

For Veeam Plug-in for Oracle RMAN.

Specifies the settings for pluggable databases.

Accepts the VBRSAPOnOracleProcessingOptions type.

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Example 1

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. The policy will back up archived logs every 15 minutes and send application backups to the target storage using 3 parallel data channels.

To create the SAP on Oracle database processing settings, perform the following steps:

  1. 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.
  2. Run Get-VBRCredentials to get the credentials for the Oracle database system. Save the result to the $db_administrator variable.
  3. 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.
  4. Run New-VBRDatabaseProcessingOptions with the $group, $db_administrator and $processing_settings variables.

$group = Get-VBRProtectionGroup -Name "Database Servers"

$db_administrator = Get-VBRCredentials

$processing_settings = New-VBRSAPOnOracleProcessingOptions -Credentials $db_administrator -DeleteSourceLogs Keep -ArchiveLogBackupPeriod 15

New-VBRDatabaseProcessingOptions -BackupObject $group -SAPOnOracleProcessingOptions $processing_settings

Related Commands

Get-VBRProtectionGroup

Get-VBRCredentials

New-VBRSAPOnOracleProcessingOptions