Oracle rman操作

前端之家收集整理的这篇文章主要介绍了Oracle rman操作前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

rman target / cmdfile=test.txt


restore spfile from'/bak/hotbak/c-4038538988-20100524-01';(备份的控制文件)

restore controlfile to '/opt/orcl/control.ora' from '/bak/hotbak/c-4038538988-20100524-01';



run {

shutdown immediate;

startup mount;

backup ...

}


set DBID=4038538988

run {

shutdown immediate;

startup mount;

..

restore database;

recovery database;

}

猜你在找的Oracle相关文章