Oracle® Database Backup and Recovery Reference 11g Release 2 (11.2) Part Number E10643-01 |
|
|
View PDF |
Purpose
Use the maintSpec
subclause to specify the backup files operated on by the CHANGE
, CROSSCHECK
, and DELETE
commands.
Syntax
maintSpec::=
(listObjList::=, maintQualifier::=, archivelogRecordSpecifier::=, recordSpec::=, deviceSpecifier::=)
Semantics
maintSpec
Syntax Element | Description |
---|---|
BACKUP |
Processes backup sets and proxy copies.
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 datafile 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. Note that CHANGE COPY OF DATABASE includes datafiles 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: |
Examples
Example 4-30 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