摘自orafaq
Restoring involves copying backup files from secondary storage (backup media) to disk. This can be done to replace damaged files or to copy/move a database to a new location.
Recovery is the process of applying redo logs to the database to roll it forward. One can roll-forward until a specific point-in-time (before the disaster occurred), or roll-forward until the last transaction recorded in the log files.
SQL> connect SYS as SYSDBA
SQL> RECOVER DATABASE UNTIL TIME '2001-03-06:16:00:00' USING BACKUP CONTROLFILE;
RMAN> run {
set until time to_date('04-Aug-2004 00:00:00', 'DD-MON-YYYY HH24:MI:SS');
restore database;
recover database;
}
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-996248/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-996248/
本文介绍了Oracle数据库中恢复操作的基本流程,包括从备份介质复制文件到磁盘以替换损坏的文件或将数据库迁移到新位置的过程,以及通过应用重做日志进行数据库恢复的方法。文中还提供了SQL示例,展示了如何使用备份控制文件将数据库恢复到特定的时间点。
1511

被折叠的 条评论
为什么被折叠?



