.bat文件:
@ CLS
@ rman target / cmdfile 'E:\mars2_workspace\Msundt//config//resql//resrec.sql' 1010214
@ pause
脚本:
shutdown immediate
startup mount
run{
set until scn &1;
restore database;
recover database;
alter database open resetlogs;
}
.bat文件:
@ CLS
@ rman target / cmdfile 'E:\mars2_workspace\Msundt//config//resql//resrec.sql' 1010214
@ pause
脚本:
shutdown immediate
startup mount
run{
set until scn &1;
restore database;
recover database;
alter database open resetlogs;
}