开启备份后,忘记end backup问题解决

SYS@EMREP> startup
ORACLE instance started.

Total System Global Area  838860800 bytes
Fixed Size                  8626240 bytes
Variable Size             658509760 bytes
Database Buffers          163577856 bytes
Redo Buffers                8146944 bytes
Database mounted.
ORA-10873: file 7 needs to be either taken out of backup mode or media recovered
ORA-01110: data file 7: '/u01/app/oracle/oradata/EMREP/users01.dbf'

开启数据库,报错

结束备份

SYS@EMREP> alter database end backup;

Database altered.

一致性关库

SYS@EMREP> shutdow immediate
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.

开启数据库

SYS@EMREP> startup
ORACLE instance started.

Total System Global Area  838860800 bytes
Fixed Size                  8626240 bytes
Variable Size             658509760 bytes
Database Buffers          163577856 bytes
Redo Buffers                8146944 bytes
Database mounted.
Database opened.

猜你喜欢

转载自www.cnblogs.com/catherine007/p/13389406.html
今日推荐