Set-VBROracleRMANProcessingOptions

Short Description

Modifies the Oracle RMAN database processing settings for application backup policies.

Applies to

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

Syntax

Set-VBROracleRMANProcessingOptions -Options <VBROracleRMANProcessingOptions> [-Credentials <CCredentials>] [-ArchivedLogAction {Keep | Delete}] [-ArchiveLogBackupPeriod <int>] [-ParallelChannelsCount <int>]  [<CommonParameters>]

Detailed Description

This cmdlet applies to application backup policies for Veeam Plug-in for Oracle RMAN.

This cmdlet modifies Oracle RMAN database processing settings. You can update the following options:

  • Credentials that Veeam Backup & Replication will use to connect to the database system.
  • The way Veeam Backup & Replication will process archived logs.
  • Schedule settings for archived logs processing.
  • Number of data channels to back up archived logs.

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

True

Named

True (ByValue)

Credentials

Specifies the credentials for Oracle RMAN database processing.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet.

True

Named

False

ArchivedLogAction

Specifies the way of database processing:

  • Keep: to keep archived logs that were backed up.
  • Delete: to delete archived logs that were backed up.

VBROracleRMANArchivedLogAction

False

Named

False

ArchiveLogBackupPeriod

Specifies the integer defining the frequency for archived logs backup in minutes.

Permitted values: 5 to 480.

Int32

False

Named

False

ParallelChannelsCount

Specifies the integer defining the number of data channels that can be assigned.

Int32

False

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 VBROracleRMANOptions object that defines Oracle RMAN database processing settings.

Examples

Creating and Modifying Oracle RMAN Backup Settings for Application Backup Policies for Veeam Plug-in for Oracle RMAN

This example shows how to create and modify an Oracle RMAN backup settings for application backup policies for Veeam Plug-in for Oracle RMAN. The modified policy will send application backups to the target storage using 3 parallel data channels.

$db_administrator = Get-VBRCredentials

$processoptions = New-VBROracleRMANProcessingOptions -Credentials $db_administrator -ArchivedLogAction Keep -ArchiveLogBackupPeriod 15 -ParallelChannelsCount 1

Set-VBROracleRMANProcessingOptions -Options $processoptions -Credentials $db_administrator -ParallelChannelsCount 3

Perform the following steps:

  1. Run the Get-VBRCredentials cmdlet. Save the result to the $db_administrator variable.
  2. Run the New-VBROracleRMANProcessingOptions cmdlet. Set the $db_administrator variable as the Credentials parameter value. Specify the ArchivedLogAction, ArchiveLogBackupPeriod and ParallelChannelsCount parameter values. Save the result to the $processoptions variable.
  3. Run the Set-VBROracleRMANProcessingOptions cmdlet. Set the $processoptions variable as the Options parameter value. Set the $db_administrator variable as the Credentials parameter value. Specify the ParallelChannelsCount parameter value.