Creating a new controlfile with RMAN backup data files

Hello

I use oracle 10g (10.2.0.1) in RHEL5 server. I am trying to restore a RMAN backup from one server to another server again with the new name of the comic. I took on the RMAN backup spfile and created her pfile and edited the file pfile with new dbname and directory structure and launched the db in nomount with new pfile. Today I restored the backup controfile RMAN has tried to put the database in State of Mount. But it failed due to the error below

RMAN-03002: failure of alter db command at 21:44:56 05/11/2012
ORA-01103: name "ORADB" in the control of the database file is not 'DEVDB '.

So I stop the database and started the db in nomount with new pfile and tried to create the controlfile with new db name, but he didn't like it is looking for the data files.

ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in file identification
' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
ORA-27037: unable to get file status
Linux error: 2: no such file or directory
Additional information: 3

All my data files in my RMAN backup. How to get the data files of RMAN backup in the above scenario?

Kind regards
007

restaurer restore as ORADB, then rename the database with DBNEWID
http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dbnewid.htm

or use duplicate instead of restore

Tags: Database

Similar Questions

  • How to create the new database with rman backup

    Hello
    I took an rman backup with nocatelog. can I make a new database with the rman backup.
    If so, how? I m using oracle 9i.


    thxs

    If it is useful, see the following:

    http://www.shutdownabort.com/QuickGuides/clone_rman.php

  • extract the rman backup data file

    Hello
    I want to search when logical corruption occurs in my database, so I want to extract my rman backup and test a file with db_verify.
    But I don't want to recover the database. How to extract a file without recovery and destroing database work?

    thnx
    Podkov

    You must perform the RESTORE in an auxiliary instance - preferably on another server.

    Note: If you do it on the same server, make sure that
    a. you do not connect to the same database instance
    b. you set NEWNAME so that the data file is extracted to a different location

  • RMAN, any backup data file.

    Dear...

    I have a scenario.

    Backup RMAN - yesterday.

    DataFile added today, and he lost in the evening. How a datafile restore/restore with RMAN, as data file has been saved in the last backup RMAN.

    Version: 10.2.0.1.0

    Kind regards.

    YES, below.

    name of the archived log file = C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_. Wire ARC = 1 sequence = 18
    The creation data file file number = 7 name = C:\ORACLE\ORADATA\ORCL\USERS03. DBF

    RMAN> backup database;
    
    Starting backup at 21-FEB-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=133 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    input datafile file number=00002 name=C:\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    input datafile file number=00003 name=C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile file number=00005 name=C:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile file number=00006 name=C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    input datafile file number=00004 name=C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-FEB-12
    channel ORA_DISK_1: finished piece 1 at 21-FEB-12
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP tag=TAG20120221T132643 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
    Finished backup at 21-FEB-12
    
    Starting Control File and SPFILE Autobackup at 21-FEB-12
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 21-FEB-12
    
    RMAN> exit
    
    SQL> alter tablespace users add datafile 'C:\ORACLE\ORADATA\ORCL\USERS03.dbf' size 10m;
    
    Tablespace altered.
    
    SQL>
    
    SQL> alter system switch logfile;
    
    System altered.
    
    SQL> startup force mount exclusive restrict;
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             310379944 bytes
    Database Buffers          461373440 bytes
    Redo Buffers                5259264 bytes
    Database mounted.
    SQL> drop database;
    
    Database dropped.
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>    exit
    
    C:\Users\bn2676>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 13:51:27 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup nomount
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             310379944 bytes
    Database Buffers          461373440 bytes
    Redo Buffers                5259264 bytes
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    C:\Users\bn2676>rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Feb 21 13:51:52 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORCL (not mounted)
    
    RMAN> restore controlfile from 'C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP';
    
    Starting restore at 21-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=63 device type=DISK
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output file name=C:\ORACLE\ORADATA\ORCL\CONTROL01.CTL
    output file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL
    Finished restore at 21-FEB-12
    
    RMAN> sql 'alter database mount';
    
    sql statement: alter database mount
    released channel: ORA_DISK_1
    
    RMAN> restore database;
    
    Starting restore at 21-FEB-12
    Starting implicit crosscheck backup at 21-FEB-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=63 device type=DISK
    Crosschecked 8 objects
    Finished implicit crosscheck backup at 21-FEB-12
    
    Starting implicit crosscheck copy at 21-FEB-12
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 21-FEB-12
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834547_7N6N2WHN_.BKP
    
    using channel ORA_DISK_1
    
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to C:\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to C:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP
    channel ORA_DISK_1: piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP tag=TAG20120221T132643
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 21-FEB-12
    
    R recover database;
    
    Starting recover at 21-FEB-12
    using channel ORA_DISK_1
    
    starting media recovery
    
    archived log for thread 1 with sequence 18 is already on disk as file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC
    archived log for thread 1 with sequence 19 is already on disk as file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC thread=1 sequence=18
    creating datafile file number=7 name=C:\ORACLE\ORADATA\ORCL\USERS03.DBF
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC thread=1 sequence=18
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC thread=1 sequence=19
    unable to find archived log
    archived log thread=1 sequence=20
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 02/21/2012 13:54:04
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 20 and starting SCN of 1226889
    
    RMAN> sql 'alter database open resetlogs';
    
    sql statement: alter database open resetlogs
    
    RMAN> exit
    
    Recovery Manager complete.
    
    C:\Users\bn2676>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 13:54:42 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select file_name from dba_data_files where tablespace_name='USERS';
    
    FILE_NAME
    --------------------------------------------------------------------------------
    C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    C:\ORACLE\ORADATA\ORCL\USERS03.DBF
    
    SQL>
    
  • Cannot create a new startup with my data disc

    Hi guys, here's the problem: when I try to create a new startup with my data disc, I can't boot from this drive.

    The startup progress bar takes forever and then I see a white circle with a line through it. ("Prohibited" / "Ghostbusters" sign.)

    In verbose mode, it hangs on "break pci: SDXC ' for a while, then it clears the screen and watch the Circle + line with 'still waiting on the root device' at the bottom left.

    I can't boot into single user mode. Quite simply, there is the same thing as verbose mode. Even in safe mode. So I have few options for debugging. I did a SMC reset, no change. Is there anything else I should try?

    Additional information:

    -I'm trying to start off a new SSD that I bought, currently in a USB 3.0 enclosure external. I know that all is well with the speaker because I started off of him several times in the past. I know that all is well with the reader, because I tried to do the same process with another drive and it doesn't work the same way.

    -J' cloned my current boot drive to the new drive with SuperDuper!, Carbon Copy Cloner and I also did a clean install of El Capitan using recovery mode. The new facility has worked well until I migrated my old data.

    - So there must be something in my data which are striated throughout this process. I don't know what it is maybe or how to track him down.

    Any thoughts are appreciated!

    Have you tried the PRAM reset? Restart while pressing control + command + P + R until you hear the boot chime at least twice.

  • How to create the new domain with lookup?

    How to create the new domain with list of choices like terrain dDocType system?

    Administration/Admin Applets tab / SCCM / information fields.
    Add field or edit a custom field if you have one.
    The name field (the name will be prefaced with the lowercase letter x behind the scenes, if ever, you write the code to call it if you name this Fruit it will xFruit for code)
    Define your values for the field, but the important thing for a menu drop-down list or list of selection will be to list the Option activate the checkbox.
    Then, you perform one of the 3 main things to put data in the list.
    1. manually fill in a list of options
    2. use a DB or DB table view to view Configuration Manager
    3. create a complex tree (read the documentation on which I him have not used)

    If this does not answer your questions, click the help button in the applet.

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • I have created a new domain with win2012r2 and created users. Add after the client in my area so that the newspaper with the user I get error below.

    Hello

    I have created a new domain with win2012r2 and created users. Add after the client in my area so that the newspaper with the user I get error below.

    "You cannot connect because the logon method, you use is not allowed on this computer, please, see your ad min for more information network"

    Please help me with that and I don't want to give permission to admin for all users group...

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • I can't create a new disk with unallocated space. What can I do?

    I'm afraid my C drive. If the part of the space has become not allocated. However, I can't create a new disk with unallocated space. The computer cannot me to creat new simple volume because there is no maximum. partitions. I don't understand what this means and what I can do?

    I came across this error myself, I could not worth, so I used a third-party utility which more came this restriction:

    Free Windows 7 partitioning tool:

    (This is the one I used) EASEUS Partition Master Home Edition - http://download.cnet.com/Easeus-Partition-Manager-Home-Edition/3000-2248_4-10863346.html

    More information: tools to partition the free Windows disk: http://news.cnet.com/8301-13880_3-20058506-68.html

  • Backup with rman backup sets

    Hi experts. I know about backup of backup without rman example sets but I want to know is there a way to backup with rman backup sets.

    Perhaps it works for your condition.

    RMAN > backupset backup is complete before ' sysdate-1';

    Kind regards

    Shivananda

  • How to create a new project with other page with the new version of Muse layouts?

    Hello
    If someone would continue to operate as before with the inadmissible Muse version... is - this posible to have both versions installed? or how to create a new project with other page with the new version of Muse layouts?
    Or how to download third party) 3 different configurations (desktop/tablet/mobile) under the same url with a clean result, like up yet with the Muse does not?

    Thanks for any help,

    Patrick

    Use the new version! What you want to achieve, will work! Go to the 'Page' menu and choose 'Add another Layout' and the missed buttons are in plan view.

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • create a new user with password expire - problem SQL Developer

    Hi people,

    I use RDBMS 11.2.x on Solaris and Linux, and in the face of a problem that I hope someone can help me with.

    Our policy is to create a new account with a temporary password and force them to reset the password at the first login.

    Therefore, I use: "create user < username > identified by < user > password expire...» »

    The problem is that many users use Oracle SQL Developer and do not have access to SQL * more.

    When I user logs in the database for the first time in SQL Developer, he just tells them that the account is locked.

    It does not say the password is expired, and it does not give them a way to change this (that I can find it).

    I'm not familiar with SQL Developer and hoped for someone who has had a similar problem can offer some suggestions.

    Thank you.

    Jim

    Change password dialog is no longer Pop Up after ORA-28001 (password expired) (Doc ID 811736.1)

  • Need to create a new record with the rules of the takeover bid

    Hi all

    I want to create a new record with OPA according to the result value (Service request is valid)

    For example
    When the demand for services is valid if
    There are (the activity is valid)
    the activity is valid if
    activity type = 'other '.

    Can someone help me how to

    Can you provide a little more information on what you want to do?

    If you want to create an object in, for example, a database based on the results of the OPA assessment or investigation, then that lies outside of the OPA and is usually performed by the client that calls the rules.

    If you want to create an instance of entity within the am Session OPA, then this will be involved custom code. There is an example of this in the OPA 10.2.0 documentation, see: example: enter into instances of entity with an inference listener in policy of Automation Developer Help. It is available online at http://download.oracle.com/docs/html/E20344_01/toc.htm

  • Creating a new report with 1 seal import

    Hi all

    When I import a discoverer workbook that is already existing I always use the following two options.
    1 update the object
    2. by the identifier.

    But more than once, I see that import creates another report with the same name with a 1 on the end of the name of the report to make it unique (being the same owner).
    Whereas, according to my understanding, I think a refresh would crush the report pleased just rather than create a new one with a 1 on the end.

    Please advice is there anything that I'm missing when importing the report, so a 1 is not appended to the name of the report, and it should just replace the existing one.

    Kind regards
    Shruti

    Hello

    If you look at the properties of the workbook under file-> manage workbooks or files-> properties of the workbook, you will see the identifier of the workbook. If any workbook has the same identifier as the existing workbook the option replace ensure that the workbook is to replace. If the names are different, then a copy will be created.

    You can change the identifier to be the same or must match or the name of the workbook to make sure that a copy is not created if the names are different.

    Rod West

Maybe you are looking for