All technological notes.
Complete Recovery| RMAN Command | Action |
|---|---|
RESTORE PREVIEW |
reports the backups and archived redo log files uesd to restore |
RESTORE VALIDATE |
determines and validate backup, copies, and archived redo log to restore |
RECOVER VALIDATE HEADER |
Reports and validates the backups to restore for the recovery |
RESTORE PREVIEW:
backups and archived redo log files that RMAN can use to restore and recover the database to the specified time. 列出需要的文件RESTORE VALIDATE:
backup sets, data file copies, and archived redo log files need to be restored and then validate them.backup piece or image copy. 读取文件RECOVER VALIDATE HEADER:
RESTORE PREVIEW command.
restore point
SCN of the database corresponding to the time of the creation of the restore point.point-in-time recovery or flashback operations.There are two types of restore points:
Guaranteed restore point:
Flashback Database back to any point in time after the creation of the earliest guaranteed restore point.control fileSCN or time.control file.Example:
-- creates a restore point that represents the present point in time.
CREATE RESTORE POINT before_mods;
-- creates a restore point representing a past SCN, 100
CREATE RESTORE POINT end_ql AS OF SCN 100;
restore points are maintained in the database for at least as long as specified by the CONTROL_FILE_RECORD_KEEP_TIME initialization parameter.默认保留时长=cf 参数PRESERVE option:
V$RESTORE_POINT: display estore points’ name, SCN, time stamp, and other information.