Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Set-VBROracleProcessingOptions

Short Description

Modifies settings for processing Oracle database archived logs.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Set-VBROracleProcessingOptions -Options <VBROracleProcessingOptions> [-Credentials <CCredentials>] [-ArchivedLogAction <VBROracleArchivedLogAction> {NotDelete | DeleteByTime | DeleteBySize}][-ArchiveLogDeletionPeriod <int>] [-ArchiveLogDeletionSize <int>] [-EnableArchiveLogBackup]
[-ArchiveLogBackupPeriod <int>] [-ArchiveLogRetainAction <VBRLogRetainAction> {WaitForBackupDeletion |KeepOnlyLastDays}] [-ArchiveLogRetainPeriod <int>] [<CommonParameters>]

Detailed Description

This cmdlet modifies the Oracle database processing settings for Veeam Agent backup jobs. To modify settings, enter the necessary parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Options

Specifies Oracle processing options that you want to modify.

Accepts the VBROracleProcessingOptions type.

True

Named

True (ByValue)

 

Credentials

Specifies the credentials of the account with SYSDBA privileges. Veeam Backup & Replication will use these credentials to connect to the Oracle database.

NOTE: this parameter is required for the backup policy that Veeam Agent job applies to Linux computers.

Accepts the CCredentials type.

False

Named

False

 

ArchivedLogAction

Specifies action for Oracle archived logs.

  • NotDelete: use this option to keep archived logs.
  • DeleteByTime: use this option if you want to delete archived logs that are older than <N> hours.
  • DeleteBySize: use this option if you want to delete archived logs that are larger than <N> GB.

False

Named

False

 

ArchiveLogDeletionPeriod

For the DeleteByTime action.

Specifies the number of hours for keeping archived logs.

False

Named

False

 

ArchiveLogDeletionSize

For the DeleteBySize action.

Specifies the size limits in GB for the logs to keep them on the server.

False

Named

False

 

EnableArchiveLogBackup

Indicates that Veeam Backup & Replication will backup Oracle archived logs.

NOTE: This parameter does not work for for backup policies that Veeam Agent job applies to Linux computers.

False

Named

False

 

ArchiveLogBackupPeriod

For the EnableArchiveLogBackup parameter.

Specifies the number of days for the archived logs to keep them on the server.

Maximum: 480 minutes.

False

Named

False

 

ArchiveLogRetainAction

For the EnableArchiveLogBackup parameter.

Specifies retention policy for the archived logs backups. Veeam Backup & Replication will apply the policy for archived logs stored in the backup repository.

  • WaitForBackupDeletion: use this option to keep archived log backups the same period as the image-level backups.
  • KeepOnlyLastDays: use this option to keep archived log backups for a specific number of days.

False

Named

False

 

ArchiveLogRetainPeriod

For the EnableArchiveLogBackup parameter.

Specifies the number of days to keep backups of the archived logs.

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example

This example shows how to modify Oracle processing settings for a Veeam Agent job that backs up Windows computers. The job will run with the following options:

  • Veeam Backup & Replication will trigger the truncation of the logs which are older than 17 hours.
  • Veeam Backup & Replication will back up the archived logs every 25 minutes.
  • Veeam Backup & Replication will keep the backups of the archived logs the same period as the image-level backups.

To modify Oracle processing settings, perform the following steps:

  1. Run New-VBROracleProcessingOptions to specify Oracle settings. Save the result to the $oracle variable.
  2. Run Set-VBROracleProcessingOptions with the $oracle variable.

$oracle = New-VBROracleProcessingOptions -ArchivedLogAction DeleteBySize -ArchiveLogDeletionSize 20

Set-VBROracleProcessingOptions Options $oracle -ArchivedLogAction DeleteByTime -ArchiveLogDeletionPeriod 17 -ArchiveLogBackupPeriod 25 -ArchiveLogRetainAction WaitForBackupDeletion -EnableArchiveLogBackup

Related Commands

New-VBROracleProcessingOptions

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation