2015年8月14日 星期五

oracle 8i rman

rman target / nocatalog;
change Archivelog All Crosscheck;


In Oracle 10g you can run the following command to crosscheck and expire any expired archive logs:
RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;

However in Oracle 8 and 9 you need to do the following

Example for Oracle 8 use:
RMAN> Change Archivelog All Validate;

Example for Oracle 8i use:
RMAN> change Archivelog All Crosscheck;

Example for Oracle 9i:
RMAN> crosscheck archivelog all;