热备份时,突然断电

 

alter tablespace users begin backup;

断电

startup

select status from v$instance;

alter tablespace users end backup;

alter database open;

-----------------------------------------------------

SYS@ora11g>alter tablespace users begin backup;

Tablespace altered.

SYS@ora11g>shutdown abort

ORACLE instance shut down.

SYS@ora11g>startup

ORACLE instance started.

Total System Global Area  830930944 bytes

Fixed Size                  2231048 bytes

Variable Size             616563960 bytes

Database Buffers          205520896 bytes

Redo Buffers                6615040 bytes

Database mounted.

ORA-10873: file 4 needs to be either taken out of backup mode or media

recovered

ORA-01110: data file 4: '+DATA/ora11g/datafile/users.259.833721555'

SYS@ora11g>select status from v$instance;

STATUS

----------

MOUNTED

SYS@ora11g>alter tablespace users end backup;

Tablespace altered.

SYS@ora11g>alter database open;

Database altered.

原文地址:https://www.cnblogs.com/wwxbi/p/4216788.html