Database went down due to power fluctuation and during that time hot backup was running.So once we started the database we face the following issue.
ORA-10873: file 1 needs to be either taken out of backup mode or media recovered
Database in backup mode while it went down.
Step 1 : Sqlplus ‘/as sysdba’
Step 2 : startup mount
Step 3 : Check backup file using below command.
select * from V$BACKUP
Step 4 : The following command can be used to take all of the data files out of hot backup mode:
ALTER DATABASE END BACKUP;
Step 5 : Alter database open