- 论坛徽章:
- 0
|
oracle 11g for win2003(32位)
数据库已经shutdown
报错:
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target *
2> RUN{
3> startup nomount;
4> allocate channel c1 type disk;
5> restore controlfile from 'F:/temp/MARSBAK_SNT-13BFA5ED99A_CONTROLFILE_1370748746_14_26.BAK';
6> sql 'alter database mount';
7> restore database;
8> recover database until logseq 16 thread 1;
9> sql 'ALTER DATABASE OPEN RESETLOGS';
10> }
11> exit;
连接到目标数据库: ORCL (DBID=134534279
使用目标数据库控制文件替代恢复目录
数据库已经启动
分配的通道: c1
通道 c1: SID=125 设备类型=DISK
启动 restore 于 09-6月 -13
释放的通道: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: restore 命令 (在 06/09/2013 13:27:31 上) 失败
RMAN-06496: 当数据库已装载或打开时, 必须使用 TO 子句
恢复管理器完成。
请问如何解决?谢谢大神们 |
|