Oracle® Database Backup and Recovery Reference 11g Release 2 (11.2) Part Number E10643-01 |
|
|
View PDF |
Purpose
Use the recordSpec
subclause to specify which backups or copies the CHANGE
, CROSSCHECK
, DELETE
, and LIST
commands should process.
Most recordSpec
options allow you to specify a primary key. Use the output of the LIST
command to obtain primary keys.
Syntax
recordSpec::=
Semantics
Examples
Example 4-32 Crosschecking Backups
This example crosschecks backup sets specified by primary key:
RMAN> LIST BACKUP SUMMARY; List of Backups =============== Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag ------- -- -- - ----------- --------------- ------- ------- ---------- --- 8504 B A A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T155057 8558 B F A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T155114 9872 B F A DISK 08-MAR-07 1 1 NO TAG20070308T160830 9954 B A A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T161157 9972 B F A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T161224 10021 B A A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T161251 10042 B F A SBT_TAPE 08-MAR-07 1 1 NO TAG20070308T161308 10185 B F A DISK 08-MAR-07 1 1 NO TAG20070308T170532 10210 B F A DISK 08-MAR-07 1 1 NO TAG20070308T170535 RMAN> CROSSCHECK BACKUPSET 9872, 10185, 10210; allocated channel: ORA_SBT_TAPE_1 channel ORA_SBT_TAPE_1: SID=103 device type=SBT_TAPE channel ORA_SBT_TAPE_1: Oracle Secure Backup using channel ORA_DISK_1 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=/disk2/PROD/autobackup/2007_03_08/o1_mf_s_616694910_2z19d0wg_.bkp RECID=197 STAMP=616694912 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=/disk2/PROD/backupset/2007_03_08/o1_mf_nnsnf_TAG20070308T170532_2z1dpwz6_.bkp RECID=202 STAMP=616698332 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=/disk2/PROD/autobackup/2007_03_08/o1_mf_s_616698335_2z1dq0d0_.bkp RECID=203 STAMP=616698336 Crosschecked 3 objects