Whole database online + redo log backup

Hello all,
we are running SAP on a Oracle Database and doing a daily backup.
In the DBA Planing Calendar, we do have the action
Whole database online + redo log backup
What exactly does that mean?
Thanks,
Anne

This backup will save the CONTENT of the database only, not the database software itself.
To get a full consistent backup you need to backup more things if you want to have everything - depending on the operating system:
On Unix you will need to backup the software directory (/oracle*, oraInventory, oratab (depending on the location)) etc.
On Windows you will need to backup <letter>:\oracle, the registry keys and more things.
However, in case of a recovery you can also install the software after an OS installation and then restore it from tape.
Markus

Similar Messages

  • Problem with Whole Database Online+Redo log Backup

    Dear Marcus Sir,
    I am facing while taking "Whole Database Online+Redo log Backup" through DB13 T-Code.
    Below is the "Problem part of the Backup log", however if you need I will send you full log.
    Hope you will find out problem soon
    #FILE..... /oracle/ANP/sapdata2/sr3_8/sr3.data8
    #SAVED.... sr3.data8  ANPB260810/12
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.22
    BR0063I 9 of 51 files processed - 19400.070 MB of 135986.469 MB done
    BR0204I Percentage done: 14.27%, estimated end time: 11:47
    BR0001I *******___________________________________________
    BR0202I Saving /oracle/ANP/sapdata2/sr3_9/sr3.data9
    BR0203I to /dev/rmt0.1 ...
    BR0278E Command output of 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1':
    dd read error: I/O error
    462+0 records in
    462+0 records out
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.36
    BR0279E Return code from 'LANG=C dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/rmt0.1': 2
    BR0222E Copying /oracle/ANP/sapdata2/sr3_9/sr3.data9 to/from /dev/rmt0.1 failed due to previous errors
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    BR0056I End of database backup: bedziydp.ant 2010-08-27 11.03.36
    BR0280I BRBACKUP time stamp: 2010-08-27 11.03.41
    BR0054I BRBACKUP terminated with errors
    Warm Regards
    Ahsan

    Hi,
    since you are getting a read error, it might as well be, that your datafile is defective.
    Try the same dd-command to /dev/null, to see if it is possible to read the entire file.
    First make sure that your null-device is existing, otherwise you might face a root-fs full problem.
    dd obs=1024K bs=1024K if=/oracle/ANP/sapdata2/sr3_9/sr3.data9 of=/dev/null
    or try a dbverify on it, which would also read the entire file and do a checksum test.
    brbackup -c -u / -m /oracle/ANP/sapdata2/sr3_9/sr3.data9 -t online -w only_dbv
    Good luck
    Volker

  • Whole Database Online + redo log backup: How Long?

    Hi gurus,
    There's something I want to ask about online backup with redo log.
    If i'm correct, redo log file is created everytime there's operation that change datafile right?
    If i schedule this type of backup everyday, it means it will backup all datafiles, along with redo log file when transaction take places, at my pre-defined hours, right?
    Then here's what i'm confused about. When will this backup process finished? Is it when all the datafiles have been backed up? Then how about the redo log files? If there are users that keep making transaction (therefore make change to datafiles), new redo log files will be created on disk, and that will prevent the backup process to finish. Then when will this cycle come to an end?
    Please confirm if my grasp about oracle online backup is correct or not, and provide explanation to satisfy my curiousity.
    Thanks gurus,
    Edited by: Bobby Gunawan on Jan 6, 2009 10:16 AM

    Hello Fidel,
    i am feeling honored
    > Keep in mind that the only thing where a DBA cannot make mistakes is restore/recovery and this depends on your backups
    In general i would say you are right, but i have seen already one case where this statement is not true. 
    Some time ago i got a call from a colleague where his database crashed, the online redolog files were corrupted and the recovery was not working.
    If you don't look really close at this point you are in trouble and can not continue the recovery. Let explain this on a example.
    This demonstration is done on an oracle 10.2.0.4, but it work on every other version too.
    Let's simulate a crash
    SQL> shutdown abort;
    Corrupt/delete a specifc redolog file
    SQL> startup
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/oracle/TST/oradata/redolog/redo03.log'
    ORA-27037: unable to obtain file status
    Ok - so far so good, lets check the groups and files
    SQL> select GROUP#, STATUS, MEMBER from v$logfile where TYPE = 'ONLINE';
        GROUP# STATUS  MEMBER
             1         /oracle/TST/oradata/redolog/redo01.log
             2         /oracle/TST/oradata/redolog/redo02.log
             3         /oracle/TST/oradata/redolog/redo03.log
    SQL> select * from v$log;
        GROUP#    THREAD#  SEQUENCE#      BYTES    MEMBERS ARC STATUS           FIRST_CHANGE# FIRST_TIM
             1          1         95   52428800          1 NO  CURRENT                5117817 06-JAN-09
             3          1         94   52428800          1 YES ACTIVE                 5117814 06-JAN-09
             2          1         93   52428800          1 YES ACTIVE                 5112855 15-DEC-08
    What's the situation?
    The online redolog file of group 3 is lost/corrupted and this group is needed to perform a complete recovery (see status ACTIVE).
    But you are lucky, because of this group 3 is already archived - so you can perform a complete recovery.
    Now let's perform a complete recovery but with UNTIL clause (because we need to jump between the online and archived redologfiles)
    SQL> recover database until cancel;
    ORA-00279: change 5116194 generated at 01/06/2009 21:06:48 needed for thread 1
    ORA-00289: suggestion : /oracle/TST/oraarch/TST_1_93_6b8c0516_666969185.arc
    ORA-00280: change 5116194 for thread 1 is in sequence #93
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 5117814 generated at 01/06/2009 21:08:47 needed for thread 1
    ORA-00289: suggestion : /oracle/TST/oraarch/TST_1_94_6b8c0516_666969185.arc
    ORA-00280: change 5117814 for thread 1 is in sequence #94
    ORA-00278: log file '/oracle/TST/oraarch/TST_1_93_6b8c0516_666969185.arc' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 5117817 generated at 01/06/2009 21:08:51 needed for thread 1
    ORA-00289: suggestion : /oracle/TST/oraarch/TST_1_95_6b8c0516_666969185.arc
    ORA-00280: change 5117817 for thread 1 is in sequence #95
    ORA-00278: log file '/oracle/TST/oraarch/TST_1_94_6b8c0516_666969185.arc' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /oracle/TST/oradata/redolog/redo01.log
    Log applied.
    Media recovery complete.
    Now execute an OPEN NORESETLOGS accidentally (maybe the dba think it is not necessary because of the complete recovery) and try an OPEN RESETLOGS after:
    SQL> alter database open noresetlogs;
    alter database open noresetlogs
    ERROR at line 1:
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/oracle/TST/oradata/redolog/redo03.log'
    ORA-27037: unable to obtain file status
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    So now you are lost.. you can't execute an UNTIL CANCEL anymore which would be needed to perform a successful OPEN RESETLOGS.
    In this special case you can do mistakes and you have to restore the whole database and perform the same recovery again and end with OPEN RESETLOGS.
    Just for information
    Regards
    Stefan

  • Backup Not Starting for 'Whole database offline + redo log backup' @ DB13

    Hi Experts,
    I am not able to perform 'Whole database offline + redo log backup' by DB13.
    I have recently configured my 'init<SID>.sap'  to take 'Whole database online + redo log backup' and its working perfectly fine.
    I tried taking test backup for  'Whole database offline + redo log backup'  but it didn't even  started.
    Thus I created another profile with name init<SID>back.sap  and changed the Parameter
    from 'backup_type = online'  to 'backup_type = offline' and also tried by 'backup_type = offline_force'
    rest all parameters being same as the profile  init<SID>.sap
    Kindly Suggest as I need to take set the backup Strategy as  Mon-Fri  -> 'Whole database offline + redo log backup'  and Sat ->  'Whole database offline + redo log backup'
    One more Query : While taking the redo log backup by DB13 why is it that some times it only saves the Files and some time it
    saves and delete the files from the '/oracle/<SID>/oraarch'  location. Please throw some light over this matter also.
    Thanks,
    Jitesh

    Hi Mr Bhavik,
    Thanks for your reply..  Here are the details you have asked for.
    1.My SAP BASIS Patch Level  is :  10. ( We shall be updating it by the end of this Year)
    2. Br*tools version is :
    BRTOOLS   7.00 (11)
    kernel release    700
    patch level   11
    3. I don't have any file with name alert<dbsid>.log file (located at /oracle/<SID>/saptrace/background/) but i do have alert_<SID>.log
    I execute the command more -p G alert_JMD.log
    after my  'Whole database offline + redo log backup' again failed at DB13 but I was not able to see any specific complains while executing the above action.
    I got the Error Detailed Log in DB13 as :
    Detail log:                    beeneedv.aft
    BR0051I BRBACKUP 7.00 (20)
    BR0055I Start of database backup: beeneedv.aft 2010-11-08 13.16.43
    BR0484I BRBACKUP log file: /oracle/JMD/sapbackup/beeneedv.aft
    BR0280I BRBACKUP time stamp: 2010-11-08 13.16.43
    BR0261E BRBACKUP cancelled by signal 13
    BR0056I End of database backup: beeneedv.aft 2010-11-08 13.16.44
    BR0280I BRBACKUP time stamp: 2010-11-08 13.16.45
    BR0054I BRBACKUP terminated with errors
    4. No I have not yet Tried 'execute such Offline+REdo log backups using brback command', will Try and post it Definately
    5. Query : select grantee, granted_role from dba_role_privs;
    result :
    SQL> select grantee, granted_role from dba_role_privs;
    GRANTEE                        GRANTED_ROLE
    SYS                            SAPDBA
    SYS                            EXP_FULL_DATABASE
    SYS                            CONNECT
    IMP_FULL_DATABASE              SELECT_CATALOG_ROLE
    DBSNMP                         OEM_MONITOR
    SAPSR3                         CONNECT
    OPS$SAPSERVICEJMD              SAPDBA
    SYS                            SELECT_CATALOG_ROLE
    DBA                            DELETE_CATALOG_ROLE
    DBA                            EXECUTE_CATALOG_ROLE
    SYSTEM                         DBA
    GRANTEE                        GRANTED_ROLE
    OPS$ORAJMD                     SAPDBA
    SAPDBA                         GATHER_SYSTEM_STATISTICS
    SYS                            SCHEDULER_ADMIN
    SYS                            AQ_USER_ROLE
    SYS                            GATHER_SYSTEM_STATISTICS
    SYS                            DELETE_CATALOG_ROLE
    DBA                            GATHER_SYSTEM_STATISTICS
    DBA                            IMP_FULL_DATABASE
    EXECUTE_CATALOG_ROLE           HS_ADMIN_ROLE
    IMP_FULL_DATABASE              EXECUTE_CATALOG_ROLE
    OPS$JMDADM                     CONNECT
    GRANTEE                        GRANTED_ROLE
    SYS                            LOGSTDBY_ADMINISTRATOR
    SYS                            EXECUTE_CATALOG_ROLE
    SYS                            RESOURCE
    DBA                            SCHEDULER_ADMIN
    DBA                            SELECT_CATALOG_ROLE
    EXP_FULL_DATABASE              EXECUTE_CATALOG_ROLE
    SAPDBA                         SELECT_CATALOG_ROLE
    SYS                            SAPCONN
    SYS                            OEM_ADVISOR
    SYS                            IMP_FULL_DATABASE
    SELECT_CATALOG_ROLE            HS_ADMIN_ROLE
    GRANTEE                        GRANTED_ROLE
    OUTLN                          RESOURCE
    LOGSTDBY_ADMINISTRATOR         RESOURCE
    SAPSR3                         RESOURCE
    OPS$SAPSERVICEJMD              RESOURCE
    SYS                            RECOVERY_CATALOG_OWNER
    DBA                            EXP_FULL_DATABASE
    EXP_FULL_DATABASE              SELECT_CATALOG_ROLE
    TSMSYS                         RESOURCE
    OPS$ORAJMD                     RESOURCE
    SAPCONN                        SELECT_CATALOG_ROLE
    SYS                            OEM_MONITOR
    GRANTEE                        GRANTED_ROLE
    SYS                            AQ_ADMINISTRATOR_ROLE
    SYS                            DBA
    SYSTEM                         AQ_ADMINISTRATOR_ROLE
    OPS$ORAJMD                     CONNECT
    OPS$JMDADM                     SAPDBA
    OPS$JMDADM                     RESOURCE
    SAPSR3                         SAPCONN
    SYS                            HS_ADMIN_ROLE
    SYSTEM                         SAPDBA
    OPS$SAPSERVICEJMD              CONNECT

  • DB13 whole DB online + redo log backup

    Hi expetrs,
    I am using hp-ux with oracle with ECC6.0 and data protector.
    I ran DB13 whole DB online + redo log backup on tape and it ran successful on specified tape.
    But if i check data on tape via login on data protector it shows no data.
    Also i checked at os level using command mt -f  /dev/rmt/0mn status , it also show 0 data. But as per db13 log data written successfully on specified tape.
    please help how to check online data files?
    Note: presently i have taken backup on single tape.
    regards
    Tarun

    Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_1/sr3.data1                 2306875392    4  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_10/sr3.data10               2139103232   13  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_11/sr3.data11               2139103232   14  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_12/sr3.data12               2139103232   15  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_13/sr3.data13               2118131712   16  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_14/sr3.data14               2118131712   17  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_15/sr3.data15               2118131712   18  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_16/sr3.data16               1415585792   19  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_17/sr3.data17               2097160192   38  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_18/sr3.data18               2097160192   39  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_19/sr3.data19               2097160192   40  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_2/sr3.data2                 2202017792    5  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_20/sr3.data20               2097160192   41  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_21/sr3.data21               2097160192   42  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_22/sr3.data22               2097160192   43  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_3/sr3.data3                 2181046272    6  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_4/sr3.data4                 2181046272    7  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_5/sr3.data5                 2160074752    8  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_6/sr3.data6                 2139103232    9  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_7/sr3.data7                 2139103232   10  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_8/sr3.data8                 2139103232   11  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata2/sr3_9/sr3.data9                 2139103232   12  1073938434  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3_23/sr3.data23               2097160192   76  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3        ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3_24/sr3.data24               2097160192   77  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_19/sr3701.data19         2097160192   49  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_20/sr3701.data20         2097160192   50  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_21/sr3701.data21         2097160192   51  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_22/sr3701.data22         2097160192   52  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_23/sr3701.data23         2097160192   53  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_24/sr3701.data24         2097160192   54  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_25/sr3701.data25         2097160192   55  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_26/sr3701.data26         2097160192   56  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_27/sr3701.data27         2097160192   57  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_28/sr3701.data28         2097160192   58  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_29/sr3701.data29         2097160192   59  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_30/sr3701.data30         2097160192   60  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_31/sr3701.data31         2097160192   61  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_32/sr3701.data32         2097160192   62  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_33/sr3701.data33         2097160192   63  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_34/sr3701.data34         2097160192   64  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_35/sr3701.data35         2097160192   65  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sr3701_36/sr3701.data36         2097160192   66  1073938433  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_1/sr3701.data1           2789220352   20  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_10/sr3701.data10         2810191872   29  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_11/sr3701.data11         2789220352   30  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_12/sr3701.data12         2705334272   31  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_13/sr3701.data13         6123692032   32  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_14/sr3701.data14         2904563712   33  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_15/sr3701.data15         2097160192   45  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_16/sr3701.data16         2097160192   46  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_17/sr3701.data17         2097160192   47  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_18/sr3701.data18         2097160192   48  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_2/sr3701.data2           2747277312   21  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_3/sr3701.data3           3124764672   22  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_4/sr3701.data4           3124764672   23  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_5/sr3701.data5           3208650752   24  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_6/sr3701.data6           2915049472   25  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_7/sr3701.data7           2873106432   26  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_8/sr3701.data8           2873106432   27  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata3/sr3701_9/sr3701.data9           2810191872   28  1073938435  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_37/sr3701.data37         2097160192   68  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_38/sr3701.data38         2097160192   69  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_39/sr3701.data39         2097160192   70  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_40/sr3701.data40         2097160192   71  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_41/sr3701.data41         2097160192   72  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_42/sr3701.data42         2097160192   73  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_43/sr3701.data43         2097160192   74  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3701     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3701_44/sr3701.data44         2097160192   75  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3DB      ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3db_1/sr3db.data1             2097160192   35  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3DB      ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3db_2/sr3db.data2             2097160192   36  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3DB      ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3db_3/sr3db.data3             1048584192   37  1073938436  NOLINK  FILE             0            0     8192
    PSAPSR3USR     ONLINE*    ONLINE    /oracle/TAQ/sapdata4/sr3usr_1/sr3usr.data1             31465472   34  1073938436  NOLINK  FILE             0            0     8192
    PSAPTEMP       ONLINE#    ONLINE    /oracle/TAQ/sapdata1/temp_1/temp.data1               1468014592   -1  1073938433  NOLINK  FILE             0            0     8192
    PSAPUNDO       ONLINE-    ONLINE    /oracle/TAQ/sapdata1/undo_1/undo.data1               5872033792    2  1073938433  NOLINK  FILE             0            0     8192
    SYSAUX         ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sysaux_1/sysaux.data1            209723392    3  1073938433  NOLINK  FILE             0            0     8192
    SYSAUX         ONLINE*    ONLINE    /oracle/TAQ/sapdata1/sysaux_2/sysaux.data2           2097160192   67  1073938433  NOLINK  FILE             0            0     8192
    SYSTEM         ONLINE*    SYSTEM    /oracle/TAQ/sapdata1/system_1/system.data1            891297792    1  1073938433  NOLINK  FILE             0            0     8192
    SYSTEM         ONLINE*    SYSTEM    /oracle/TAQ/sapdata1/system_2/system.data2            524296192   44  1073938433  NOLINK  FILE             0            0     8192
    BR0119I Redo log files
    File                                                Size  Group     Device  Status    Link    Type
    /oracle/TAQ/origlogA/log_g11m1.dbf              52429824    1   1073872899  INUSE     NOLINK  FILE
    /oracle/TAQ/mirrlogA/log_g11m2.dbf              52429824    1   1073872897  INUSE     NOLINK  FILE
    /oracle/TAQ/origlogB/log_g12m1.dbf              52429824    2   1073872900  INUSE     NOLINK  FILE
    /oracle/TAQ/mirrlogB/log_g12m2.dbf              52429824    2   1073872898  INUSE     NOLINK  FILE
    /oracle/TAQ/origlogA/log_g13m1.dbf              52429824    3   1073872899  INUSE     NOLINK  FILE
    /oracle/TAQ/mirrlogA/log_g13m2.dbf              52429824    3   1073872897  INUSE     NOLINK  FILE
    /oracle/TAQ/origlogB/log_g14m1.dbf              52429824    4   1073872900  INUSE     NOLINK  FILE
    /oracle/TAQ/mirrlogB/log_g14m2.dbf              52429824    4   1073872898  INUSE     NOLINK  FILE

  • Whole database offline + redo log backup  Scheduling failed

    Hi Experts,
             In DB13 I have the following Issue,  Whole database offline + redo log backup  Scheduling failed.
    How to solve this.

    Hi,
            Below is the Log details,
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    /oracle/PRD/origlogA/cntrl/cntlrPRD.dbf         13975552    0      5578783  NOLINK  FILE
    /oracle/PRD/origlogB/cntrl/cntrlPRD.dbf         13975552    0      5578784  NOLINK  FILE
    /oracle/PRD/sapdata1/cntrl/cntrlPRD.dbf         13975552    0      5578772  NOLINK  FILE
    BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
    PSAPSR3, PSAPSR3700, PSAPSR3USR
    BR0227E Not enough disk space in /test123/PRDBK for backup, missing at least 149478.274 MB
    BR0056I End of database backup: behzgxph.afd 2012-02-28 03.05.40
    BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
    BR0291I BRARCHIVE will be started with options '-U -jid ALGOF20110129030500 -d disk -c force -p initPRD.sap -sd'
    BR0280I BRBACKUP time stamp: 2012-02-28 03.06.09
    BR0292I Execution of BRARCHIVE finished with return code 0

  • Regarding Online Redo log backup

    Dear all,
    I am running "Whole database online + Redo log backup" in production server which running successfully with return code 0000.
    Is this  backup takes online redo log file also?????? because in backup log i didn't  see any directory like .../../orilog A, .../../orilog B etc which contains online redo log file.
    Without this online redo log backup i don't thing we can do point to point recovery.
    I am beginner for oracle so please clear this doubt.
    thanks,
    Tarun

    Tarun verma wrote:
    > Oraarch having offline redo log file and saparch having redo log backup log file, but both of this related to offline redo log backup.
    >
    > I want to know about online redolog backup??? Is it possible to take or not??? and how we can check online redo log backup is running or not??
    You have offline redo log files in 'oraarch' --> this means that 'online redo logs' are getting backed up into 'oraarch'.
    sql > archive log list
    http://www.adp-gmbh.ch/ora/sqlplus/archive_log.html
    Above command tells whether the logging is ON or not. If it is ON, then online logs will be generated w.r.t. every sap work and as soon as the online logs gets filled up - it gets backed up into 'oraarch' - to accommodate more logging with time.
    Thanks

  • Can u we take online redo log backups using RMAN......can any one guide me

    can u we take online redo log backups using RMAN.....in 1og

    'Backup' solution for online redo logs is multiplexing (members of a group on different independent drives).
    Werner

  • Full Online + REDO Log backup failing

    Hi Experts,
    We have a failing backup when running a 'Full Online + REDO Logs' scheduled via DB13 (ERP6/Windows 2008/Oracle 10.2.0.4)
    Whilst it is successful in backing up the datafiles and the REDO logs to the remote destination, it fails to catalog the backup, displaying the following message:
    ORA-19625: error identifying file
    Backup_Destination\BEFSDJTA\SR3.DATA10
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2011-04-21 07.20.49
    BR0279E Return code from 'F:\oracle\SID\102\BIN\rman nocatalog': 1
    BR0536E RMAN call for database instance EQ1 failed
    BR0280I BRBACKUP time stamp: 2011-04-21 07.20.49
    BR0532E Cataloging backups of all database files failed
    From what I understand, RMAN runs under the OracleService<SID> service, which calls the oracle.exe process, which is owned by the local user SYSTEM. This accounts for the access denied problem when accessing the remote destination using the RMAN utility.
    As a test, I'm aware that if I change the ownership of oracle.exe to a non-local, domain user (<SID>adm), I can run RMAN commands without the permission denied error occuring. (performed this on a Sandbox)
    The problem  when I use this <SID>adm account as the oracle.exe owner, is that the SAP application Work Processes won't connect to oracle.
    My questions are:
    Is it a valid workaround to change the process owner of oracle.exe to something other than the local SYSTEM user?
    If so, what are the criteria that need to be met for the new domain user to ensure that the SAP application is stable?
    Does anyone know of an alternative workaround?
    Thanks,
    Chris W

    Hi Markus,
    Thanks for the response.
    I've managed to get the SAP application to run with Oracle using the <SID>adm account as the OracleService<SID> owner.
    The original problem with the SAP work processes in connecting with the Oracle database was due to the Oracle listener services also being owned by local user SYSTEM.
    I changed the listener services ownership to <SID>adm (as well as the OracleService<SID>) and this allowed the connection between the SAP work processes and Oracle.
    Also, I gave the domain <SID>adm account local administrator rights (same as SYSTEM) and have seen no problems since the switch.
    I can also access a remote host using the RMAN utility - problem appears to be solved.
    Chris

  • The file structure online redo log, archived redo log and standby redo log

    I have read some Oracle documentation for file structure and settings in Data Guard environment. But I still have some doubts. What is the best file structure or settings in Oracle 10.2.0.4 on UNIX for a data guard environment with 4 primary databases and 4 physical standby databases. Based on Oracle documents, there are 3 redo logs. They are: online redo logs, archived redo logs and standby redo logs. The basic settings are:
    1. Online redo logs --- This redo log must be on Primary database and logical standby database. But it is not necessary to be on physical standby database because physical standby is not open. It doesn't generate redo log. However, if don't set up online redo log on physical standby, when primary failover and switch standby as primary. How can standby perform without online redo logs? In my standby databases, online redo logs have been set up.
    2. Archived redo logs --- It is obviously that primary database, logical and physical standby database all need to have this log file being set up. Primary use it to archive log files and ship to standby. Standby use it to receive data from archived log and apply to database.
    3. Standby redo logs --- In the document, it says A standby redo log is similar to an online redo log, except that a standby redo log is used to store redo data received from another database. A standby redo log is required if you want to implement: The maximum protection and maximum availability levels of data protection and Real-time apply as well as Cascaded destinations. So it seems that this standby redo log only should be set up on standby database, not on primary database. Am my understanding correct? Because I review current redo log settings on my environment, I have found that Standby redo log directory and files have been set up on both primary and standby databases. I would like to get more information and education from experts. What is the best setting or structure on primary and standby database?

    FZheng:
    Thanks for your input. It is clear that we need 3 type of redo logs on both databases. You answer my question.
    But I have another one. In oracle ducument, it says If you have configured a standby redo log on one or more standby databases in the configuration, ensure the size of the current standby redo log file on each standby database exactly matches the size of the current online redo log file on the primary database. It says: At log switch time, if there are no available standby redo log files that match the size of the new current online redo log file on the primary database. The primary database will shut down
    My current one data gurard envirnment setting is: On primary DB, online redo log group size is 512M and standby redo log group size is 500M. On the standby DB, online redo log group size is 500M and standby redo log group size is 750M.
    This was setup by someone I don't know. Is this setting OK? or I should change Standby Redo Log on standby DB to 512M to exactly meatch with redo log size on primary?
    Edited by: 853153 on Jun 22, 2011 9:42 AM

  • Online redo logs vs backup

    Below quoted sentence is from Oracle documentation
    "Online redo logs, unlike archived logs, should never be backed up. The chief danger
    associated by having backups of online redo logs is that you may accidentally restore
    those backups without meaning to, and corrupt your database"
    Can any one explain , how the database will be corrupted if we backup online redo logs. I am having a hard time to understand this quote
    thanks for your help
    shajan

    Redo log file contents is very dynamic. It changes minute after minute, so a backup is useless if you try to do it online. (In fact there is no command to perform such backup).
    Let's suppose you shutdown (normal, immediate or transactional) The contents of the redo log files become useless as the checkpoint process has already taken place, so it is enough to have a copy of all of the consistent datafiles to have the last applied transaccion.
    In a recovery scenario with archivelog it is important to keep all of the requiered archivelog files plus all of the online redo log files.
    In case of a missing logfile it is useless to have a backup of it. If you ever had one, and you tried to restore it, an error would arise, warning you that the contents of the logfile is inconsistent with the expected scn. The only way you can succeed is to have them multiplexed and have them on different paths, just to reduce to probability of loosing all of the members of a group.
    rman does not perform backup of redo log files. Classical theory of backup/recovery states that during a hot backup it must be backed up the archive log files, not the redo log files.

  • Cold backup with online redo logs

    I am working on 10G in AIX for a single instance
    It is just a general db backup & restore question, but I have something confused.
    I am going to perform a cold backup with my ARCHIVELOG database.
    No wonder why I perform a cold backup because it is a testing database which can suffer from data lost and down time during backup.
    I read some guides. They all mentioned to backup all the datafiles and control files.
    During the restoration, I have to copy all the backed up datafiles and control files to the default location.
    Then Startup mount;
    The last step before open the database is recover database until cancel;
    For the acknowledgement, I have to do the command of recover database, because the online redo logs were not backed up, thus we have to recover it in order to reset the redo logs.
    For my question,Would I be able to skip the command of recover database, then directly startup the database if I have backed up the online redo logs and copy the default location during the restoration?
    However, I read many documents which mention that it is not suggested to backup the online redo logs. Is it just the case which ONLY applied in hot backup? Do you all think that for my case, cold backup for online redo logs is recommended?
    Thanks all

    jgarry wrote:
    Edit: And never forget, those test databases are some developers production.Absolutely true according to my experience. Loosing the work of a payed developer is just as bad as loosing the work of a production system and may even be worse because it may not be possible to re-enter missing data into the system.
    I think a cold backup is only suitable on special occasions, for instance, to relocate/copy the database to a different storage media, or if the database doesn't change or if loosing changes is absolutely irrelevant. Otherwise, put the database into archivelog mode and do a hot backup. After that you will also have alternative options which can make the restore and recovery of the database very easy and efficient, like flashback database, etc. but it will take substantial additional disk space.

  • Status of online redo log file INVALID warning appears during online backup

    Hi All,
    I have a peculiar problem in one of the SAP ECC 6.0 systems. The daily online backup is getting completed with warnings.
    Please find below the warnings in DB12 logs:
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g18m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g18m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g50_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g50_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g51_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g51_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g52_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g52_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g53_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g53_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g54_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g54_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g55_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g55_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g56_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g56_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g57_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g57_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogA/log_g58_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogA/log_g58_m2.dbf' not found
    BR0335W Status of online redo log file /oracle/AS0/mirrlogB/log_g59_m2.dbf is INVALID
    BR0274W File '/oracle/AS0/mirrlogB/log_g59_m2.dbf' not found
    For the above mentioned alerts I followed the recommendations of SAP Note 491160. I dropped and recreated the mirrorlog files. But the next day again when I checked the backup it finished with warnings. At the database level there is no problem
    SQL> select * from v$logfile;
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            59         ONLINE
    /oracle/AS0/origlogB/log_g59_m1.dbf
    NO
            59         ONLINE
    /oracle/AS0/mirrlogB/log_g59_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            58         ONLINE
    /oracle/AS0/origlogA/log_g58_m1.dbf
    NO
            58         ONLINE
    /oracle/AS0/mirrlogA/log_g58_m2.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            57         ONLINE
    /oracle/AS0/origlogB/log_g57_m1.dbf
    NO
            57         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/mirrlogB/log_g57_m2.dbf
    NO
            56         ONLINE
    /oracle/AS0/origlogA/log_g56_m1.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            56         ONLINE
    /oracle/AS0/mirrlogA/log_g56_m2.dbf
    NO
            55         ONLINE
    /oracle/AS0/origlogA/log_g55_m1.dbf
    NO
            54         ONLINE
    /oracle/AS0/origlogA/log_g54_m1.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            54         ONLINE
    /oracle/AS0/mirrlogA/log_g54_m2.dbf
    NO
            53         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/origlogA/log_g53_m1.dbf
    NO
            53         ONLINE
    /oracle/AS0/mirrlogA/log_g53_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            52         ONLINE
    /oracle/AS0/origlogA/log_g52_m1.dbf
    NO
            52         ONLINE
    /oracle/AS0/mirrlogA/log_g52_m2.dbf
    NO
        GROUP# STATUS  TYPE
    MEMBER
    IS_
            51         ONLINE
    /oracle/AS0/origlogB/log_g51_m1.dbf
    NO
            51         ONLINE
    /oracle/AS0/mirrlogB/log_g51_m2.dbf
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    NO
            50         ONLINE
    /oracle/AS0/origlogA/log_g50_m1.dbf
    NO
            50         ONLINE
        GROUP# STATUS  TYPE
    MEMBER
    IS_
    /oracle/AS0/mirrlogA/log_g50_m2.dbf
    NO
             8         ONLINE
    /oracle/AS0/origlogB/log_g18m1.dbf
    As you can see from the above output at the database level everything is fine. So why during backup it is giving me warnings in DB12. Any help with this regard will be appreciated.
    Regards
    Mitesh Nair

    Hi Joe,
    My OS is HP-UX. I dont think its a permission problem. Please find below the contents of origlogA and mirrlogA
    predbci2:/oracle/AS0/origlogA#ls -rtl
    total 1433712
    drwxrwxrwx   2 oraas0     dba             96 Oct 15 03:27 cntrl
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 01:50 log_g52_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 03:51 log_g50_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 05:51 log_g54_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 07:52 log_g53_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 09:50 log_g55_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 10:50 log_g56_m1.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 12:41 log_g58_m1.dbf
    predbci2:/oracle/AS0/mirrlogA#ls -rtl
    total 1433728
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 01:50 log_g52_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 03:51 log_g50_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 05:51 log_g54_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 07:52 log_g53_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 09:50 log_g55_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 10:50 log_g56_m2.dbf
    -rw-rw----   1 oraas0     dba        104858624 Dec  4 12:41 log_g58_m2.dbf
    Regards
    Mitesh

  • Backup online redo log files

    Hi All
    Can you please explain for me the main reason that we do not have to backup the online redo log using RMAN ?
    Thanks

    The online redo logfiles are necessary to perform a complete recovery of the database. During database recovery, Oracle will apply the archived redo logfiles and online redo logfiles to roll the database forward and finally remove uncommitted transactions. If any of the online redo logfile group is active and missing, the database recovery will be incomplete and the database needs to be opened with restlogs, causing a new database incarnation.
    You have to shutdown the datrabase to be able to perform a backup of the online redo logfiles, or find another method to create a time based snapshot of the data to prevent data movement while the redo logfiles are in use in order to keep datafile headers, controlfile and redo logfiles in sync. It is for that reason that you multiplex and mirror redo logfiles.

  • Open database if an active online redo log is missing

    Hi,
    Sorry for the rather long post, but I specified all the steps I performed and couldn't make it shorter :-(
    I need an advice on how to open the database if an active online redo log is missing.
    For test purposes I intentionally performed a shutdown abort when the redo log group 1 was in active state and then renamed its only member (REDO01.LOG) so that the database couldn't perform crash recovery using it. Then upon startup I obviously got the message:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'H:\ORADATA\TESTDB\REDO01.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.Ok, so I checked the state of the logs:
    {noformat}
    SQL>SELECT a.GROUP#, first_change#, SEQUENCE#, a.status, SUBSTR(b.MEMBER, 1, 40) MEMBER, b.status mem_status, a.archived
      2    FROM v$log a, v$logfile b
      3   WHERE a.GROUP# = b.GROUP#
      4  ORDER BY a.GROUP#, b.MEMBER;
    GROUP# FIRST_CHANGE#  SEQUENCE# STATUS           MEMBER                         MEM_STA ARC
         1        592134         29 ACTIVE           H:\ORADATA\TESTDB\REDO01.LOG           YES
         2        592268         30 CURRENT          C:\ORADATA\TESTDB\REDO02.LOG           NO
         3        592129         28 ACTIVE           C:\ORADATA\TESTDB\REDO03.LOG           YES
    {noformat}Since opening the database to perform a log switch and thus change the status of the redo log group 1 from ACTIVE to INACTIVE to recreate the member isn't possible, I performed database recovery.
    SQL>recover database until cancel;
    ORA-00279: change 592129 generated at 02/04/2009 10:31:15 needed for thread 1
    ORA-00289: suggestion : C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_28_%U_.ARC
    ORA-00280: change 592129 for thread 1 is in sequence #28
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 592134 generated at 02/04/2009 10:31:28 needed for thread 1
    ORA-00289: suggestion : C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_29_%U_.ARC
    ORA-00280: change 592134 for thread 1 is in sequence #29
    ORA-00278: log file 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_28_4RLR3JS9_.ARC' no longer needed for this rec
    overy
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_29_4RLR4MF3_.ARC'
    ORA-00279: change 592268 generated at 02/04/2009 10:32:03 needed for thread 1
    ORA-00289: suggestion : C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_30_%U_.ARC
    ORA-00280: change 592268 for thread 1 is in sequence #30
    ORA-00278: log file 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TESTDB\ARCHIVELOG\2009_02_04\O1_MF_1_29_4RLR4MF3_.ARC' no longer needed for this rec
    overy
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    'C:\ORADATA\TESTDB\REDO02.LOG'
    Log applied.
    Media recovery complete.
    SQL>So for log sequence #28 I accepted the proposed archived redo log in the FRA, for sequence #29 (that's the online redo log that is missing!) I manually specified its archived copy, and for sequence #30 I specified the CURRENT online redo log. And as it seems the media recovery was successful.
    Next I tried to open the database but again got the error:
    SQL>alter database open noresetlogs;
    alter database open noresetlogs
    ERROR at line 1:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'H:\ORADATA\TESTDB\REDO01.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    The status of the log groups and its members is exactly as it was in the first query I wrote above, i.e. the redo log group 1 is still ACTIVE, so it's needed for crash recovery (which I had already done manually if I understand correctly how Oracle works!). I also checked if the datafiles are inconsistent (described in metalink doc id 1015544.102):
    SQL>SELECT DISTINCT CHECKPOINT_CHANGE#, FUZZY FROM V$DATAFILE_HEADER;
    CHECKPOINT_CHANGE# FUZ
                592269 NOSo, everything seems ok as far as datafile consistency is concerned.
    My question is: how can I rename/drop/clear/whatever the member of redo log group 1 to open the database?
    I tried to rename the log file member, to add another member to it, to open the database with resetlogs, to clear the logfile group 1, but all without success:
    1)
    SQL>alter database clear logfile group 1;
    alter database clear logfile group 1
    ERROR at line 1:
    ORA-01624: log 1 needed for crash recovery of instance testdb (thread 1)
    ORA-00312: online log 1 thread 1: 'H:\ORADATA\TESTDB\REDO01.LOG'
    2)
    SQL>alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    3)
    SQL>alter database rename file 'H:\ORADATA\TESTDB\REDO01.LOG' to 'C:\ORADATA\TESTDB\REDO01.LOG';
    alter database rename file 'H:\ORADATA\TESTDB\REDO01.LOG' to 'C:\ORADATA\TESTDB\REDO01.LOG'
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01512: error renaming log file H:\ORADATA\TESTDB\REDO01.LOG - new file C:\ORADATA\TESTDB\REDO01.LOG not found
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    4)
    SQL>alter database add logfile member 'C:\ORADATA\TESTDB\REDO01.LOG' to group 1;
    alter database add logfile member 'C:\ORADATA\TESTDB\REDO01.LOG' to group 1
    ERROR at line 1:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: 'H:\ORADATA\TESTDB\REDO01.LOG'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.Sorry again for the long post and thank you in advance for any suggestion.
    Regards,
    Jure

    You could check if the recovery was complete by (re)creating the controlfile with the resetlogs option.
    <CREATE CONTROLFILE REUSE DATABASE define_db_name RESETLOGS NOARCHIVELOG
    ...>Thanks for the hint. If possible, could you only check if the steps I'm going to perform are ok.
    I did an "alter database backup controlfile to trace;" and then extracted the create controlfile definition part. So in essence I should run the following statements:
    CREATE CONTROLFILE REUSE DATABASE "TESTDB" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'C:\ORADATA\TESTDB\REDO01.LOG'  SIZE 20M,
      GROUP 2 'C:\ORADATA\TESTDB\REDO02.LOG'  SIZE 20M,
      GROUP 3 'C:\ORADATA\TESTDB\REDO03.LOG'  SIZE 20M
    -- STANDBY LOGFILE
    DATAFILE
      'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSTEM01.DBF',
      'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\UNDOTBS01.DBF',
      'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\SYSAUX01.DBF',
      'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\USERS01.DBF'
    CHARACTER SET EE8MSWIN1250
    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTDB\TEMP01.DBF' REUSE;Is that correct?
    About the RMAN backups: Wouldn't a 'CATALOG RECOVERY AREA' populate the controlfile with backup information again (I'm not using a recovery catalog in this case)?
    Thanks for the help!
    Regards,
    Jure

Maybe you are looking for

  • How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit

    How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit I ran Coldfusion 8 on SBS 2003 Premium for 6 months with no problems.  When we finally decided to cut over to SBS 2008, that’s when everything went to hell.  I tried for weeks to

  • Exception Thrown when trying to save object to disk

    Alright, So I've got an object that looks like this private class InputData implements Serializable {             public String name = "";             public String condition = "";             public String value = "";             public String[] pro

  • My nano will not charge. Which is correct port on my macbook pro for this?

    my 6 th. generation nano will not charge plugged into my computer. Which should be the correct port on my macbook pro for this?

  • Appending structures to the tables

    Hi experts, Why we are appending sturctures to the tables? can any one tell me the main differences between the APPEND and INCLUDE structures in Datadictionary. Thanks in Advance.

  • IPhoto 8 Slideshow runs too fast when I export

    I painstakingly created a slideshow for a friend to use during her wedding rehearsal next weekend. It was created so specific photos come up during lyrical points in each song. Worked phone in iPhoto but when I exported to Quicktime so she could have