Set-VBROracleProcessingOptions
Short Description
Modifies settings for processing Oracle database archived logs.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBROracleProcessingOptions -Options <VBROracleProcessingOptions> [-Credentials <CCredentials>] [-ArchivedLogAction <VBROracleArchivedLogAction>] [-ArchiveLogDeletionPeriod <Int32>] [-ArchiveLogDeletionSize <Int32>] [-EnableArchiveLogBackup] [-ArchiveLogBackupPeriod <Int32>] [-ArchiveLogRetainAction <VBRLogRetainAction>] [-ArchiveLogRetainPeriod <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the Oracle database processing settings for Veeam Agent backup jobs.
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 |
|---|---|---|---|---|---|
|
ArchivedLogAction |
Specifies action for Oracle archived logs.
|
|
False |
Named |
False |
|
ArchiveLogBackupPeriod |
For the Specifies how often Veeam Backup & Replication will back up archived logs. Default: every 15 minutes. |
|
False |
Named |
False |
|
ArchiveLogDeletionPeriod |
For the Specifies the number of hours for keeping archived logs. |
|
False |
Named |
False |
|
ArchiveLogDeletionSize |
For the Specifies the size limits in GB for the logs to keep them on the server. |
|
False |
Named |
False |
|
ArchiveLogRetainAction |
For the Specifies retention policy for the archived logs backups. Veeam Backup & Replication will apply the policy for archived logs stored in the backup repository.
|
|
False |
Named |
False |
|
ArchiveLogRetainPeriod |
For the Specifies the number of days to keep backups of the archived logs. |
|
False |
Named |
False |
|
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. |
|
False |
Named |
False |
|
EnableArchiveLogBackup |
Enables the option to backup Oracle archived logs. Note: This parameter does not work for backup policies that Veeam Agent job applies to Linux computers. |
|
False |
Named |
False |
|
Options |
Specifies Oracle processing options that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBROracleProcessingOptions object that contains settings for processing Oracle database archived logs.
Examples
Modifying Oracle Processing Settings for Veeam Agent Backup Job (Windows)
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.
|
$oracle = New-VBROracleProcessingOptions -ArchivedLogAction DeleteBySize -ArchiveLogDeletionSize 20 Set-VBROracleProcessingOptions -Options $oracle -ArchivedLogAction DeleteByTime -ArchiveLogDeletionPeriod 17 -ArchiveLogBackupPeriod 25 -ArchiveLogRetainAction WaitForBackupDeletion -EnableArchiveLogBackup |
Perform the following steps:
- Run the
New-VBROracleProcessingOptionsCreates settings for processing Oracle database archived logs. cmdlet. Specify theArchivedLogActionandArchiveLogDeletionSizeparameter values. Save the result to the$oraclevariable. - Run the
Set-VBROracleProcessingOptionscmdlet. Specify the following settings:- Set the
$oraclevariable as the Options parameter value. - Set the
DeleteByTimeoption for theArchivedLogActionparameter. - Specify the
ArchiveLogDeletionPeriodparameter value. - Specify the
ArchiveLogBackupPeriodparameter value. - Set the
WaitForBackupDeletionoption for theArchiveLogRetainActionparameter. - Provide the
EnableArchiveLogBackupparameter.
- Set the
Related Commands
New-VBROracleProcessingOptionsCreates settings for processing Oracle database archived logs.