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;
}