This is an archive version of the document. To get the most up-to-date information, see the current version.

Configuring Archived Redo Log Retention

By default, archivelog deletion policy is disabled. While the archivelog deletion policy is disabled, RMAN deletes archived redo log backups according to the backup retention policy. If the backup retention policy is not configured, RMAN stores only the latest archived log backup.

To configure archivelog deletion policy, run the following command. When the number of archived log backups exceeds the specified number, RMAN deletes the oldest archived log backup.

configure archivelog deletion policy

to backed up 3 times to sbt;

To disable archivelog deletion policy, run the following command:

configure archivelog deletion policy to none;

For details, see the Configuring the Backup Retention Policy section of the Oracle Database Backup and recovery User's Guide.