ORA-01195:  online backup of file 65 needs more recovery to be consistent

Hi,
I was doing a clone by taking the hot backup from prod to dev. The backup was good. And then I created the control file, Then I passed the command
recover database until cancel using backup controlfile;
It asked for the archived logs files. I supplied them until current time.
Then I canceled.
That's when I got this error
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 65 needs more recovery to be consistent
ORA-01110: data file 65: '/d10/oradata/dwdev/kt01.dbf'
ORA-01112: media recovery not started
What am I doing wrong? I have not yet passed the command "Alter database open resetlogs"
Should I do more logswitches in prod and pass those files to dev ? Or should I just put the kt tablespace in backup mode and copy the data files?

Which set of archivelogs did you copy over to apply ? All the archivelogs from the first ALTER TABLESPACE ... BEGIN BACKUP to the archivelogs subsequent to the last ALTER TABLESPACE ... END BACKUP ?
In the cloned datadabase, what messages do you see in the alert.log on having issued the RECOVER DATABASE command ? Does it complain about the datafiles being fuzzy ? Which archivelogs does it show as having been applied ?
Can you check the log sequence numbers for the duration of the Backup PLUS ArchiveLogs subsequent to the Backup ?

Similar Messages

  • File1 needs more recovery to be consistent

    Hi,
    I took complete backup using rman and I am trying to restore the database using this backup. I was expecting that restoration can be done, but when I tried to do the restoration at the last, I am getting this error -
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/test/proddata/system01.dbf'
    What could be the reason?
    At the RMAN prompt the below message shows -
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/12/2012 19:31:10
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 56152 and starting SCN of 14936608929 found to restore
    DB Version is 11.2.0.1
    Neel

    Backup script
    RUN{
            Allocate channel ch1 type disk format '/u01/backupDB/%d_DATA_%U_%T' maxpiecesize 5G;
            Allocate channel ch2 type disk format '/u01/backupDB/%d_DATA_%U_%T' maxpiecesize 5G;
            Allocate channel ch3 type disk format '/u01/backupDB/%d_DATA_%U_%T' maxpiecesize 5G;
                    BACKUP DATABASE;
            Release channel ch1;
            Release channel ch2;
            Release channel ch3;
      #Backup Archive Logs
                      sql 'alter system archive log current';
            Allocate channel t1 device type disk;
                    CROSSCHECK ARCHIVELOG ALL;
                    BACKUP FORMAT '/u01/backupDB/%d_ARCH_%U_%T' ARCHIVELOG ALL;
                    Delete noprompt copy of archivelog all backed up 1 times to device type disk;
                    #backup archivelog all delete all input;
            Release channel t1;
    #Control file backup
            Allocate channel t1 device type disk;
                    BACKUP FORMAT '/u01/backupDB/%d_CTRL_%u_%T' CURRENT CONTROLFILE;
            Release channel t1;
    }Restore db script
    run{
        allocate channel c1 device type disk;
        allocate channel c2 device type disk;
        allocate channel c3 device type disk;   
        restore database check readonly force;
        switch datafile all;
        recover database;
        release channel c1;
        release channel c2;
        release channel c3;
        }

  • No web sign in access for Verizon online backup and file sharing - HELP!

    I need to sign-in via web browser to my backup files in my Verizon Online Backup and File Sharing service. The Verizon site redesign redirects the old URL with a sign in to a sales page with no way to reach my stored files.
    I contacted Verizon support more than a week ago about this asking for a URL with a sign in option to the cloud, was told that it was a problem affecting many customers (obviously eveyone with the online backup and filesharing service!) created by the redesign and that they would have a page created to allow login within 24 hours. I've heard nothing back and still have no access.
    I made very clear that this was a HUGE problem for me, as I'm out of the country and rely on file access, and was on deadline for a critical professional project. The support tech I was on live chat with assured me they were working on it and that he would contact me via email as soon as it was resolved. Lots of apologies, etc. but now, a week later ... still no access and no contact. Astonishingly unprofessional.
    When I tried again to find a link and/or contact support on Friday I was given no option to file a support ticket, chat with support or do any other kind of follow up. I've tried every search string option possible, including the name of the service with "sign in" appended (the Verizon nomenclature)--site searches a week ago for the service name returned null results. Web searches produce summaries from the old "My Services" page that include "sign in" but those links now redirect to the sales page that tells me how great it is I'll be able to access my files with a web browser with Online Backup and File Sharing. But no option to access the service.
     Has anyone figured out a workaround or have a saved URL that still resolves to a Sign In portal?
    I grow more desperate by the day. Thanks for any assistance.

    I just wasted a lot of time on this same issue -- it turns out I couldn't find my way into the web application because I normally log into a subaccount, and you have to be logged into the primary. I had tried logging into the primary but apparently hadn't tried all possibilities from there.
    So I chatted with Verizon support and got the phone number for Online Backup support, left them a message (because their hold music is so repellent I couldn't stand to remain on the line, maybe that's deliberate) and got called back about four hours later (and a second callback the next day, since I hadn't responded to the the voicemail they left on the first callback).
    So here are the instructions (until they change the web site again...)
    1. log into the primary account (not a subaccount)
    2. click My Verizon
    3. click My Services on the left
    4. click Broadband Essentials and Extras (right under My Services)
    5. click the Manage button next to My Subscriptions
    6. click the Verizon Online Backup and Sharing xx MB button
    The URL that it lands on is this:
    https://vzsharing.verizon.net/application_biz/Secure/Home/Default.aspx

  • Regard ora-01207: How Oracle judge file is more recent than control file - old control file

    ORA-00283: recovery session canceled due to errors
    ORA-01122: database file 2 failed verification check
    ORA-01110: data file 2: '/tmp/auxsys.dbf_rman'
    ORA-01207: file is more recent than control file - old control file
    How Oracle judge file is more recent than control file - old control file, then it thrown out error ora-01207.
    It must compare data file with control file, but what compare?

    Begin from the beginning.
    Did you do a RESTORE DATABASE ?
    Or did you selectively restore datafiles ?
    Strange datafile name --- looks like it could have been a DATAFILECOPY done using rman.
    It is a very bad idea to have a datafile in /tmp   On some OSs, /tmp may get cleared of files on a reboot.
    Hemant K Chitale

  • Doesn't Time Machine delete old backups when it needs more space?

    I've had time machine running for a long time now. It worked flawlessly for quite some time.
    Today it gave me the error that there was not enough free space on the disk to complete the backup (the error message says something like there is 360 GB of data on the Time Machine drive already, 140 GB of free space and it would require more than that to complete my backup). I have a 500 GB Time Machine disk and my Mac has a 500 GB hard drive, so I should technically never run out of space.
    The Time Machine almost acts like this is the first time I've ever backed up, which is not true. Shouldn't Time Machine delete old backups to make space for the new? What's even weirder is that if I open the "Star Wars" window of Time Machine I only see one backup from March 31, 2011, but I have been running Time Machine for well over a year now. I'm totally confused as to what happened. Any advice on how to get my Time Machine back up and running (without buying a new drive) would help!

    You see only one backup in the Time Machine window because Time Machine has deleted the older backups to make space to do the current backup.
    Time machine needs some working space to do its backups, and so backing up a 500GB drive onto a 500GB time machine volume is not ideal.
    However, I do essentially the same thing, and what I do, when I have this problem, is exclude things from the backup.
    First off, figure out what you changed. If you moved things from one partition to another, then that will cause a backup of the size of the thing that was moved. This may be why you have a large backup.
    When I have this problem, I exclude large things that have changed recently from the backup. This makes the backup smaller, and means that there is less working space needed. I do this until I get a successful backup. Then I remove things, one by one, from the exclusion list, and back up after each one.
    So, for instance if you just put 4 new folders on your drive, each of which s 20GB of data and they are named A, B, C and D, add all four to the exclusion list, do a backup, then remove A from the exclusion list (leaving B, C & D on it) and do a backup, and continue like this, adding 20GB of backup data each time until none of the new data is on the exclusion list and you get a completed backup.
    Another possible issue, if you use multiple partitions, is that Time Machine may be keeping an obsolete backup of a partition that you previously reformatted. To see if this is the case, go into time machine (The universe interface) and go back to the most recent backup it shows. Click on your computer and see what partitions show up-- are any of them old ones that have been reformatted and renamed? You may be storing a duplicate backup because Time Machine does not realize that the disk that went away isn't coming back (because it has been reformatted as a different partition)
    You can right-click on these items and remove them from your backup by sleecting "Delete all backups of...." This will free up space as well.

  • Restore with brtools - need more archive redolog files

    Good day
    I will make online backup my oracle database with brtools
    (Oracle 10g, BRBACKUP 7.00 (39))
    brbackup -c -d util_file_online -t online -m all -u /
    bdztoexw anf  2009-01-23 15.27.40 ; 2009-01-23 16.47.21 ; 1  ...............     57    56     0     17671        226215105    17676        226268039  ALL
    online          util_file_online -
    7.00 (39)
    BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38
    BR0232I 57 of 57 files saved by backup utility
    BR0230I Backup utility called successfully
    BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40
    BR0340I Switching to next online redo log file for database instance VPP ...
    BR0321I Switch to next online redo log file for database instance VPP successful
    BR0117I ARCHIVE LOG LIST after backup for database instance VPP
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/VPP/oraarch/VPParch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     17673
    Next log sequence to archive   17676
    Current log sequence           17676            SCN: 226268039
    Database block size            8192             Thread: 1
    Current system change number   226268041        ResetId: 603135330
    After brbackup  I'll do "brarchive" in the same script:
    brarchive -c -d util_file -sd -u / > $br_out_file
    #ARCHIVE.. 17670  /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf ; 2009-01-23 15.10.36 ; 43450368         226202112  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    #ARCHIVE.. 17671  /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf ; 2009-01-23 15.36.12 ; 43430912         226215105  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    #ARCHIVE.. 17672  /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf ; 2009-01-23 15.40.27 ; 43515904         226227928  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    #ARCHIVE.. 17673  /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf ; 2009-01-23 15.41.06 ; 43729408         226238784  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    #ARCHIVE.. 17674  /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf ; 2009-01-23 16.06.06 ; 43450368         226250315  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    #ARCHIVE.. 17675  /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf ; 2009-01-23 16.43.40 ; 13243904         226263012  1
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............
    #COPIED... ........ ...  ................. .......... ........ ........... ............
    #DELETED.. adztolzu svd  2009-01-23 16.51.11
    VPP  util_file  adztolzu svd  2009-01-23 16.47.22 ; 2009-01-23 16.54.47 ; 1  ...........     17670    17675        0        0  ------- 7.00 (39)  @0603135330
    BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11
    BR0232I 6 of 6 files saved by backup utility
    BR0230I Backup utility called successfully
    BR0016I 6 offline redo log files processed, total size 220.128 MB
    Then I take tape with this data and try restore only from this tape
    all datafiles and relevant archive redologs files (17670-17675) restored without errors
    but in the end ERROR occurred
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'
    ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread
    1
    ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf
    ORA-00280: change 226268039 for thread 1 is in sequence #17676
    My online backup ended, before switch to redolog 17676
    Why I need this file? I think files (17670-17675) should be enough?
    Besides, the change 226268039 generated exactly at moment Switching to next online redo.
    Can I try open database regardless of this error?
    Thank you for your prompt response
    Andrey Timofeev
    Edited by: Andrey Timofeev on Jul 21, 2009 3:52 PM

    <P>Good day, sorry for TAG. Once more time. <BR>
    I will make online backup my oracle database with brtools<BR>
    (Oracle 10g, BRBACKUP 7.00 (39))</P>
    <P>brbackup -c -d util_file_online -t online -m all -u /</P>
    <HR>
    <P>bdztoexw anf  2009-01-23 15.27.40  2009-01-23 16.47.21  1  ...............     57    56     0     17671        226215105    17676        226268039  ALL<BR>
    online          util_file_online </P>
    <HR>
    <P> BR0280I BRBACKUP time stamp: 2009-01-23 16.43.38</P>
    <HR>
    <BR>
    <P>BR0232I 57 of 57 files saved by backup utility<BR>
    BR0230I Backup utility called successfully</P>
    <P>BR0280I BRBACKUP time stamp: 2009-01-23 16.43.40<BR>
    BR0340I Switching to next online redo log file for database instance VPP ...<BR>
    BR0321I Switch to next online redo log file for database instance VPP successful</P>
    <P>BR0117I ARCHIVE LOG LIST after backup for database instance VPP</P>
    <P>Parameter                      Value</P>
    <P>Database log mode              Archive Mode<BR>
    Automatic archival             Enabled<BR>
    Archive destination            /oracle/VPP/oraarch/VPParch<BR>
    Archive format                 %t_%s_%r.dbf<BR>
    Oldest online log sequence     17673<BR>
    Next log sequence to archive   17676<BR>
    Current log sequence           17676            SCN: 226268039<BR>
    Database block size            8192             Thread: 1<BR>
    Current system change number   226268041        ResetId: 603135330</P>
    <HR>
    <BR>
    <P>After brbackup  I'll do &quot;brarchive&quot; in the same script:</P>
    <P>brarchive -c -d util_file -sd -u / &gt; $br_out_file</P>
    <HR>
    <P>#ARCHIVE.. 17670  /oracle/VPP/oraarch/VPParch1_17670_603135330.dbf  2009-01-23 15.10.36  43450368         226202112  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    #ARCHIVE.. 17671  /oracle/VPP/oraarch/VPParch1_17671_603135330.dbf  2009-01-23 15.36.12  43430912         226215105  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    #ARCHIVE.. 17672  /oracle/VPP/oraarch/VPParch1_17672_603135330.dbf  2009-01-23 15.40.27  43515904         226227928  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    #ARCHIVE.. 17673  /oracle/VPP/oraarch/VPParch1_17673_603135330.dbf  2009-01-23 15.41.06  43729408         226238784  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    #ARCHIVE.. 17674  /oracle/VPP/oraarch/VPParch1_17674_603135330.dbf  2009-01-23 16.06.06  43450368         226250315  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    #ARCHIVE.. 17675  /oracle/VPP/oraarch/VPParch1_17675_603135330.dbf  2009-01-23 16.43.40  13243904         226263012  1<BR>
    #SAVED.... adztolzu svd  *VXF1232718526    2009-01-23 16.51.11 ........... ............<BR>
    #COPIED... ........ ...  ................. .......... ........ ........... ............<BR>
    #DELETED.. adztolzu svd  2009-01-23 16.51.11<BR>
    #<BR>
    VPP  util_file  adztolzu svd  2009-01-23 16.47.22  2009-01-23 16.54.47  1  ...........     17670    17675        0        0  </P>
    <HR>
    <P>#</P>
    <HR>
    <P>BR0280I BRARCHIVE time stamp: 2009-01-23 16.51.11<BR>
    BR0232I 6 of 6 files saved by backup utility<BR>
    BR0230I Backup utility called successfully<BR>
    BR0016I 6 offline redo log files processed, total size 220.128 MB</P>
    <HR>
    <P>Then I take tape with this data and try restore only from this tape<BR>
    all datafiles and relevant archive redologs files (17670-17675) restored without errors <BR>
    but in the end ERROR occurred</P>
    <HR>
    <BR>
    <P>ERROR at line 1:<BR>
    ORA-01195: online backup of file 1 needs more recovery to be consistent<BR>
    ORA-01110: data file 1: '/oracle/VPP/sapdata1/system_1/system.data1'</P>
    <P>ORA-00279: change 226268039 generated at 01/23/2009 16:43:40 needed for thread<BR>
    1<BR>
    ORA-00289: suggestion : /oracle/VPP/oraarch/VPParch1_17676_603135330.dbf<BR>
    ORA-00280: change 226268039 for thread 1 is in sequence #17676</P>
    <HR>
    <BR>
    <P>My online backup ended, before swith to redolog 17676<BR>
    Why I need this file? I think files (17670-17675) should be enough?</P>
    <P>Besides, the cange 226268039 generated exactly at moment Switching to next online redo.<BR>
    Can I try open database regardless of this error?</P>
    <BR>
    <P>Thank you for your prompt response<BR>
    Andrey Timofeev</P>
    Edited by: Andrey Timofeev on Jul 21, 2009 4:53 PM
    Edited by: Andrey Timofeev on Jul 21, 2009 4:54 PM

  • Open resetlogs is not  working when creating clone db with online backup

    Hi All,
    I am trying to create a clone database using hot backup of a database .
    STEPS THAT I FOLLOWED
    LET ----- >CURRENT_DB NAME=DEV
    CLONE DATABASE NAME=DEVCLONE
    steps PERFORMED FORM DEV DB
    - put the database in backup mode using 'alter database begin backup'
    - copy all the data files to a different folder
    - during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
    - in between copying i also performed log switch
    - after completion of copy , "alter database end backup"
    - created a backup control file in a human readable format (alter database backup controlfile to trace as ........)
    steps performed for clone DB side ((DEVCLONE)
    - created a parameter file for the database .
    - modified the backup control file so that it will point to the location of copied destination of datafiles
    - set the ORACLE_SID
    - then 'sqlplus / as sysdba
    - starup nomount
    - run the modified control file ( created a control file for the clone database)
    - recover the database using "recover database using backup controlfile"
    I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
    then i canceled the recovery by typing "cancel"
    - recover database using backup controlfile until cancel;
    then typed "cancel"
    - then try to open the database with open resetlogs but it showed below error
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\DATA_GUARD\DEVHOT\SYSTEM01.DBF'
    please help me on this ......
    Thanks

    Thanks , now i am able to open the DB in open reset logs mode .
    Previously , when i had not taken the archive log after "alter database end backup" , i was not able to open the db with open resetlogs because the
    fuzzy status of all the datafile headers were YES .
    But after taking the archive log that got generated after "alter database end backup" and applying it on the clone db(Created with HOT backup ) the datafile_header status got changed from YES to NO .
    So for that i am able to open the clone db with open resetlogs .
    Can you please help me with a small description why this is happening ?
    Thanks.......

  • Ora 01547 ora 01195 ora 01110

    Hi,
    while clonning(hot) the database i have got the above errors
    i have given the command sql>alter database begin backup;
    and coppied the all the dbf to paticular location.
    and created contolfile trace, created pfile
    and after that
    exported the database export ORACLE_SID=clone
    sql>startup nomount
    sql>@contol.ctl--created contol file
    nd given
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/ijmj/clone/system.dbf'
    nd after that recreated contol file and given the cmd
    SQL> RECOVER DATABASE using backup controlfile until cancel;
    auto
    got the error ora01547warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ora01195 online backup of file 1 needs more recovery to be consistent
    ora 0110 data file 1: '/u01/ijmj/clone/system.db

    Hi,
    Well, i assume that you still can perform recovery of your cloned database.
    So, do perform the log switch, and copy all new (not copied yet) archive log files to target db.
    Then issue the recover command and submit all remaining archive log, then 'cancel', and open with reset logs.
    Otherwise, if you still have all archive logs since your previous hot backup, you could take a new hot backup of the problematic tablespace (with finishing with a log switch), and recover your database.
    HTH,
    Thierry

  • Oracle online backup

    Is it possible to play future archive logs into a hot backup in the same manner that you can with a cold backup.

    Recover ...until cancel yields the error below: and the standby could actually be better described as a staging area for application development.
    QL> recover database until cancel;
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 169829095 generated at 12/26/2006 23:38:35 needed for thread
    1
    ORA-00289: suggestion : D:\ORACLE\ADMIN\EMRDB\ARCH\ARC057892785102977.001
    ORA-00280: change 169829095 for thread 1 is in sequence #2977
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    D:\oracle\Data\EMRDB\REDO1A.LOG
    ORA-00326: log begins at change 171504873, need earlier change 169829095
    ORA-00334: archived log: 'D:\ORACLE\DATA\EMRDB\REDO1A.LOG'
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\ORACLE\DATA\EMRDB\SYSTEM.DB'

  • Database open fails after online backup recovery

    Hi Friends
    We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
    To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
    create controlfile reuse set database DEV resetlogs noarchivelog
    However on issuance of the command
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
    we run into an error as to
    ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
    ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
    ORA-00280: change 794638222 for thread 1 is in sequence #9766
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'
    We even manually copied the file system.data1 from the source to the target server but to no avail.
    Also the SQL command
    SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
    displays a different change# for system.data1 while it is showing same number for all other datafiles.
    Please advice at the earliest as we are struck. Points awaiting their master.
    Regards
    Lokesh Gupta

    Some inputs addition to Erics comments
    The problem is you dont have archives ie Offline redo logfiles in correct location.
    /oracle/DEV/oraarch/DEVarch1_9766.dbf  Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
    Generally these steps willl give you desired result.
    select * from v$logfile;
    We normally switch the log files to the number of log groups that exist
    alter system switch logfile;
    create a Backup directory to hold our hot back datafiles and Archives
    When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
    Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
    check that all the files are in the right location and edit that information in the control file
    Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
    do a recover of the database to its consistent state
    recover database using backup controlfile until cancel;
    The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
    Regards
    Vinod

  • Recovery using backup control file

    Hello friends,
    I have a scenario where i am unable to recover by database by using backup control file option can u pls give ur expert advice.
    1) Database is working in ARCHIVE MODE.
    2) One of my file was READ ONLY when i take my closed backup. At this time
    v$log file output is :
    group# thread# sequence# bytes member arc status first_change#
    1 1 8 8192 2 yes inactive 4697463
    2 1 9 8192 2 yes active 4717493
    3 1 10 8192 2 no current 4717738
    3) After 2-3 log switches i have made it READ WRITE.
    4) After making it READ WRITE i have taken controlfile backup by using
    ALTER SYSTEM BACKUP CONTROLFILE TO 'E:\ORACLE\CONTROL01.CTL';.
    5) Again i have make some log switches.
    6) Shutdown my database using SHUTDOWN option.
    7) Copy my SYSTEM,UNDO,USER,INDEX datafiles from my backup (taken at
    step 2) and CONTROL file (taken at step 4).
    8) I have not copied my old redo log files so those are new.
    9) I mount database & then use this command to recover database :
    RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    10) My recovery process starts applying archived log files and applied upto
    sequence no 9. When it starts applying last one 10 which is online redo log
    and not yet archived my recovery process fails by giving this error:
    ORA-00308: cannot open archived log 'd:\oracle\oradata\practice\archive\1_10.dbf'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    11) I try to open database using :
    ALTER DATABASE OPEN RESETLOGS;
    it gives following warning:
    Error at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: datafile 1: 'D:\ORACLE\ORADATA\PRACTICE\SYSTEM01.DBF'
    Please guide me why it is so ?
    Whether in BACKUP CONTROL FILE CASES system didn't recognise ONLINE REDO LOG FILES or it is anything else.
    Regards
    Sethi

    Hi,
    >>I am not using RMAN. I am taking user managed backups. Moreover i have tried what u said that make checkpoints also but again i came to the same result when it try to apply last archived log which was current redo log when database was started to shutdown it says unable to find the specified file & then when i open database using resetlogs it says system file needs media recovery.
    it show error because you are using wrong approach of Recovery.
    Alter database open Resetlog command is used only in incomplete recovery.
    but your are giving
    Recover database command,it means ur performing full recovery (means you have apply online redo logfile.) and after applying it you should open the database with Alter database Open command.
    No need to give resetlog option.
    Again Restore all backup;
    Issue Recover database;
    and open the database with
    Alter database open;
    Thanks
    Kuljeet Pal Singh

  • Online backup fail through DB13

    Dear experts,
    I am using sap BW 7.4 under oracle 11.0.2.4
    I am trying to take online backup on disk
    I select action whole database online backup + redo file backup as will as
    Full database online backup and BRACHIVE function is -sd
    but  backup was failed I am unable to resolve it  following are logs generated during backup
    #SAVED.... /oracle/online/beokvzrl/system.data1  #1/17
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0063I 17 of 17 files processed - 51610.133 of 51610.133 MB done
    BR0204I Percentage done: 100.00%, estimated end time: 10:58
    BR0001I **************************************************
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:20
    BR0317I 'Alter tablespace SYSTEM end backup' successful
    BR0252W Function kill() failed for '17891582:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (6)
    PID=17891582
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:22
    BR0530I Cataloging backups of all database files...
    BR0278E Command output of 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog':
    Recovery Manager: Release 11.2.0.4.0 - Production on Sat Aug 2 10:58:23 2014
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    RMAN>
    RMAN> connect target *
    connected to target database: BWD (DBID=2340275772)
    using target database control file instead of recovery catalog
    RMAN> **end-of-file**
    RMAN>
    host command complete
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of catalog command on default channel at 08/02/2014 10:58:25
    ORA-19564: error occurred writing 8192 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 3
    Additional information: 4
    Additional information: 4194434
    RMAN>
    Recovery Manager complete.
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0279E Return code from 'SHELL=/bin/sh /oracle/BWD/112_64/bin/rman nocatalog': 1
    BR0536E RMAN call for database instance BWD failed
    BR0200I BR_TRACE: location BrRmanCall-56, commands for RMAN in: /oracle/BWD/sapbackup/.beokvzrl.cmd
    @/oracle/BWD/sapbackup/..beokvzrl..cmd
    host '/usr/sap/BWD/SYS/exe/run/brtools -f delete /oracle/BWD/sapbackup/..beokvzrl..cmd';
    catalog datafilecopy
    '/oracle/online/beokvzrl/sr3.data1',
    '/oracle/online/beokvzrl/sr3.data2',
    '/oracle/online/beokvzrl/sr3.data3',
    '/oracle/online/beokvzrl/sr3.data4',
    '/oracle/online/beokvzrl/sr3.data5',
    '/oracle/online/beokvzrl/sr3.data6',
    '/oracle/online/beokvzrl/sr3740.data1',
    '/oracle/online/beokvzrl/sr3740.data2',
    '/oracle/online/beokvzrl/sr3740.data3',
    '/oracle/online/beokvzrl/sr3740.data4',
    '/oracle/online/beokvzrl/sr3740.data5',
    '/oracle/online/beokvzrl/sr3740x.data1',
    '/oracle/online/beokvzrl/sr3740x.data2',
    '/oracle/online/beokvzrl/sr3usr.data1',
    '/oracle/online/beokvzrl/undo.data1',
    '/oracle/online/beokvzrl/sysaux.data1',
    '/oracle/online/beokvzrl/system.data1'
    level 0 tag beokvzrl;
    exit;
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0532E Cataloging backups of all database files failed
    BR0056I End of database backup: beokvzrl.fnd 2014-08-02 10:58:25
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2014-08-02 10:58:25
    I am unable to understand why RMAN is use ?
    and what parameters are used when I will take backup on tape
    Kindly guide me
    Regards

    Dear Srivastava for your reply,
    I download latest brtools patch and apply it and change authorization  profile parameters is also OK ( I run whole database online backup from brtools using same profile it done successfully )
    full permission ( 777) in sapbackup folder and sub folder but through db13 backup is successfully with warning
    BR0204I Percentage done: 100.00%, estimated end time: 11:57
    BR0001I **************************************************
    BR0252W Function kill() failed for '10420324:15' at location BrKill-3
    BR0253W errno 3: No such process
    BR0278I Command output of '/usr/sap/BWD/SYS/exe/run/brconnect':
    BR0801I BRCONNECT 7.40 (10)
    PID=10420324
    BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    BR0280I BRBACKUP time stamp: 2014-08-04 11:57:59
    BR0340I Switching to the next online redolog file for database instance BWD ...
    BR0321I Switch to the next online redolog file for database instance BWD successful
    BR0117I ARCHIVE LOG LIST after backup for database instance BWD
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /oracle/BWD/oraarch/BWDarch
    Archive format                 %t_%s_%r.dbf
    Oldest online log sequence     838
    Next log sequence to archive   841
    Current log sequence           841              SCN: 28074154
    Database block size            8192             Thread: 1
    Current system change number   28074155         ResetId: 842452156
    BR0202I Saving space_log
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/beolgapq.and
    BR0203I to /oracle/bck/online/BWD ...
    BR0202I Saving /oracle/BWD/sapbackup/backBWD.log
    BR0203I to /oracle/bck/online/BWD ...
    BR0056I End of database backup: beolgapq.and 2014-08-04 11:58:01
    BR0280I BRBACKUP time stamp: 2014-08-04 11:58:01
    BR0053I BRBACKUP completed successfully with warnings or non-fatal errors
    1. BR0252W Function kill() failed for '10420324:15' at location BrKill-3
        BR0253W errno 3: No such process
    2. BR0252E Function fopen() failed for '/oracle/BWD/sapbackup/.user.pas' at location  global_set-1
    BR0253E errno 13: Permission denied
    BR0074W BRCONNECT call failed
    why it backup not open file .user.pas ( it is not exist in this folder )
    Kindly guide me
    Regards

  • SMB and ONline backup

    Hi,
    In Our R/3 environment, online backup is consisting with archived logs.
    Online Backup = DB Files + archived logs
    When getting the SMB backup and Online Backup (BRBACKUP), will that  going  to backup "Online Redo Logs"
    (Not Offline Redo logs - archived logs)
    When checking the logfile (Online backup) in  /oracle/PRD/sapbackup/beejdgaz.anf  , it shows the online redologs files also. (Just show, Not saying it is backing up)
    But when checking through DP, it is not mentioning that , Online Redo logs are backing up!
    I just want to know , for SMB and Online backups will that include Online REDO logs? Is it possible to backup these Online Redo Logs. Since they are currently in use
    regards,

    Hi,
    we are using:
    brbackup -t online -d util_file -c -m all -u
    brbackup issues below commands which will switch your online logs to offline.
    Switching to next online redo log file for database instance <SID> ...
    Switch to next online redo log file for database instance <SID> successful
    ARCHIVE LOG LIST after backup for database instance <SID>
    online logs to offline.
    That means, when time of getting the backup, current online redo logs will be taken in to offline mode. (As archived redo logs) ?
    then those archived logs will be backing up.
    Is that the way that happens.

  • Online backup failure due to ORA-27086: unable to lock file - already in us

    Hi All,
      Online backup has failed due to the error
    =========================================================
    BR0301E SQL error -27086 at location BrInitOraCreate-5, SQL statement:
    '/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/SID/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/SID/102_64/dbs/spfileSID.o
    ra''
    ORA-27086: unable to lock file - already in use
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Additional information: 8
    Additional information: 1388548
    BR0303E Determination of Oracle version failed
    ==========================================================
    Please suggest.

    Check the file permissions on your Oracle_home...
    And kill all the processes, which already running for backup..
    Regards,
    Nick Loy

  • Need a help: how to recover using backup control file?

    Please a help:
    First computer
    1. I create a database
    2. put it in archive mode,
    3. shutdown and made a cold backup
    4. Created backup control file (alter database backup control file to trace)
    5. I started up and created some archived log files.
    Second Computer
    1. I copied all files created in the step 3 above except the control file
    2. I create all the same map directory on the 2nd computer as in the 1st computer
    3. I recreate the control file from the script got in the step 4 above
    4. I Copy archived log files generated at the step 5 in the local directory in the second computer
    5. I set the logsource and set the autorecovery to on
    6. I recover the database: RECOVER DATABASE USING BACKUP CONTROL FILE UNTIL CANCEL
    Error got:
    the archived log file applied do not go beyond the first one?,How could I do to applied all archived log files copied from the first computer to the second computer to have the same data?
    Thank you very much

    archived log sequeces in the first computerSQL> select sequence#,first_change#,next_change# from v$log_history;
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE#
    1 553723 555484
    2 555484 557345
    Actions I did in the second Computer(after copied the former two archived log files from the 1st computer)
    SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 292
    7 LOGFILE
    8 GROUP 1 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG' SIZE 50M,
    9 GROUP 2 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG' SIZE 50M,
    10 GROUP 3 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG' SIZE 50M
    11 -- STANDBY LOGFILE
    12 DATAFILE
    13 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF',
    14 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF',
    15 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF',
    16 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
    17 CHARACTER SET WE8ISO8859P1
    18 ;
    Control file created.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 0
    Next log sequence to archive 0
    Current log sequence 0
    SQL> alter database archivelog;
    Database altered.
    SQL> set logsource C:\local_destination1_orcl
    SQL> set autorecovery on;
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 555611 generated at 01/18/2007 14:14:14 needed for thread 1
    ORA-00289: suggestion :
    C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC
    ORA-00280: change 555611 for thread 1 is in sequence #1
    ORA-00328: archived log ends at change 555483, need later change 555611
    ORA-00334: archived log:
    'C:\LOCAL_DESTINATION1_ORCL\ARCH.1_1_612194518_43F17CF5.ARC'
    Idon't know where the change 555611 is coming from?

Maybe you are looking for

  • Voice Memos won't save my recordings?

    I'm in college so I usually record my classes for further detailing, but I just recently discovered that Voice Memos just won't save my recordings like 2/5 of the time. I already lost like 4 important ones for the past 3 days. The thing is that I see

  • How to include .xml on .war generated by jwsc?

    Hello there! When i build my web service i cannot be able to put in the war file my .xml files they are copy out of the war :__ I need those files because are for ibatis This is my build.xml <target name="build.WebService">      <jwsc      srcdir="${

  • Help on field point subvi

    Hi to all, sorry for not making things clear. I'm designing a project about field point temperature control. This is my first time doing on field point so please help me as much as possible. thank you..I found an example of field point temperature co

  • Compliance Checker Host Limit

    I have 7 ESXi 5.0 host. How do I get all 7 hosts to display on a scan report?  Or, how do I select a specific Host for scanning?

  • I just downloaded Mavericks and now my AutoCAD 2012 won't open. What do I do?

    I just downloaded Mavericks and now my AutoCAD 2012 won't open. What do I do?