Specifying Oracle Processing Settings

In this article

    You can enable Oracle processing settings in the properties of a volume-level backup job configured in Veeam Agent for Linux.

    To enable Oracle processing settings for the backup job, use the following command:

    veeamconfig aap set oracle --jobId <job_id> <oracle_options>

    or

    veeamconfig aap set oracle --jobName <job_name> <oracle_options>

    where:

    • <job_id> — ID of the backup job for which you want to enable Oracle processing settings. You should look up the job ID in advance, before configuring Oracle processing settings, for example, with the veeamconfig job list command. To learn more, see Viewing List of Backup Jobs.
    • <job_name> — name of the backup job for which you want to enable Oracle processing settings.

     

    Specifying Oracle Processing Settings TIP

    To view IDs or names of all existent backup jobs, you can press the Tab key right after you type the --jobId or --jobName option.

    Oracle Processing Settings

    You can specify the following Oracle processing settings for the backup job:

    Option

    Description and values

    --tryProcess

    Defines that Veeam Agent must continue the backup process if errors occur when processing the Oracle database system. If you do not specify this option, Veeam Agent will stop the backup process if an error occurs when processing the Oracle database system.

    --pruneLogs

    The number of hours to keep Oracle archived logs or the size of archived logs to keep.

    • If you want Veeam Agent to delete archived logs that are older than <N> hours, specify the necessary value in the <N>H format, For example, 10H.
    • If you want Veeam Agent to delete archived logs that are larger than <N> GB, specify the necessary value in the <N>G format. For example: 10G.

    Veeam Agent will wait for the backup job to complete successfully and then trigger archived logs truncation via Oracle Call Interface (OCI). If the backup job fails, the logs will remain untouched until the next successful backup job session.

    --usrOracleos

    Name of the Veeam Agent machine OS account. To connect to the Oracle database system, the account must be a member of the group that owns configuration files for the Oracle database (for example, the oinstall group).

    You do not need this option if you want to use the Oracle account to connect to the database. Instead, specify the necessary account with the --usroracledb option.

    --usrOracledb

    Name of the Oracle account. To connect to the Oracle database system, the account must have SYSDBA rights on the databases to be processed.

    You do not need this option if you want to use the OS account to connect to the database. Instead, specify the necessary account with the --usroracleos option.

    For example:

    user@srv01:~$ veeamconfig aap set oracle --jobId 29bc2e1a-e35c-4efb-8d37-b7177b8ea75 --tryProcess --pruneLogs 10G --usrOracledb system