New-VBROracleProcessingOptions
Short Description
Creates settings for processing Oracle database archived logs.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides the following parameter sets.
- To specify Oracle processing settings for the backup policy that Veeam Agent job applies to Linux computers.
- To specify Oracle processing settings for the other types of Veeam Agent backup jobs.
New-VBROracleProcessingOptions -ArchivedLogAction <VBROracleArchivedLogAction> {NotDelete | DeleteByTime | DeleteBySize} [-Credentials <CCredentials>] [-ArchiveLogDeletionPeriod <int>] [-ArchiveLogDeletionSize <int>][-EnableArchiveLogBackup] [-ArchiveLogBackupPeriod <int>] [-ArchiveLogRetainAction <VBRLogRetainAction>{WaitForBackupDeletion | KeepOnlyLastDays}] [-ArchiveLogRetainPeriod <int>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a VBROracleProcessingOptions object that contains settings for processing Oracle archived logs in Veeam Agent backup jobs. You can set Veeam Backup & Replication to apply the following settings:
- Preserve the archived logs
- Delete them after a certain retention period
- Delete the archived logs that are larger than the specified GB
|
Processing of the Oracle database logs is not available for failover clusters. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
ArchivedLogAction | Specifies action for Oracle archived logs.
| True | 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. Accepts the CCredentials type. | True | Named | False |
|
ArchiveLogDeletionPeriod | For the DeleteByTime action. Specifies the number of hours for keeping archived logs. Default: 24. | False | Named | False |
|
ArchiveLogDeletionSize | For the DeleteBySize action. Specifies the size limits in GB for the logs to keep them on the server. Default: 10. | False | Named | False |
|
EnableArchiveLogBackup | Indicates that Veeam Backup & Replication will backup Oracle archived logs. NOTE: This parameter does not work for backup policies that Veeam Agent job applies to Linux computers. | False | Named | False |
|
ArchiveLogBackupPeriod | For the EnableArchiveLogBackup parameter. Specifies how often Veeam Backup & Replication will back up archived logs. Default: every 15 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.
| False | Named | False |
|
ArchiveLogRetainPeriod | For the EnableArchiveLogBackup parameter. Specifies the number of days to keep backups of the archived logs. Default: 15. | 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 1
This example shows how to create Oracle processing settings for a Veeam Agent job that backs up Linux computers.
- Run Get-VBRCredentials to specify the credentials to connect to the Oracle database. Save the result to the $creds variable.
- Run New-VBROracleProcessingOptions with the $creds variable.
Example 2
This command creates 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 if they exceed 17 GB.
- Veeam Backup & Replication will back up the archived logs every 25 minutes.
New-VBROracleProcessingOptions -ArchivedLogAction DeleteBySize -ArchiveLogDeletionSize 17 -ArchiveLogBackupPeriod 25 -ArchiveLogRetainAction -EnableArchiveLogBackup |
Related Commands