as I understand, redo file never been backup. correct?
after restore the control file I only can startup mount,
drop inactive redo groups (logically) and recreate them.
since db not open I can not switch log it means I can not drop and recreate the current one. ... ???
>startup mount; (can not open becasue control file restored from backup)
> select group#, status from v$log;
GROUP# STATUS
---------- ----------------
1 INACTIVE
2 CURRENT
3 INACTIVE
>alter system drop logfile group 1;
>alter system add logfile group 1 '/ora.......
>alter system drop logfile group 3;
>alter system add logfile group 3 '/ora.......
> select group#, status from v$log;
GROUP# STATUS
---------- ----------------
1 UNUSED
2 CURRENT
3 UNUSED
now how I drop group2?
without system open I can not do:
alter system switch logfile;
1. shutdown the database
2. Recover latest backup
3. startup nomount
4. create control file
5. recover database until cancel using backup controlfile;
this will recover using the archived logs until you stop it
6. alter database open resetlogs;
database should open successfully
You dont need to drop/recreate redo logs sicne resetlogs will create the log groups
I use this trace file to create control file (step 4) and oracle complain can not locate redo log file ... this is why I can not
move to step 5 and 6...
You have all the paths created already?
As you don't have ONLINE REDO I think you should put RESETLOGS instead of NORESETLOGS
Don't forget putting the Oracle error so we can help better.
Bookmarks