不完全恢复操作步骤

  1. Shut down the database and perform a backup.
  2. Restore all the data files.
  3. Mount the database.
  4. Recover the database.
  5. Without applying all the redo log files, open the database using the RESETLOGS option.
  6. Back up the database.

注意:不完全恢复只能针对所有数据文件,不能针对某个单独的文件和表空间.

1:10g 以前,在进行了不完全恢复用resetlogs 打开后,必须立即执行全备份,因为日志序号被复位,以防止后续日志被应用。
2:10g 后,控制文件保留了resetlogs 之前的归档日志序列,并且日志recid 继续增长,允许跨越resetlogs 时间点进行完全/不完全恢复。(10g 前,使用当前控制文件不再能够恢复之前的备份)。
Sql>select recid,stamp,first_change#,first_time,next_change# from v$log_history where recid>###;

posted @ 2013-08-07 12:45  ArcerZhang  阅读(181)  评论(0编辑  收藏  举报