How to recover my Standby databse

Hi every one,
I need a suggestion in recovering a standby database which is not in sync with primary for last 2 months. due to server issues we brought down our standby down and made my primary to no archive log mode ( disabled archive log mode).
Now I've to recover my standby.... Please suggest what would be the best plan...
Note : my primary databse is in no archive log mode now, i've to put it in archive before recovering the standby.
I came up with few plans... you all can see those below however please suggest which on is the best or any new plans..
1) take fresh rman backup and drop my old standby and recreate it..
2) we are taking daily full export backups however we cannot import those in standaby since mount state import cannot write..
Please suggest is there any other best way to mimise efforts in recovering this issues..
Regards,
Ramu

Hi,
Thanks alot for your reply... my database version is 10204..
the thing is my primary database is not generating archives for more than a month (archival process disabled)
now i will enable my archival process on primary...
so at this time my standby is out of sync for more than a month where there are no archives...
so if i take a incremental level 1 backup from the sequence where syandby received and recover the database
would the above this is help full...
because.... my primary last generated sequence was 16789, if i put my primary in archive then it will generate 16790 sequence...
so the level one backup will have only once one sequence difference of data?
Regards,
Ramu

Similar Messages

  • How to recover standby by rman

    Hello every one
    Oracle 11g2 on window server 2008
    For testing i have created standby server and shutdow it.
    I have also schedule the increamental backup daily in the morning at 5:00 am.
    Suppose if primary server has crashed at day time at 11:00 am as whole and standby database has lag of two days with respect to primary server
    I have all archive log till 11:00 am, rman backup and control at 5:00 am.
    Process that followed to recover the standby server .
    1) restore the control file to standby database
    2) copy the rman backup to standby server and catalog it.
    3) restore the database successfully
    4) recover database but it give error 
    RMAN-03002: failure of recover command at 10/31/2013 14:55:40
    ORA-19693: backup piece C:\BACKUP\STD_5TONPQ57_1_1 already included
    5) i have issued alter database open but gives following error
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\SLATE\SYSTEM01.DBF'
    any help how to recover the standby server by rman incremental backup

    yasirdba wrote:
    Hello every one
    Oracle 11g2 on window server 2008
    For testing i have created standby server and shutdow it.
    I have also schedule the increamental backup daily in the morning at 5:00 am.
    Suppose if primary server has crashed at day time at 11:00 am as whole and standby database has lag of two days with respect to primary server
    I have all archive log till 11:00 am, rman backup and control at 5:00 am.
    Process that followed to recover the standby server .
    1) restore the control file to standby database
    2) copy the rman backup to standby server and catalog it.
    3) restore the database successfully
    4) recover database but it give error
    RMAN-03002: failure of recover command at 10/31/2013 14:55:40
    ORA-19693: backup piece C:\BACKUP\STD_5TONPQ57_1_1 already included
    5) i have issued alter database open but gives following error
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\SLATE\SYSTEM01.DBF'
    any help how to recover the standby server by rman incremental backup
    Hi Yasir!
    If you  have all archived log, and control file backups.
    Then you  must follow this steps
    1. Restore Standby control file;
    2. Copy archived logs to  a folder (/tmp/arch) or FRA
    3. RMAN>alter database mount;
    RMAN> catalog start  with '/tmp/arch'; (or FRA)
    RMAN must be cataloged all  archived logs;
    4. Start redo  apply process for apply archived log;
    5. If All archived logs applied, then you  can  perform failover to standby database.
    It means Standby database role will change  to Primary.
    Do you want this?
    Regards
    Mahir M. Quluzade

  • How to open a standby database for use?

    First, let me state that I am not a DBA nor am I a systems guy; I'm a software developer.
    At work, we recently built a new virtualized db server by cloning our disaster recovery (DR) database server. The DR database was kept in 'standby' mode (I think that's the correct term) and was synched with production daily via archive logs.
    So now, we have this new virtualized server that has a clone of that 'standby' database on it, and I need to 'open' that database so that it's usable (ie, no longer a standby db). How do I do that?? We recently lost our DBA so this has fallen into my lap.
    From searching the web, I've found all sorts of instructions. It seems that I need to issue some commands via SQL*Plus? But as what user? From where do I issue these commands (I assume from the virtualized server)? And what are the commands?
    This is Oracle 10g v10.2.0.3.0 running on Solaris 10 for x86.
    Thanks!
    Dave

    Hi Dave, I do this each time we do a DR test. I have 10.2.0.3 in physical standby mode.
    First, I make sure I have flashback turned on (here is what I've done):
    connect / as sysdba
    startup nomount
    alter database mount standby database;
    alter database flashback on;
    alter database recover managed standby database through all switchover disconnect using current logfile;
    exit;Activate the physical standby:
    alter database recover managed standby database cancel;
    alter database activate physical standby database;
    alter database open;
    exit;When completed with DR test we return the database back to physical standby mode:
    Find the SCN when the physical standby was activated (this is so we can flashback to that point in time)
    select standby_became_primary_scn from v$database;connect / as sysdba
    flashback database to scn <this is the value returned from above>;
    alter database convert to physical standby;
    shutdown immediate
    startup mount
    alter database recover managed standby database disconnect from session;
    exit;I hope that helps,
    Michael Cunningham
    Edited by: Michael C on Nov 10, 2011 8:59 AM
    Edited by: Michael C on Nov 10, 2011 9:00 AM

  • Error in adding datafile in standby databse.

    Hi all.
    My Environment is as below:
    Oracle-8.1.7.4.0
    OS-HP Unix-11
    Primary database (only 1): Production
    Standby database: Different Machine but same location (HP box)
    Yesterday I have added 2 datafiles to the two different tablespace. I have checked file is available at Production box and one of the file also avilable at standby databse.
    When I am following steps for applying redo log to the standby manually.
    I got error.
    SVRMGRL>connect internal
    SVRMGRL>show parameter db_name
    SVRMGRL>recover standby databse
    After above step I got the Error:
    ORA-00283 recovery session canceled due to error
    ORA-01157 can not identify/lock datafile 24 -see DBWR trace file
    ORA-01110 data file 24: '/location of .dbf file on standby databse disk'
    Please let me know in detail because I am new in this field.
    Thanks in advance

    You will have the datafile information on the standby alert log.
    Something like '/u01/app/oracle/product/8174/db/<filename>.dbf'.
    1. connect as sysdba on standby database.
    2. alter database create datafile 'Production datafile name' as 'alert log filename';
    Example :
    alter database create datafile '/u01/data/user1.dbf'
    as '/u01/app/oracle/product/8174/db/<filename>.dbf';
    3. Recovery managed standby database;
    HTH.
    Regards,
    Arun

  • ALTER DATABASE RECOVER MANAGED STANDBY DATABASE

    Hi,
    on 10g R2, how to know if :
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    DISCONNECT;
    is already applied ?
    thank you.

    user522961 wrote:
    thanks to all.
    Should I issue the following and others on standby or on primary ?
    select process,status from v$managed_standby;
    Regards.You need execute that from standby instance.In additionally you can see standby instances alert.log.And if this process is active then if you execute this command again then you will get an error like "Media recover is active".

  • How Auto starting Physical Standby Database ( when Server Restart)

    Dear All(s)
    I have configure oracle (10.2.0) dataguard on production database, some time server restart due to power disconnectivity, i want to restard dataguard when server restart. i am using Server 2003 32bit. Guide me how i can run following commands when server restart.
    SQL> connect/as sysdba
    SQL> Startup mount;
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Thanks in Advance

    i want to run these command each time when server restart.Yes, I did understand that... but what's the problem ? can't you schedule a task when the server starts ?

  • Standby databse for a query database

    Hi,
    Can I use a standby database to make a query database.
    My idee is :
    create a standby database on production,
    daily open this one in read/only,
    and nightly recover standby database.
    Is it available ?
    thanks in advance for your help.
    gnom92.

    There is no rule of thumb. It really depends on how much REDO is generated by the primary database. If the primary is CPU-bound processing transactions 24 hours a day, it will take a lot longer to recover the standby than it would if the primary has a moderate transaction volume.
    If you have tested your recovery plan recently, you can probably make a pretty good estimate, since that is basically what the standby is doing. If it takes you an hour to apply a day's worth of archive logs to recover your system, it will take an hour to recover your standby database (assuming identical hardware & software configuration).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to recover Deleted file from HARD DISK

    By mistake my entire AVCHD file of 90 Mts  duration was deleted from my Hard Disk, this  I realised after a week., in the meantime I have not added or deleted any file from this hard Disk. I had given my this hard disk to my service engineer to recover the video., he has tried and recover some 40 mb file., but I cant open this recovered video file in Premiere or any other video convertor programme., also I cant get any information about Video.
    Can anybody in the forum help me and suggest how to recover my deleted Video from the Hard disk

    Hi, hard disk data loss is actually a hard task for many users 'cause most of them think this kind of problems is a complicated situation. Here are some tips you need to know after data loss happened.
    1. If you meet the file loss situation, keep calm and stop using your computer to do any read or write operation until you find the way to recover the lost files because any wrong operation.
    2. If you've lost a file, time is of the essence. As new files saved to Mac hard drive or storage devices, the original files gets overwritten. So do not use the drive or disk which your deleted files are stored before at all, until you have completed the scanning and recovery process.
    3. The system crashed or the files loss situation happens occasionally, so remember build a backup for the files periodically is strongly needed.
    4. If you meet the file loss situation again, stop using the Mac or storage device right now, use another computer to process the files recovery.
    5. Remember this, no matter at the normal time or after files recovery, build a backup for the files periodically is the best method to protect your files from data loss situation.
    This post offers you more tips you may need: http://www.uflysoft.com/data-recovery-mac/mac-files-recovery.html

  • How to recover my macbook pro system password

    how to recover my macbook pro system password??

    You don't, you set a new one
     Cheat sheet to help diagnose and fix your Mac

  • How to recover lost folders and files - Pls help, help...

    Some days ago I lost all of my 15 GB folders and files that stored in my Macbook Pro hard drive called DATA.  I brought my Macbook pro to an experienced computer tecnicians who providing data recovery services. To his and my suprise, after checking, scanning it a few hours, he said their is no way to recover because he did not find any trails at all.  The computer still seems working properly - I have no problem with any applications.  There are few other folders in the DATA hard disk containing pictures, computer programs still remain.  These lost folders and files contain mainly documents (word, excel, power point, pdf etc) which I accumulated in my many years working  !!!!.  I did not make a back up since last September partly because I think Mac is very safe.
    The computer with me all the time on that day and only my son used Power Point to make a simple presentation on that evening - he can not save it on the folders the he normally use - All the folders and files are gone.
    I will appreciate it very much if any of you can tell me what would be the possible causes and more importanly how to recover the lost folders and files.  They are very very valuable to me.
    Many thanks for your kind attention
    Loimekong from Vietnam
    Macbook Pro 2.4 Ghz
    Intel Core 2 Duo
    4 GB 1067 MhZ DDR3

    First, did the data actually get deleted, or is it still there somewhere?  Try searching the drive for some of the documents, perhaps it's all just in another folder on that drive.
    If it's truly gone, it's impossible for us to say what might have happened to make it unrecoverable.  Perhaps someone using the computer used Secure Empty Trash, or securely erased empty space on the hard drive.  Perhaps it was overwritten by other stuff before you noticed.  It's possible the hard drive is starting to fail, though this seems like an awfully specific problem for that to be the issue.
    Or perhaps the tech you took the computer to didn't know what he was doing.  Why not try recovering what you can on your own?  See Recovering deleted files.
    You should be aware that no computer is safe.  All computers rely on hardware that may fail and software that can have bugs.  You absolutely MUST maintain a good set of frequently-updated backups...  no fewer than two full backups of anything you don't want to lose.
    (Note that my pages contain links to other pages that promote my services, and this should not be taken as an endorsement of my services by Apple.)

  • I lost every single thing on my macbook pro and i do not know how to recover the 77 gb of software how do i restore all of my data back on my macbook pro

    i lost every single thing on my macbook pro and i do not know how to recover my 77 gb of software data back to my computer how do i get this back?
    thank you

    Welcome to the Apple Community.
    Which software do you use to keep your back up.

  • Undo deleted photo, how to recover a deleted file in iPad mini

    how to undo deleted photo? how to recover a deleted file in iPad mini?

    Unfortunately you can't. Except if you made a back up of your iPad on iTunes, restore it with the last save.
    Hope I helped

  • How to recover the autocomplete data from a Time Machine backup?

    How to recover the Safari 5.1.7 autocomplete data from a Time Machine backup on Mac OS X 10.6.8 (Snow Leopard)?
    To solve other issues (Safari crashing sometimes when saving web pages), I selected:
    Safari - Empty Cache
    Safari - Reset Safari - Selected ALL - Reset
    I could later on recover some Safari autofill data restoring
    HD/Users/~/Library/Cookies/Cookies.plist
    HD/Users/~/Library/Safari/Form Values
    HD/Users/~/Library/Safari/History.plist
    but other autocomplete data is missing, including the one when filling web form search fields in web pages, for instance, and also some username and password login data on some web sites.
    How to restore all such data from the Time Machine Backup?
    Thanks!

    I also recovered:
    HD//Users/~/Library/Keychains/login.keychain
    What else should I recover?

  • How to recover the data from a  dropped table in production/archive mode

    How to recover the data/change on a table that was dropped by accident.
    The database is on archive mode.

    Oracle Version. ? If 10g.
    Try this Way
    SQL> create table taj as select * from all_objects where rownum <= 100;
    Table created.
    SQL> drop table taj ;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    TAJ              BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE        2006-09-10:16:02:58
    SQL> flashback table taj to before drop;
    Flashback complete.
    SQL> show recyclebin;
    SQL> desc taj;
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL>M.S.Taj

  • How to recover photos after restoring iPod touch?

    Yesterday, there was an update for the iOS 6, I believe. When I pressed the update button, a message popped up saying that there was a problem with my iPod touch 4G and that I need to restore it. I had absolutely no idea why that message would pop up in the first place because my iPod was working just fine. But I couldn't update my iPod to the newest version if I didn't do what iTunes says... so I was about to restore my iPod, but then I was worried that all of my photos would disappear. So I decided to update my iOS later so that I could transfer all my files on to my computer. I then unplugged my iPod, and tried to turn it on but the home screen wouldn't pop - no matter what I did, all the screen showed was an itunes icon on top with a USB plug-in cord at the bottom. So I had no choice but to restore my iPod. The thing is, once I restored my iPod and all, my photos were all gone and I did not use iCloud as a back-up since a few months ago. All of my recent photos are now gone and I have no idea how to recover them. I've tried programs that aim to recover deleted photos, but they didn't work.
    Is there a way to recover photos after restoring the iPod Touch?

    Hello,
    It is very important to backup your device to the computer before updating or restoring.
    You can restore your device to a previous backup, all the photos that were there when you made the backup should return with it, but I'm afraid that any photos taken or saved after the last backup are unrecoverable.
    I hope this helps.
    ~Lt. Leviathan

Maybe you are looking for