To examine a backup set and report whether it can be restored. RMAN scans all of the backup pieces in the specified backup sets and looks at the checksums to verify that the contents are intact so that the backup can be successfully restored if necessary.
BACKUPSETcommand tests whether the backup sets can be restored, whereas
CROSSCHECKexamines the headers of the specified files if they are on disk or queries the media management catalog if they are on tape.
Use this command when you suspect that one or more backup pieces in a backup set are missing or have been damaged. Use
BACKUPSET to specify which backups to test; use the
VALIDATE option of the RESTORE command to let RMAN choose which backups to validate. For validating image copies, run
If you do not have automatic channels configured, manually allocate at least one channel before executing a
The target instance must be started.
||Specifies the backup sets to be validated by
||Tests data and index blocks in the backup set that pass physical corruption checks for logical corruption, for example, corruption of a row piece or index entry. If RMAN finds logical corruption, then it logs the block in the
||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
See Also: "deviceSpecifier"
VALIDATE BACKUPSET 218; # As the output indicates, RMAN determines whether it is possible to restore the # specified backup set. allocated channel: ORA_SBT_TAPE_1 channel ORA_SBT_TAPE_1: sid=14 devtype=SBT_TAPE using channel ORA_DISK_1 channel ORA_SBT_TAPE_1: starting validation of datafile backupset channel ORA_SBT_TAPE_1: restored backup piece 1 piece handle=09dg9kkl_1_1 tag=TAG20020208T125443 params=NULL channel ORA_SBT_TAPE_1: validation complete