Professional Documents
Culture Documents
SQL> startup
############################################
--to validate all data files, control files and server parameter file(whole CDB)
RMAN> VALIDATE DATABASE;
--to check individual data blocks within a data file for corruption
RMAN> VALIDATE DATAFILE 20 BLOCK 10;
--to validate that all database files and archived logs can be backed up. This
command checks for physical corruptions only.
RMAN> BACKUP VALIDATE
DATABASE
ARCHIVELOG ALL;
--to test whether RMAN can restore a specific file or set of files from a backup
RMAN> RESTORE DATABASE VALIDATE;