Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01 |
|
Recovery Manager Command Syntax, 20 of 50
To remove backup set records with status EXPIRED from the recovery catalog. This command operates 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 removes their catalog records:
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;
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|