Oracle8i Backup and Recovery Guide Release 8.1.5 A67773-01 |
|
To update backup set records from status expired to status deleted in the RMAN metadata. This command will operate only on the recovery catalog records for the backup pieces marked expired by the crosscheck command. Use the list command or query the recovery catalog views to obtain the status of backup sets.
restricts the list of objects to the object type specified in the listObjList clause. If no objects are specified, the command deletes all expired objects: of database controlfile archivelog all. See "listObjList". |
||
tag tag_name |
specifies the tag for the backup set. |
|
specifies a time range for backup completion. See "completedTimeSpec". |
The following example checks the media manager for expired backups of the tablespace USER_DATA that are more than one month old and updates their records to deleted status:
allocate channel for delete ch1 type 'sbt_tape'; crosscheck backup of tablespace user_data completed before 'SYSDATE-31'; delete expired backup of tablespace user_data' completed before 'SYSDATE-31'; release channel;