Use the maintSpec
subclause to specify the backup files operated on by the CHANGE
, CROSSCHECK
, and DELETE
commands.
(listObjList::=, maintQualifier::=, archivelogRecordSpecifier::=, recordSpec::=, deviceSpecifier::=)
Syntax Element | Description |
---|---|
BACKUP |
Processes backup sets. For processing image copies, use the option COPY .
If you do not use the |
OF listObjList |
Restricts the list of files operated on to the object type specified in the listObjList clause.
See Also: |
archivelogRecordSpecifier |
Processes the specified archived redo log files.
If you specify See Also: |
COPY |
Processes data file copies, control file copies, and archived redo log files.
If you do not specify an option for |
OF listObjList |
Restricts the list of objects operated on to the object type specified in the listObjList clause. If you do not specify an object, then the command defaults to all copies. CHANGE COPY OF DATABASE includes data files but not control files.
See Also: |
foreignlogRecordSpecifier |
Processes the specified foreign archived redo log files.
See Also: |
maintQualifier |
Restricts the command based on the specified options.
See Also: |
recordSpec |
Specifies the file that you are performing maintenance on.
If you use the See Also: |
DEVICE TYPE deviceSpecifier |
Allocates automatic channels for the specified device type only. This option is valid only if you have configured automatic channels and have not manually allocated channels. For example, if you configure automatic disk and tape channels and run CROSSCHECK...DEVICE TYPE DISK , then RMAN allocates only disk channels.
See Also: |
Example 4-32 Crosschecking Backups
The following command crosschecks backups of archived redo log files:
RMAN> CROSSCHECK BACKUP OF ARCHIVELOG ALL; 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=8cic4031_1_1 RECID=195 STAMP=616693857 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=8oic41ad_1_1 RECID=198 STAMP=616695118 crosschecked backup piece: found to be 'AVAILABLE' backup piece handle=8qic41c3_1_1 RECID=200 STAMP=616695171 Crosschecked 3 objects