Showing posts with label RMAN. Show all posts
Showing posts with label RMAN. Show all posts

Monday, January 16, 2012

How to Validate the Restore of Backups

RESTORE VALIDATE and VALIDATE BACKUPSET commands check whether you can restore from your backups.

---------------------------------------------------------
Examples:

RESTORE CONTROLFILE VALIDATE;
RESTORE TABLESPACE SYSTEM VALIDATE;
RESTORE ARCHIVELOG ALL VALIDATE;
---------------------------------------------------------
---------------------------------------------------------
Examples:

VALIDATE BACKUPSET 1121,1122;
---------------------------------------------------------

To Preview Backups Used in Restore Operations.

The RESTORE PREVIEW can be used to any RESTORE operation to produce a detailed report of every backup to be used in the RESTORE operation.
----------------------------------------------------------------
Examples:

RESTORE DATABASE PREVIEW;
RESTORE TABLESPACE users PREVIEW;
RESTORE DATAFILE 3 PREVIEW;
RESTORE ARCHIVELOG FROM LOGSEQ 200 PREVIEW;
RESTORE ARCHIVELOG FROM TIME 'SYSDATE-7' PREVIEW;
RESTORE ARCHIVELOG FROM SCN 234546 PREVIEW;

---------------------------------------------------------------------