RMAN job stopped deleting old backups.
I have a simple rman job run on a (11.2.0.1) database nightly, backup the database & archivelogs delete all the archivelogs that have been backed up, and retain 1 day worth of backups.
Script is here:
$rman_script="backup device type disk tag '%TAG' database; backup device type disk tag '%TAG' archivelog all not backed up delete all input; allocate channel for maintenance type disk; delete noprompt obsolete device type disk; release channel; "; &br_save_agent_env(); &br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE"); my $result = &br_backup(); exit($result);
0