Restore production from standby database

Hi,
I would like to make a standby database for my production database.
But, I have a basic question to restore my production database from standby database. There is a method to make it ?
If I lost all files from production database, how to restore from my standby datase (which become in this case my new production database) ?
thanks in advance for your help.
gnom92.

* I make a copy datafiles from my new production database (old standby database) on old production (where crash)
* With my old production database, I make a standby database on new production database (old standby)
* I can close the new production database and open the new standby database in read / write mode, and this is my production database.
* After what I recreate my standby database (old standby,newproduction), or can I return in recover standby mode ?
thank you very much for your patience.
gnom92.

Similar Messages

  • Restore RMAN from different Database Rman backup

    Hi Everybody
    I am practicing Rman so I have one query that how to restore rman backup from another database.
    For Example :
    1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
    2. I need to import or restore Rman backup of DB1 to another database DB2.
    What is the procedure for doing the above queries. Please anyone one help me out.
    I have using oracle 10g r2 running in windows server 2003.
    Thanks in advance.

    These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
    1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
    2) Create a PFILE for the destination database db2 using the database db1
    3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
    4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
    5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
    6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
    7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
    RMAN> run {
    2> set until sequence 59 thread 1;
    3> set newname for datafile 1 to '/new_location/system01.dbf';
    4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
    5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
    6> set newname for datafile 4 to '/new_location/users01.dbf';
    7> restore database;
    8> switch datafile all;
    9> recover database;
    10> }

  • Create dev database from standby database

    Hi folks,
    I need to create a dev database by using RMAN's method of cloning. But, since it is business hours and the production database is being used at a very high rate, I cannot carryout the cloning by connecting the primary database as it may cause performance slowness.
    The time allotted for the activity is also very short. We have a standby database created for the primary database. So, my question is it possible for me to create the dev database using the standby database ?
    Database version is 11.1.0.6 and I can go ahead with the active database feature.

    Yes, you can clone from the standby database. Follow the below steps.
    1. Check if your standby database is in sync with the primary database.
    2. Cancel the MRP on the standby database.
    alter database recover managed standby database cancel;3. connect to standby as target database and dev database as auxiliary
    rman target sys/<pwd>@<standby-alias> auxiliary sys/pwd@<dev-alias>4. Your standby database would be in mount stage and dev in nomount stage.
    5. Run the duplicate command
    rman>duplicate target database to 'dev' nofilenamecheck;6. Once done, start the MRP on the standby database
    alter database recover managed standby database disconnect from session;

  • Recover Primary Database from Standby Database

    Hi all,
    I'm trying to understand how to use physical standby database in order to have a backup from a primary database.
    The first part is very clear. I supose I have a physical standby database ready and archiving from a primary database but the second part is the problem.
    1. Now I supose that my primary database is gone... not just a logical corruption but a physical disaster such a fire o something worst.
    How to recover the primary site from the physical standby database??????????
    2. Just a logical corruption in primary database. How to syncronize with the standby database that it's the one who has the right data???
    Thanks in advance.
    Edited by: jsfelix on 18-nov-2009 4:48
    Edited by: jsfelix on 18-nov-2009 4:51

    How to recover the primary site from the physical standby database?1. Ensure that you DO have a Primary Site up and running. It might be the same building. It might be another building. Management might decide to switch to another city. (BTW, all of this should be defined in the D.R. / B.C.P. documentation).
    The (possibly new) Primary Site has to have the required hardware , O.S etc.
    2. Take a backup of the Standby and restore it to the (possibly new) Primary.
    Actually, the Standby becomes the new Primary and the new site that is setup becomes the Standby. This continues until management decides to switch over.
    Just a logical corruption in primary database.Take a backup of the Standby and restore it to the Primary. You have to suffer an outage. Note : If only one or few files on the Primary are physically corrupt (and offline), you could backup the selected files from the Standby and RESTORE and RECOVER on the Primary !
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Restoring backup of standby database

    Hi,
    I have an issue logging into my database as sysdba. I'm getting the error ORA-01031: Insufficient priveleges. Here are the facts surrounding the issue:
    1. I have a backup (not a clone) of my standby database.
    2. I am restoring this backup to a new server I just built.
    3. The O/S version and directory structure is exactly the same as my source.
    4. I've restored my backup to my new server. When I set the DB environment variable and then try to logon with sqlplus '/ as sysdba', I get ORA-01031.
    Here's what I've already tried:
    1. I've verified my SID and ORACLE_HOME are being set properly.
    2. TWO_TASK is not set.
    3. I have confirmed $ORACLE_HOME/rdbms/lib/config.c is correct.
    4. I've performed all the checks on Metalink Note 69642.1.
    I'm completely stumped at this time. I even rebuilt the whole thing from scratch just to ensure that I wasn't missing something. The only thing I can think of is that this is a standby database and it needs to be 'failed over'. However, I would still need to logon as sysdba for that so I'm still stuck.
    Can anyone shed some light on what else I can check? My DB version is 10.2.0.4. running RHEL 4 Update 7. I'm also running EBS 11.5.10.2.
    Thanks.
    Aliyah.

    Problem has been resolved. It turned out that I overlooked my config.c file. In there, my oracle user was not set to the dba group. So I had to change it, and relink the link. All is well now. Thanks.

  • Error when trying to recover datafile from standby database to primary

    hi friends,
    getting problem with restoring datafile from backupset taken on standby database to primary database.
    os: windows server 2003
    db: oracle 11gR1(11.1.0.6)
    i've configured standby database on two different hosts.
    host1 - primary (db_uinque_name= prod)
    host2 - standby (db_uniue_name= prodsby)
    I've configure both database with recovery catalog. I take backup on standby database. users' datafile of primary database has been lost.i'm trying to restore from the backupsets taken on standby database.
    with the help of - http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJCEFEG
    on primary
    c:\>rman target sys/password catalog rcat/password
    rman>list backup for db_unique_name prodsby;
    display the backupsets
    rman>restore datafile 4;
    Starting restore at 06-NOV-08
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1051 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 12:12:18
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    also use to tag to restore the datafile
    rman>restore datafile 4 from tag='base0_prodsby';
    Starting restore at 06-NOV-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 11:27:21
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    i'm getting above errors when try to restore the datafile.
    when i issue the following command.
    BACKUP AS COPY DATAFILE 4 AUXILIARY FORMAT 'C:\app\Administrator\oradata\prod\USERS01.DBF';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    please friends, try to help me to solve the problem.
    Thanks,
    Vihang

    hi.
    Its not necessary its a otherway around to recover datafile from this backupset and apply archivelogs to make datafile consistent.
    yes, it ain't the right way to restore backup to primary location.
    so how would i connect to standby database with primary and recovery catalog.
    i need to connect to recovery catalog and primary site because i need to restore to primary location and recovery catalog contain all metadata and backupsets related information.
    i also tried the following steps from oracle documentation.
    Connect to the standby database as the target database:
    CONNECT TARGET sys@standby
    You are prompted for a password:
    target database Password: password
    Connect to the primary database as the auxiliary database:
    CONNECT AUXILIARY sys@primary
    You are prompted for a password:
    target database Password: password
    Back up the datafile on the standby host across the network to a location on the primary host. For example, suppose that /disk1/df2.dbf is the name of datafile 2 on the standby host. Suppose that /disk8/datafile2.dbf is the name of datafile 2 on the primary host. The following command would copy datafile 2 over the network to /disk9/df2copy.dbf:
    BACKUP AS COPY DATAFILE 2 AUXILIARY FORMAT '/disk9/df2copy.dbf';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    getting this error.

  • Failed to clone DB from StandBy database

    Hello,
          I need to  perform a clone of Data Guard physical standby  database  (production) to use in preproduction. we  have a  full RMAN  backup of standby database.
    My restore is failed,  i use this steps:
       * full RMAN backup of standby database
      *  backup control file of primary
      * on a new  database server, copy backup
      *  RMAN > restore control file (of brimary)
    *  RMAN > CATALOG START WITH ' Path of backup'
    *  crosscheck backup
    *  restore database
    -> the restore is failed with errors messages :
       RMAN-06026: some targets not found - aborting restore
       RMAN-06023: no backup or copy of datafile 4 found to restore
       RMAN-06023: no backup or copy of datafile 3 found to restore
      RMAN-06023: no backup or copy of datafile 2 found to restore
      RMAN-06023: no backup or copy of datafile 1 found to restore
    I  retry restore database after restoring a  standby control file, it's failed with the same message.
    can you help me ,please, to resolve this issue
    Regards
    Dj

    Thank's AbuFazalMdAbbas for your reply,
      RMAN > list backup :  i display only 3 Piece Name
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18364   Incr 1  36.56M     DISK        00:22:11     29-JUL-13
                        BP Key: 18364   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0fofu8j3_1_1
                  List of Datafiles in backup set 18364
                  File LV Type Ckp SCN    Ckp Time  Name
                  17   1  Incr 22020167729 29-JUL-13 +DATA/DB1/datafile/indx_fusion54_purge.277.753031091
                  25   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.284.762608775
                  44   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.303.799865601
                  64   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.324.809446025
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18365   Incr 1  11.17M     DISK        00:22:12     29-JUL-13
                        BP Key: 18365   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0gofu8j3_1_1
                  List of Datafiles in backup set 18365
                  File LV Type Ckp SCN    Ckp Time  Name
                  18   1  Incr 22020167729 29-JUL-13 +DATA/DB1/datafile/indx_fusion54_purge.279.753031091
                  26   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.285.762622281
                  45   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.304.800028323
                  65   1  Incr 22020167729 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.325.814713695
                BS Key  Type LV Size       Device Type Elapsed Time Completion Time
                18366   Incr 1  49.25M     DISK        00:11:54     29-JUL-13
                        BP Key: 18366   Status: AVAILABLE  Compressed: YES  Tag: DIGI_SEC_DB1_DAT
                        Piece Name: /mnt/backup/RMAN/SEC_DB1/files/rman_SEC_DB1_29_01_0hofu9sq_1_1
                  List of Datafiles in backup set 18366
                  File LV Type Ckp SCN    Ckp Time  Name
                  4    1  Incr 22021555818 29-JUL-13 +DATA/DB1/datafile/users.281.753031093
                  27   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.286.763655749
                  47   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/indx_cmsco.306.800463801
                  66   1  Incr 22021555818 29-JUL-13 +DATA/SEC_DB1/datafile/data_cmsco.326.817754983
      # cd <location where backup files were copied>
      # ls -lrt
          ALL files (piece name in list backup) exist on file System,  and it's owner by oracle
      # show all
                RMAN> show all;
                using target database control file instead of recovery catalog
                RMAN configuration parameters for database with db_unique_name RSP are:
                CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
                CONFIGURE BACKUP OPTIMIZATION OFF; # default
                CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
                CONFIGURE CONTROLFILE AUTOBACKUP ON;
                CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '+RECO/ctrl_%F';
                CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
                CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
                CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
                CONFIGURE MAXSETSIZE TO UNLIMITED; # default
                CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
                CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
                CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
                CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
                CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db/dbs/snapcf_MNTRSP.f'; # default

  • Failover from standby database to primary database

    Hi,
    Can anyone suggest me, How to do " Standby DataGuard database to primary database (dataguard)".
    Kindly Give me steps.
    Thanks,
    Shweta

    Hi
    Follow these steps
    Oracle switchover operation:
    1.     Check and verify the role parameter on the v$parameters both primary and standby
    On Primary
    Log_archive_dest_1=”this is the local archive destination”
    +Log_archive_dest_2=”This is the Service [TNS ENTRY]”+
    Log_archive_dest_state_1=Enable
    Log_archive_dest_state_2=Enable
    Fal_server=”this should have the tns entry for the standby
    Fal_Client=”this should have the tns entry for the primary
    Standby_archive_dest=”This should have the Location where the archive located”
    Standby_File_Management=AUTO
    On Standby
    Log_archive_dest_1=”this is the local archive destination”
    +Log_archive_dest_2=”This is the Service [TNS ENTRY]”+
    Log_archive_dest_state_1=Enable
    Log_archive_dest_state_2=DEfer
    Fal_server=”this should have the tns entry for the primary
    Fal_Client=”this should have the tns entry for the standby
    Standby_archive_dest=”This should have the Location where the archive located”
    Standby_File_Management=AUTO
    2.     Down all the applications connects to the database
    3.     Shutdown both primary and standby databases
    4.     For RAC Keep Only one primary and One standby up and all other nodes should be down
    5.     Check the Primary database on Open mode and the Standby database on mount stage
    6.     On Primary
    SQL>select switchover_status from v$database;Sessions Active or To standby will be appearing on the result
    SQL> alter database commit to switchover to standby with session shutdown;
    SQL> shutdown Immediate;
    SQL>startup nomount;
    SQL>alter database mount standby database;
    SQL>Alter system set log_Archive_dest_state_2=defer;7.     On Standby
    SQL>select switchover_status from  v$database;it is acceptable to have Sessions Active or To Primary
    SQL>alter database commit to switchover to primary with session shutdown;
    SQL>shutdown immediate;
    SQL>Startup;
    SQL.>Alter system set log_archive_dest_state_2=enable;8.     On Primary
    start the managed recovery
    SQL>Alter database recover managed standby database disconnect from session;9.     Check the log shipment is working from New Primary to New Standby Using
    SQL>Alter system switch logfile; ---- On New Primary.check the alert log on both Primary and Standby for the log shipment and Media recovery.
    10.     If the switch over fail issue the following statement on standby (ORACLE 9i)
    SQL> alter database recover managed standby database finish skip standby logfile ┘
    SQL> alter database commit to switchover to primary┘
    SQL> shutdown immediate;
    SQL> Startup;11.     If this don’t work please issue the below statement
    SQL> alter database activate standby database skip standby logfile;12.     If the switch over fail issue the following statement on standby (ORACLE 10g and above)
    SQL> alter database recover managed standby database finish force;
    SQL> alter database commit to switchover to primary;
    SQL> alter database open;
    SQL> shutdown Immediate;
    SQL> startup;13. Added the temp file to your temp tablespace
    If you follow the steps (10,11 & 12 ) you have to recreate the standby again. those steps are actually fail over steps. Hope this will be helpful
    Cheers
    Kanchana

  • UAT Database from Standby database

    Hi,
    I'm using oracle 11.2.0.2.0 on Windows 2008,
    I have prod & standby databases, I want to create new UAT DB which wiil be same as prod,
    How Can create a UAT using standby database cold backup,
    can i use cold backup of standby database.
    Thanks
    Edited by: user10745179 on Oct 22, 2012 12:42 PM

    This would be a database duplication from backup with RMAN. A Catalog will help, particularly as you are working in a Data Guard environment, but it is a straightforward and well documented operation:
    http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564

  • HOW? switch from standby database

    I on standby database and want to usse it for update,insert .
    tell me, how do i switch stand by database.
    please tell me for command and process
    thx

    1/ open Firefox (or you favorite browser)
    2/ enter URL: http://tahiti.oracle.com
    3/ pick you release
    4/ in the "Search box" enter: "Data Guard" and hit enter
    5/ In the list, pick the link that will lead you to "Data Guard Concepts and Administration - Contents" (name for 10g)
    6/ Good reading.
    Regards,
    Yoann.
    PS: From your post, it's not clear what you want to achieve.

  • Restore datafile to standby database

    dear all,
    i have a standby database which use raw devices under solaris 9.
    and a primary database which use filesystem under solaris 9 too.
    recently i have a problem which is nologging issue. see ML 290161.1
    my question is how we know that when restore to raw devices through rman, will it replace file in the raw?
    or should I create new raw and directing my new restore to new raw?
    regards
    ujang

    dear all,
    i have a standby database which use raw devices under solaris 9.
    and a primary database which use filesystem under solaris 9 too.
    recently i have a problem which is nologging issue. see ML 290161.1
    my question is how we know that when restore to raw devices through rman, will it replace file in the raw?
    or should I create new raw and directing my new restore to new raw?
    regards
    ujang

  • Duplicate from standby database to create a test database?

    Hello!
    Would it be possible to use backup-based duplication FROM a physical standby database to create another database to be used for testing? If I performed RMAN backup of the standby database, moved the backup to another test server, and then ran duplicate?
    Anyone know if this would be possible? If possible, would the new test database's controlfile be "standby" or "primary".
    (version 11.2.0.2)
    thanks..

    Yes it works ! I've tried that recently on 10g so I think on 11g will not be a problem.
    You can do it with or without duplicate. If you want to use duplicate, you don't need to copy the backup. Actually, on 11g you don't need no backup at all, since now you have 'from active database' option for duplicate command !
    Also, duplicate will rebuild the controlfile so it will not be "standby" or "primary" ...
    Gabriel

  • Database refresh from standby database

    All,
    OS : Sun version : 11.1.0.7
    I'm doing database refresh using stand by database datafiles in different server.
    1)Disabled Data guard broker in standby database .
    2)Copied all datafiles in mount stage to target server (different server)
    3)created controlfile and started the database in mount stage in different server
    4)Applied all archive log files .
    5)But still the database not recovered .
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10401147296308 generated at 01/13/2012 09:03:43 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    ORA-00280: change 10401147296308 for thread 1 is in sequence #57879
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc
    ORA-00279: change 10401156453328 generated at 01/13/2012 10:48:01 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Am I missing any steps here ? Please advice me on this .
    Thanks.

    Hi,
    When you copy files of standby server to another target server ? - Yesterday.
    Is standby is SYNC with primary? or MRP is still running? - ---------yes, standby db is running fine .
    Even you can open database with resetlogs after recreating controlfile, no need of recovery too -- >I was unable to open . So went to apply arch files.
    Do you have archive of thread 1 is in sequence #57887, -- No , Because sequence 57887 yet generate. I have applied all recent available archive log files.
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Edited by: 805877 on Jan 12, 2012 10:43 PM

  • Urgent -- need to restore table from full database backup

    Hello,
    Can somebody tell me the process for restoring just a table from a full database backup?
    I did a full online database backup yesterday, and one of my tables got ruined today. I need to restore it as soon as possible, but I don't know how. When I tried flashback tables, it said that feature wasn't enabled. Should I restore the datafile or the tablespace?
    Thanks much,
    Nora

    If you only want to recover the table and not the other objects in the tablespace, and assuming the table was damaged by a user statement (and not, say, block corruption), you would need to recover your backup to a different system, export the table that was damaged, and import the table into your real production database. If you can recover the entire tablespace to an earlier point in time, or if you can lose some committed changes to other database objects, you may have other options.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • DG backup advisory , backup from standby database 11gr2

    Hi everyone
    I'm having a bit of issues with how the backups are setup in my DG environment. I have searched high and low and not really found a easy answer to how to setup your DG backups.
    One says this, another says that. So i'm asking here in the forum.
    What is the correct way to backup a DG environment? Some discussions just shows do a normal backup on the standby only, another says you must backup the controlfiles from the primary as well (this is where my problem starts)
    We recently upgraded a 11gr1 DB to 11gr2 and now the old setup does not work anymore. The old setup was doing backup on standby , and spfile + controlfile backup on primary node. this now fails with  ANU2614E Invalid sequence of function calls to Data Protection for Oracle (backup to tape)
    This particular error happens when I run a backup controlfile on the primary before the backup on the standby. If I skip the controlfile backup on the primary, the standby will backup correctly, including the controlfile + spfile.
    There is also a delete obsolete script running within each script (controlfile backup etc), might also cause issues I guess. But this worked fine in 11gr1.
    So i'm reaching out, trying to figure out the proper way to do backup, everyone says different.
    Sincerely
    Johnny

    What is the correct way to backup a DG environment?
    Neither backing from Primary or Standby is more correct than the other.
    You can use a backup taken on the Standby in order to restore and recover a Primary Database and vice versa.
    Datafiles, Control files and archive backups are interchangeable in a Data Guard environment.
    Where you backup should depend upon load. If the Primary can handle the load without causing a SLA issue then I would backup there.
    The main things I would do with Data Guard and RMAN are as follows:
    Enable Block Change Tracking.
    Always use Autobackup.
    Always use a FRA.
    Keep Flashback Database on.
    And always set this on the Primary  ( CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY; )
    ANU2614E Invalid sequence.
    Odd, If you are using Third party software along with RMAN I might check this:
    Rman fails ORA-19511 ANU2614E Invalid sequence of function calls to Data Protection for Oracle (Doc ID 1300134.1)
    Otherwise I would open a support ticket ASAP.
    Best Regards
    mseberg

Maybe you are looking for

  • Unable to export book layout to PDF or BLURB! Using Lightroom 4.4's book module on Mac OS X 10.6.8.

    After investing a bunch of time laying out a photo book, I would like to generate a PDF in order to proof it before sending the book to BLURB for printing. After numerous attempts, I am unable to generate a PDF of the book or, by clicking the 'Send B

  • The Computer is not verifying the iPod

    I try to plug my iPod into the computer, and the computer won't even verify that its there. I've tried Resetting it, and I would restore it, but the computer won't even verify it It says... "iTunes cannot read the contents of the iPod "MICHAEL'S I".

  • How to execute a workflow from a webdynpro application???

    hi friends.... How to execute a workflow from a webdynpro application??? we are using ep6, ecc5????

  • Officejet 6500 e710n Solution Center for Windows 8.1

    I originally purchased my Officejet 6500 E710n and loaded it on my Windows XP computer, no problems.  I recently purchased a new Windows 8.1 computer and wanted to use the above mentioned printer with it.  First I tried to install it on my new 8.1 PC

  • Oh nooooo! help needed!

    hi folks, i found out my vi is not going according to plan, basically it creates an 'open circuit' between switching from volts to current, so i will never be avle to do my plots correctly, like seeing the voltage decay vs time (coin cell). i dont ha