- 论坛徽章:
- 0
|
大师们,
我今天做了个实验, 先删除 数据文件system01.dbf, 然后想用非RMAN方式恢复,
删除system01,dbf 后,打开数据库,
SQL> startup
ORACLE instance started.
Total System Global Area 845348864 bytes
Fixed Size 1339796 bytes
Variable Size 503320172 bytes
Database Buffers 327155712 bytes
Redo Buffers 13533184 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1:
'/home/oracle/app/oradata/first_time_oracle/system01.dbf'
然后重启数据库 到mount模式,
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 845348864 bytes
Fixed Size 1339796 bytes
Variable Size 503320172 bytes
Database Buffers 327155712 bytes
Redo Buffers 13533184 bytes
Database mounted.
然后recover datafile。。。。。
SQL> recover datafile 1;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover datafile 1 using backup controlfile
ORA-00274: illegal recovery option USING
recover datafile 1 和 recover datafile 1 using backup controlfile 都报错,怎么才能非RMAN的情况下recover这个system01.dbf? 请指点
|
|