快捷搜索:   nginx

oracle数据库rman备份计划及恢复(7)

archived log file name=/u01/app/oracle/oradata/ATEST/onlinelog/o1_mf_3_c5fr9k9d_.log thread=1 sequence=33

archived log file name=/u01/app/oracle/oradata/ATEST/onlinelog/o1_mf_1_c5fr9dmk_.log thread=1 sequence=34

media recovery complete, elapsed time: 00:00:04

Finished recover at 14-DEC-15

 

 

k.以resetlogs打开数据库(在此之前,先删除原来的redolog,因为数据库会重新创建一组redolog): 删除原来的redo:

 

rm -rf /u01/app/oracle/oradata/ATEST/onlinelog/*

 

以resetlogs打开数据库:

 


RMAN> alter database open resetlogs;

 

using target database control file instead of recovery catalog

database opened

 

至此,数据库恢复全部完成!

 

 

 

顶(6)
踩(0)

您可能还会对下面的文章感兴趣:

最新评论