How to Check or Validate The RMAN Backups

Step 1: The below command just gives the report of backups that are used to do the  restore and recover :

RMAN> run
set until time “to_date(‘2016-24-10:9:00:00′,’yyyy-dd-mm:hh24:mi:ss’)”;
restore database preview;

Step 2: Check the backup pieces
The below command will read the backup pieces/Copies which has datafiles and if finds any error it will report at the RMAN prompt.
allocate channel c1 type disk;
set until time “to_date(‘2016-02-10:9:00:00′,’yyyy-dd-mm:hh24:mi:ss’)”;
restore database validate;
  • October 5, 2016 | 22 views