When are Log Backups Aged Along with Full Backups
Selective Online Full Backup Retention Rules
Data Aging Rules for Jobs Completed with Errors
Data Aging Rules for Jobs Completed with Warning
Data Aging is the process of removing old data from secondary storage to allow the associated media to be reused for future backups.
By default, all backup data is retained infinitely. However, you should change the retention of your data based on your needs. Note that if you continue to have infinite retention, you will also need infinite storage capacity.
Extended retention rules can be used in the following circumstances:
In all other cases, it is recommended that the Auxiliary Copy feature be used for extended storage as it actually creates another physical copy of the data, thereby reducing the risk of data loss due to media failure.
Extended retention allows you to retain a specific full (or synthetic full) backup for an additional period of time. For example, you may want to retain your monthly full backups for 90 days.
Extended retention rules allow you to define three additional "extended" retention periods for full (or synthetic full) backups. For example:
A backup job will be selected for extended retention based on its start time. For example: If a backup job starts at 11:55 pm on August 31st and ends at 1 am on September 1st, then it will be selected as the last full backup for the month of August and will be picked up for extended retention.
|
![]() |
Log Backups (transaction, archive, or logical logs) are not considered part of the backup cycle. Therefore, storage policy cycle retention parameters do not apply to them. However, log backups may be linked to data backup operations depending on how the backups are performed. The following table helps to determine if log backups are linked to full backups:
Backup scenarios | Are Log and full backups linked? | Retention rules |
Log backups and full backups (data only or data and logs) are running at
the same time
|
Yes | Log backups and full backups follow the standard data aging rules. |
A full backup is performed including data only | Yes, the next log backup job will be linked | Linked log backups are not aged until the linked data is aged. In
addition, the following is also considered:
|
A full backup is performed including data and log phases | No, the next log backup will not be linked |
Unlinked log backups follow the data aging rules for log
backups. If you want such log backups to be aged according to the defined
days retention rule for the data, you can do so as follows:
|
Retention rules can be set for archive log backups and data for long term archiving purposes. This can be achieved by enabling Selective Online full backup. The advantage of this type of backup is that both data and logs use the same storage policy. During a disaster recovery situation it becomes easier to locate different offsite media from various jobs to gather the necessary data and logs to recover the database. Follow the steps given below to selective online full backups of the Oracle database:
util_file
util_file_online
Command line log backups can be linked to third-party data backups as well as any other kind of backup data as per the regular data link rule.
Retention cycles are not used for copies involved in operations from the command line. For such operations, data is aged according to the associated retention time. However, you can manually set the retention time for each command line job from the storage policy copy. The command line log backups will be aged according to the retention time set for its associated command line data backup job.
Jobs that are completed with errors are not treated as a valid full backup job and hence are pruned based on basic retention rules. However, in case if you require to apply extended retention rules to these jobs, you can exclude jobs that completed with errors during extended retention calculations. Note that this option is applicable only for SAP for Oracle Selective Online full backup jobs.
For jobs that are completed with warning are treated as regular full backup jobs and utilize the same data aging rules defined for regular full jobs.
Back to Top
Advanced Topics |
Provides comprehensive information on additional Data Aging capabilities.
|