Restore old rman backup after changing dbid?

Hi,
I backed up database using rman. then i changed dbid for that databases. can i restore backup what i backed up before changing DBID?

No.
When you change the DBID for a database, it becomes a different database. All the datafiles are stamped with the new DBID.
And you cannot select a DBID value either, so you cannot choose to change the DBID back to the previous value.
A RESTORE verifies that it is restoring to the same database -- it uses the DBID to verify. Since the DBIDs for the Backup and the now-present database do not match, a RESTORE cannot be attempted.
You can remove the database with the changed DBID and do a complete RESTORE from the backup.
Hemant K Chitale

Similar Messages

  • Database restore from old rman backup

    Hi Friends,
    My database version is oracle 10.2.0 O/s : Windows
    I have a production database of an outlet. Yesterday night 11pm they have done some wrong transactions and whole stock is showing wrong.
    They have taken a export backup at 9.30 pm and latest archives are there.
    We have a rman backup on April-30,2008. when I am trying to restore from the old rman backup the controlfile I am unable to do it.
    Can any one of you help me out.
    thankyou
    satya

    Hi,
    I have tried installing in a seperate system and restore the rman backup, as I do not have the controlfile I have taken a standby controlfile and started restoring the rman backup as the old rman backup dbid is different with the current dbid and giving me following error:
    ORA-19870: error reading backup piece D:\MPOUTLET\0AJF4BM3_1_1
    ORA-19691: D:\MPOUTLET\0AJF4BM3_1_1 is from different database: id=1976833331, name=JEEVAMP
    ORA-19870: error reading backup piece D:\MPOUTLET\0BJF4BOE_1_1
    ORA-19691: D:\MPOUTLET\0BJF4BOE_1_1 is from different database: id=1976833331, name=JEEVAMP
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of catalog command at 07/13/2008 12:23:23
    RMAN-06209: List of failed objects
    RMAN-06211: ==========================
    RMAN-06212: Object Type Filename/Handle
    RMAN-06213: --------------- ---------------------------------------------------
    RMAN-06214: Backup Piece D:\MPOUTLET\0AJF4BM3_1_1
    RMAN-06214: Backup Piece D:\MPOUTLET\0BJF4BOE_1_1

  • Restoring of rman backup

    Hi all,
    i got a scenerion where i need to check whether rman back is valid or not.
    i have y server where production db resides and storage team kept the 7 days old rman backup in the same production server and my resposibility is to reatore the rman backup with new database name in the same server and to query the new db to cross verify that rman backup is valid or not.
    oracle version : 9.2.0.4.0
    os : windows
    appreciated the inputs.
    Thanks
    Prakash

    Can you solve your problem?
    Now I explain this for you.Consider we have database which name is "w".We want craete new database (w1) using backup of w in same machine.Also backup of database have located in D:\oracle\product\10.2.0\flash_recovery_area\W.
    First we have to create service and some directories for new W1,aslo restore spfile and controlfile as
    C:\Documents and Settings\chinar>set ORACLE_SID=W1
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:00:51 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    C:\Documents and Settings\chinar>oradim -new -sid W1 -intpwd sm
    Instance created.
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:01:21 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE
    \INITW1.ORA'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area     159383552 bytes
    Fixed Size                     1288292 bytes
    Variable Size                 58722204 bytes
    Database Buffers              92274688 bytes
    Redo Buffers                   7098368 bytes
    RMAN> restore spfile to pfile 'D:\oracle\product\10.2.0\admin\W1\pfile\initw1.or
    a' from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1
    _MF_S_718973315_5YSS1O7W_.BKP';
    Starting restore at 14-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: autobackup found: D:\oracle\product\10.2.0\flash_recovery_ar
    ea\W\AUTOBACKUP\2010_05_14\O1_MF_S_718973315_5YSS1O7W_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 14-MAY-10
    RMAN>
    RMAN> restore controlfile to 'D:\oracle\product\10.2.0\oradata\W1\control01.ctl'
    from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1_M
    F_S_718973315_5YSS1O7W_.BKP';
    Starting restore at 14-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
    Finished restore at 14-MAY-10
    RMAN>
    then change initw1. pfile accourding to W!(all w change to W1) and create additional two copy of controlfile from
    D:\oracle\product\10.2.0\oradata\W1\CONTROL01.CTL.  then
    C:\Documents and Settings\chinar>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:14:34 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database: DUMMY (not mounted)
    RMAN> shutdoen immediate;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
    te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
    hback, host, {, library, list, mount, open, print, quit, recover, register, rele
    ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
    et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
    , upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: shutdoen
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 05/14/2010 11:15:28
    ORA-01103: database name 'W' in control file is not 'W1'  -- return still db_name to w and restart
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 05/14/2010 11:16:17
    ORA-01102: cannot mount database in EXCLUSIVE mode -- add pfile *.db_unique_name=w1
    RMAN> shutdown immediate;
    Oracle instance shut down
    RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area     125829120 bytes
    Fixed Size                     1288100 bytes
    Variable Size                 62916700 bytes
    Database Buffers              54525952 bytes
    Redo Buffers                   7098368 bytes
    RMAN> catalog start with 'D:\oracle\product\10.2.0\flash_recovery_area\W';
    Starting implicit crosscheck backup at 14-MAY-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 14-MAY-10
    Starting implicit crosscheck copy at 14-MAY-10
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 14-MAY-10
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    searching for all files that match the pattern D:\oracle\product\10.2.0\flash_re
    covery_area\W
    List of Files Unknown to the Database
    =====================================
    File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
    O1_MF_S_718973315_5YSS1O7W_.BKP
    Do you really want to catalog the above files (enter YES or NO)? y
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
    O1_MF_S_718973315_5YSS1O7W_.BKP
    RMAN>
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.D
    BF';
    4> set newname for datafile 2 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.
    DBF';
    5> set newname for datafile 3 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.D
    BF';
    6> set newname for datafile 4 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DB
    F';
    7> set newname for datafile 5 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.
    DBF';
    8> set newname for datafile 6 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DB
    F';
    9> restore database;
    10> }
    executing command: SET NEWNAME
    using target database control file instead of recovery catalog
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 14-MAY-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF
    restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.DBF
    restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.DBF
    restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DBF
    restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.DBF
    restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DBF
    channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\W\BACKUPSET\2010_05_14\O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_05_14
    \O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP tag=TAG20100514T104649
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:25
    Finished restore at 14-MAY-10
    RMAN>
    then backup controlfile to trace as:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\chinar>set ORACLE_SID=W1
    C:\Documents and Settings\chinar>sqlplus "sys/sm as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri May 14 11:26:42 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter database backup controlfile to trace as 'D:\oracle\product\10.2.0\ora
    data\W1\ctrl.sql';
    Database altered.
    SQL>
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL>
    Now edit ctrl.sql for chhange database name to new W1 also change in pfile db_name from W to W1.And delete
    all controlfile from D:\oracle\product\10.2.0\oradata\W1. Then
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL>
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 1419839 generated at 05/13/2010 12:36:09 needed for thread 1
    ORA-00289: suggestion :
    D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W1\ARCHIVELOG\2010_05_14\O1_MF_1_25
    _%U_.ARC
    ORA-00280: change 1419839 for thread 1 is in sequence #25
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
    SQL>
    add pfile *._allow_resetlogs_corruption=true
    again
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL> recover;
    Media recovery complete.
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    then remove _allow_resetlogs_corruption=true parameter from pfile and
    SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
    ORACLE instance started.
    Total System Global Area  125829120 bytes
    Fixed Size                  1288100 bytes
    Variable Size              62916700 bytes
    Database Buffers           54525952 bytes
    Redo Buffers                7098368 bytes
    Database mounted.
    SQL> alter database open;
    Database altered.
    SQL>

  • Anyway to restore from iCloud backup after initial setup?

    I purchased a new 5s today - my old 4s was backed up to iCloud - the store moved my contacts but I guess they skipped the cloud restore part so I don't have any of my apps - is there anyway to restore from cloud backup after initial setup?  I think I can reset it but not sure how to do it and I'm afraid of what it will delete if I reset - please help - I could reload my apps but it won't keep my data right? Thanks

    You should check to make sure that your contacts/information is in your iCloud by logging into iCloud.com. You can also plug your device into iTunes and check when the most recent iCloud backup was before restoring from it.
    If your information is there, then you can go through the activation process again pretty easily by going into Settings > General > Reset > Erase All Content and Settings.
    Then you can just restore from your iCloud backup.

  • Restoring a RMAN backup to a new database instance

    Hi Mates,
    I have an issue with restoring a RMAN backup that i have with me to a new database instance. What i have with me are:
    1. Backup of SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_.BKP)
    2. Backup of Control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP)
    3. Full database backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_.BKP)
    I have received these files from a customer environment and I need to restore these to a new database instance in a local machine. I have given a attempt as follows (in Oracle 10g):
    1, Created a new database instance (Test75) using Oracle Database Configuration Assistant
    2. SET ORACLE_SID = Test75
    3. Connected to this instance using RMAN
    4. Tried to restore the SPFILE from the received BKP file.
    I am getting errors and cannot proceed. I am not sure whether I am executing the correct steps. Please help me out by telling me how should I achieve this.
    Thank you.

    1. Backup of SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_.BKP)
    2. Backup of Control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP)
    The first backuppiece looks like a ControlFile and the second one looks like an SPFILE'
    >I am getting errors and cannot proceed
    What is the error ?  (I assume that you tried to restore the SPFILE from O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP
    Note that you also have to SET DBID before you restore the controlfile 
    Hemant K Chitale

  • Is it possible to restore from a backup after initial setup on my iPad air?

    is it possible to restore from a backup after initial setup on my iPad air?

    You don't even have to do to an erase all content and settings.
    Just connect the iPad to iTunes. Once it appears on the left, right click on it and select restore from backup. It's that easy.

  • My phone is stuck in recovery mode, and iTunes will only let me restore to factory settings.  My question: Can I restore from iTunes backup after restoring to factory settings?

    I attempted to update to iOS 8 and now my phone is stuck in recovery mode, and iTunes will only let me restore to factory settings.  My question: Can I restore from iTunes backup after restoring to factory settings?

    Hi, kformagg
    I would say yes. I once had the same problem (iPhone 5, IOS 7) and first restored to factory settings and after that from iCloud backup.
    It worked very well.

  • HT1495 how to restore iphon-without backup, after it synchronization from ipod

    how to restore iphon-without backup, after it synchronization from ipod

    Thanks Eric,
    After inserting the original DVD I installed OSX and after reboot I had a working computer.
    There was no opportunity to restore the TM backup. however when I rebooted from the
    DVD again I saw that possibility from a menu of the install utility.
    I ran through the restore over night (8 hours) and when I woke up, I had my computer back!
    Thanks for helping me out.
    Cheers, Rob

  • Wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app

    wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app so I am concerned

    If the backup and restore takes place properly, you shouldn't have any issue as millions of people have done an update from iOS 4.

  • How to restore using increment backup after full backup restore in RMAN?

    Hi All,
    We have a files of full backup of database after turning on the Archive log.
    And after that, daily incremental backup is taken.
    Now, i want to restore the the database into a new machine using both files of full and incremental backups. Can anybody give me script for restore of full backup and after that restore of incremental backup?
    Thanks,
    Praveen.

    Praveen,
    >>
    In my case, i have 2 sets of backups. One is full backup and other is incremental backup. In order to keep the restored database upto date, i need to restore the full backup and then restore incremental backup. Now, i got any idea how to restore using full backup. My doubt is how to update the restored database with incremental backup also?
    >>
    Restore always looks for level 0 backup, not the incremental backups.
    Incremental backups comes in picture during recovery.
    During Recovery, Oracle looks for incremental backups, if exists, it will do the recovery with the incremental backups, if no incremental backups available, then, it will look for archived logs.
    Therefore, incremental backups never used during restore, they are used only during the recovery.
    Jaffar

  • Duplicate an old RMAN backup set on Oracle 9.2.0.8 with no catalog

    Version: 9.2.0.8. We don't use an RMAN catalog
    Scenario: I need to duplicate a database to the same server with a different name so I can recover some old data. The restored backup set is about 20 days old
    and my RMAN retention is 1 day.
    Current date: 24 March 2011
    I try
    ./rman target sys/syspassword@pasdbt9i auxiliary /
    RMAN> duplicate target database to pastemp until time "to_date('04-MAR-2011 18:30:00','DD-MON-YYYY HH24:MI:SS')";
    Starting Duplicate Db at 24-MAR-11
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=17 devtype=DI
    .using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/24/2011 12:00:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 13 found to restore
    RMAN-06023: no backup or copy of datafile 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 found to 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 presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old.
    If this is true, is there a way of telling the target database about this old backup set that I now want to duplicate?
    From 10g onwards you can catalog a backup piece which might be the fix for this??
    I've got round the problem by restoring the database to a different server, but would still like to know if the above is possible.
    Can anyone offer any suggestions? thanks.

    Hi C3PO,
    I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old?Correct the backupset metadata is nolonger available.
    From 10g onwards you can catalog a backup piece which might be the fix for this??In 9i you can catalog image copies.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta11.htm#1005792
    Can anyone offer any suggestions?Another option would be setup a catalog and change the retention policy to 30 days and add extra diskspace.
    Regards,
    Tycho

  • RMAN Backup after  gracefull Switchover

    We have Oracle 11.2.0.1 .
    We are going to switchoever to standby databse for 6 months.
    We take rman backup with catalog .
    do i need to reregister database to catalog after grace full switchoever ?
    Thanks,

    851707 wrote:
    Hi,
    By using
    when we do full database recovery or when we open database using alter database open resetlogs;
    does we need to take again fresh backup or old back will work further also.After performing a full database recovery it would be better to take a fresh backup, although you can reset the incarnation after opening the database with RESETLOGS
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Restore an RMAN backup to a new db instance name.

    I have a old copy of an RMAN backup of a production database from 2 months ago. I want to restore it to a new instance name. The backup no longer shows in the RMAN backup listing from the control file of the current production system.
    The backup I have does have the control file as well as the other backup pieces, Is there a procedure to restore this to a new instance since the backup is no longer in the current production control file?
    I have used the duplicate command of RMAN and have successfully restored databases to a new instance name by using the newname option.
    But the backups were always in the control file.
    Can this be done? If so, how?

    You need to restore the controlfile first and copy it into all locations where init.ora specify them. then startup mount, and 'rman / target' will give you access to the old contents of the controlfile at that time.. If the rest of the back is on tape, you need to restore the rman backupset first to disk on same location specified in the backupsets paths. same for the archivelogs.
    Then you can decide to go for a duplicate database to target <newname> or a restore DB (must have the same name). but was the DB a cold backup ? then remember than Rman does not takes the redo logs, so that your shutdown before must be clean (shutdown immediate at most). If it is an hot you may need need to dump the arc and possible do a recover manual (case you forgot to put the arcchives or the archives names is not the same in the init.ora than original for you include the db name in it).
    In that case the archive logs may be renamed to what ever is in the init.ora. and there are many others possbilities. you did not specified enough data on the backup

  • How to restore a TM backup after HDD replacement?

    Hi everybody,
    The HDD in my Macbook pro failed, and I am replacing it
    MBP July 2011; HDD 500GB 7200 rpm; Mountain Lion.
    I have recent Time Machine backups. Now what´s the proper way to restore the backup.
    Should I boot up with the not yet formatted new HD and with the TM disk connected
    using some key combo?
    Or should I boot from the Mountain Lion Install CD and then be able to
    format and select the backup drive?
    Thanks for reading!
    Rob

    Thanks Eric,
    After inserting the original DVD I installed OSX and after reboot I had a working computer.
    There was no opportunity to restore the TM backup. however when I rebooted from the
    DVD again I saw that possibility from a menu of the install utility.
    I ran through the restore over night (8 hours) and when I woke up, I had my computer back!
    Thanks for helping me out.
    Cheers, Rob

  • Restore Time Machine backup after hard drive crash

    My hard drive on the mac book crashed, so I replaced it.  Now I need to get my time machine back up on the new drive.  I've already started using the computer and reinstalled lion, so I'm not getting the original "backup" screen.  How do I find my old time machine backups?

    Your best bet is to do a full restore from your backups.  See #14 in Time Machine - Frequently Asked Questions.

Maybe you are looking for

  • Photos randomly showing up in the wrong albums

    Why, all of a sudden, when I sync my Ipad 2 to my computer, are some of the photos in my albums randomly going into the wrong albums? They are correct on the computer... but when on the IPad some of the photos from one album will be in the wrong albu

  • Download OSX mountain lion

    Hi, I am trying to find an OS X Mountain lion installer app. No longer in the app store or so it seems. I wanted to keep it handy a for a bootable flash containing this OS. Any suggestions?

  • Purchase requisition got deleted in the sales order..

    Hi All, I got stuck up with an issue in AFS. The issue is that after creating a P.O with the help of a TAB order,the user has assigned a rejection reason at the item level in the sales order. Then again the rejection reason was removed and now the pu

  • HT1725 Music taken hostage

    I recently purchased 5 different songs from iTunes. 3 of the songs downloaded seamlessly. The other two songs keep saying download error and will not load. iTunes has happily already taken my money but I have not. Been able to receive the music I pur

  • Is this how to use a properties file?

    Hi: The following is how I intend to create and read a properties file, please verify for me that the idea is correct. 1. create myProp.properties 2. in myProp, the content is like such: a=myA b=myB c=myC 3. In my application,   FileInputStream in =