Managing Logs for an Oracle Backup Job

You can configure the following archive log options for a specific backup job.

  • The archive log deletion criteria (for example delete logs older than a specified number of days). You must backup the archive logs before deleting them.
  • The archive log file backup location.

The archive log options listed above override the corresponding archive log options on the subclient for this job. For more information on managing archive logs on the subclient, see Managing Oracle Log Files for a Subclient.

Before You Begin

Procedure

  1. From the CommCell Browser, expand Client Computers > client > Oracle > instance.
  2. Right-click the subclient configured for archive log backup and then click Backup.
  3. On the Backup Options dialog box, click Advanced.
  4. On the Backup Archive Logs tab of the Advanced Backup Options dialog box, select the archive log deletion criterion:
    Choice Description
    All Deletes all logs
    Older than n Days Deletes logs older than the specified number of days
    Not Older than n Days Deletes logs not older than the specified number of days
    By Log Time Deletes logs in the specified time range.

    Select the Start Time and End Time check boxes and enter the start and end times of the logs.

    If you only specify the start log time, all logs are backed up from the start time to the current time.

    By Log Seq Num Deletes logs in a specified sequence range.

    The Log Sequence Number uniquely identifies an archive log. For example, if you create a database with two online log files, then the first file is assigned log sequence number1. When the first file fills Oracle switches to the second file and assigns a log sequence number of 2.

    Select the Start Sequence Number and End Sequence Number check boxes and enter the beginning and ending sequence numbers

    By Sys change Num Deletes logs in the specified System Change Number range.

    The SCN is a stamp that defines a committed version of a database at a point in time. Oracle assigns every committed transaction a unique SCN. For example, SCNs of two successive committed transactions could be 576601 and 576799.

    Select the Start Sys chg Num and End Sys chg Num check boxes and enter the beginning and ending SCNs:

    The end serial number must be greater than or equal to the start serial number. •

    The start and the end SCN cannot be 0.

    If you provide only the start SCN, is the only one provided, only the logs starting that start from that sequence number are backed up.

    Like Deletes logs with a file name that starts with a specified string.

    Enter the string to match.

    Not Backed up Deletes logs that have not been backed up a specified number of times.

    Enter the number of times a log must be backed up.

  5. On the Backup Archive Logs tab of the Advanced Backup Options dialog box, where archive logs are deleted from after the backup completes:
    1. Select the DeleteArchiveLog Destinations for Delete check box.
    2. Click Yes to close the warning message.
    3. In the Confirmation dialog box, type confirm and click OK.
    4. Click Add.
    5. On the Select an Archive Log Destination for Deletion dialog box enter the full path to the directory where backup logs are deleted from after the backup completes.
    6. Click OK to close the Select an Archive Log Destination for Deletion dialog box.
  6. Click OK to close the Advanced Backup Options dialog box.
  7. Click OK to close the Backup Options dialog box.