Restore a database in a new instance with different name

Hello, I need restore a database in a different server. I have a backup of 01-Jan-2008 on tape on DataProtector and I need to restore in another server in order to extract some information for a datawarehouse, I need restore with a name different because on that server we have a standby database. The both servers are HP ia64 and have Unix. I have installed Oracle 10.2.0.4.0 EE. I read the Oracle RMAN Advanced but the process is for duplicate the database, I need restore a backup from 01-Jan-2008. Can you help me please. What steps should I run. Thanks for your answer.
Ruben Nieto
DBA

Hi Ruben Nieto,
Can you check on the target if the backup pieces are still registered in the controlfile?
< connect target /; >
< list backup completed before 'to_date('2009-01-02:00:00:00','YYYY-MM-DD:HH24:MI:SS')'; >
If no information is available:
1) "I can't use the same name for the database." -> excludes a restore/recover on the standby server.
2) "how can I restore the database whitout catalog in other server" -> excludes a duplication to new name.
If you want to keep it simple find a third HP ia64 machine where you can mirror your production environment and restore the complete backup set and recover the database keeping the name of the target.
Regards,
Tycho

Similar Messages

  • Can't insert new images with different names

    I have a picture file (.jpg) called location1.jpg. I rename the file in finder to map-location-1.jpg. Go to iWeb and delete location1.jp and then insert the renamed file map-location-1.jpg. However it still shows up in iWeb as being the original location1.jpg - The files are the same, they've just been renamed. I've deleted the plist file and restarted my iBook and it still uses the old file name.
    There must be some kind of cache right?.
    All I can do now is go into photoshop and arbitrarily change or modify the image and save it - then it works.
    I don't want to do that as I have a few hundred images that I want to rename.
    Help !!!

    This did my head in for a good few hours. I did not find a nice way to remove everything to re-publish, but if it is just a couple of images you wish to replace (i.e. a banner) I did the following. Delete the old image. Insert a totally different image which you have named the same as what you intend to change to. Then remove this "false image" and insert the actual image you want. When it publishes to a local folder, the WHATEVER_files will contain your correct image named correctly. Let me know how you go.

  • Export schema and import with different name

    Hi ,
    I need your assistance guys,
    I need to export a schema from a database and then import it with different name to another database. How can I do that?
    I export it with the following command:
    exp userid=system/PW file=May_02_Export.dmp log=May_02_Export.log owner=schema_name statistics="none"
    Now I want to import it but with different name (schma_name).
    Regards

    Did you try FROMUSER and TOUSER option ?
    E:\oracle\product\10.2.0\db_1\install>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 2 20:01:09 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  167772160 bytes
    Fixed Size                  1247900 bytes
    Variable Size              71304548 bytes
    Database Buffers           92274688 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    Database opened.
    SQL> create user fromuser identified by fromuser;
    User created.
    SQL> grant resource, create table, create session to fromuser;
    Grant succeeded.
    SQL> create user touser identified by touser;
    User created.
    SQL> grant resource, create table, create session to touser;
    Grant succeeded.
    SQL> conn fromuser/fromuser
    Connected.
    SQL> create table export_table(a char);
    Table created.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    E:\oracle\product\10.2.0\db_1\install>exp fromuser/fromuser file=e:\a.dmp
    Export: Release 10.2.0.1.0 - Production on Sat May 2 20:03:06 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user FROMUSER
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user FROMUSER
    About to export FROMUSER's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export FROMUSER's tables via Conventional Path ...
    . . exporting table                   EXPORT_TABLE          0 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>imp help=y
    Import: Release 10.2.0.1.0 - Production on Sat May 2 20:03:47 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
         Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword  Description (Default)       Keyword      Description (Default)
    USERID   username/password           FULL         import entire file (N)
    BUFFER   size of data buffer         FROMUSER     list of owner usernames
    FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
    SHOW     just list file contents (N) TABLES       list of table names
    IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
    GRANTS   import grants (Y)           INCTYPE      incremental import type
    INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
    ROWS     import data rows (Y)        PARFILE      parameter filename
    LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
    DESTROY                overwrite tablespace data file (N)
    INDEXFILE              write table/index info to specified file
    SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
    FEEDBACK               display progress every x rows(0)
    TOID_NOVALIDATE        skip validation of specified type ids
    FILESIZE               maximum size of each dump file
    STATISTICS             import precomputed statistics (always)
    RESUMABLE              suspend when a space related error is encountered(N)
    RESUMABLE_NAME         text string used to identify resumable statement
    RESUMABLE_TIMEOUT      wait time for RESUMABLE
    COMPILE                compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION  import streams general metadata (Y)
    STREAMS_INSTANTIATION  import streams instantiation metadata (N)
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>imp system/oracle fromuser=fromuser touser=touser file=e:\a.d
    Import: Release 10.2.0.1.0 - Production on Sat May 2 20:04:20 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V10.02.01 via conventional path
    Warning: the objects were exported by FROMUSER, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing FROMUSER's objects into TOUSER
    . . importing table                 "EXPORT_TABLE"          0 rows imported
    Import terminated successfully without warnings.
    E:\oracle\product\10.2.0\db_1\install>sqlplus touser/touser
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 2 20:04:36 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> desc export_table
    Name                                      Null?    Type
    A                                                  CHAR(1)
    SQL>HTH
    Aman....

  • Unable to copy database with different name in the same instance

    I had a huge database and wanted to try some change optimization changes.
    So wanted to make a copy of the database along with data in the same instance.
    I have tried copy database wizard several times but always see the error as in attachment.
    Can someone let me know how to troubleshoot further?
    If this is not the correct way please suggest how do i copy a database with different name in the same instance along with data.

    Hi Nandu,
    From the screenshot, the error 1813 happens when corrupt database log is attempted to attach to the SQL Server. To work around this issue, please preform the following steps, for more details, please review this
    blog.
    1. Create a new database with same name which you want to recover. Make sure that the MDF file and LDF file have same name with previous database data and log file.
    2. Stop SQL Server. Move original MDF file from old location to new location by replacing just created MDF file. Delete the LDF file of new location just created.
    3. Start SQL Server. At this point, the database is in suspect status.
    4. Make sure that system tables of Master database allows to update the values. Please note that you will be performing this in query window.
    Use Master
    go
    sp_configure 'allow updates',1
    reconfigure with override
    go
    5. Change database mode to emergency mode.
    SELECT *
    FROM sysdatabases
    WHERE name = 'DatabaseName'
    BEGIN
    UPDATE sysdatabases
    SET status = 32768
    WHERE name = ' DatabaseName '
    COMMIT TRAN
    6. Restart SQL Server. Then execute the following DBCC command in query window to create new log file.
    DBCC TRACEON (3604)
    DBCC REBUILD_LOG(databasename,'c:\yourdatabasename_log.ldf')
    GO
    7. Reset the database status using following command.
    sp_RESETSTATUS yourdatabasename
    GO
    8. Turn off the update to system tables of Master database running following script.
    USE MASTER
    GO
    sp_CONFIGURE 'allow updates',0
    RECONFIGURE WITH OVERRIDE
    GO
    9. Reset the database status to previous status.
    BEGIN
    UPDATE sysdatabases
    SET status = (value retrieved in first query of step 5)
    WHERE name = 'DatabaseName‘
    COMMIT TRAN
    GO
    Make sure that you have done all the steps in order and restarted SQL Server where it is mentioned. Also run SQL Server Management Studio as administrator.(Right click-> Run as Administrator)
    Thanks,
    Lydia Zhang

  • Help: Windows cannot restore a system image to a computer with different firmware

    I want to recover a complete image of a Windows 7 operating system I have backed up to my other server. But I am getting the error "Windows cannot restore a system image to a computer with different firmware. The System Image was created by a computer using BIOS and this computer is using EFI"
    The image was definitely taken from this machine - the firmware has not changed!
    What do I need to do to restore the image?
    Background Story ..
    I bought a new HP 255 laptop per-installed with Windows 7 without Operating Systems instal disks (I will NEVER be stupid enough to do that again!).
    I took a complete image of the systems, as suggested so that I was well backed up.
    However, my machine corrupted its operating systems with a few weeks. The boot recovery CD did not work (would not boot). So in desperation, and because time was short I went out and bought another, legitimate copy of Windows 7 DVD with a license key (So now I have 2, legitimate copies of the operating system!).
    I installed the new copy of Windows 7 - but it was dreadful, because many drivers were missing. Mostly the missing drivers were not available on the HP support site for this machine. ALso, boot up was increadibly slow compared to the original OS installation.
    So I created a new boot recovery disk from the new version of Windows, and tried to restore using that. New boot disk loads ok, I can find the old image on my network (after loading a few network drivers). But I won't instal the image - giving the above error message.
    I tried deleting the EFI partition from the disk (using GPARTED to reformat that partition). That killed the Windows 7 on the machine - but still gives the same error message when I try to re-image the machine.
    I have tried going into the BIOS settings .. HP 255 has a "Legacy Mode" - which I have enabled, but this makes no difference at all!
    I think that the kind of solutions I am looking for might be:
    1. There is a clever way of disabling EFI on my 255 so that it looks like a legacy BIOS machine, or
    2. This EFI this is wired into my new boot recovery disk - and there is a way of creating a boot recovery disk that does not use EFI
    This has taken me about 2 weeks so far,please help with any suggestions!

    DonOxley wrote:
    Erico,
    I suspect that "MSDOS" is what the Gparted tool calls "MBR" for a partition table, as explained here:
    http://superuser.com/questions/700770/mbr-equals-msdos-for-gparted
    I think that you are suggesting I give up on trying to recover the image I have stored on my server and just to instal Windows 7 from my new copy. There are two problems with this.
    1. After having systematically downloaded all of the drivers from the HP 255 notebook support page, I am still seeing missing drivers listed. Install the AMD graphics softpaq driver first. It also contains the chipset drivers.
    2. The machine is taking a hugely long time to boot up, and seems much slower with this version. Maybe that is a product of using "EFI" rather than "bios" - I don't know.
    My assumption is that HP had some special set-up option with their version of Windows which makes the machine more performant. It does not seem to be a coincidence that the image they deliver the machine with is not quite compatible with a 'normal' Windows 7 instal.
    So my original question stands: How do I recover the image that I saved away (as per instructed) when I first bough the machine?
    You still have not said what you used to create the system image. What is the "image" file's extension?
    You are mistaken in your comparison. MSDOS is an operating sytem MBR is a partitioning scheme.  that is comparing apples to oranges. 
    The article is making an oblique reference in that using GPARTED is more or less equated to using the diskpart utility at the command line. Everything done at the comand line is essentially  done by use of MSDOS commands. GPARTED does the same thing with LINUX commands via a graphical interface so you don't have to type in the commands in a  Linux console.
    Do you mean making a backup? a backup is not a clone which can be reproduced on different hardware. The SSD disk replacement does make the hardware differ from the original configuration.
    Follow the instaructions on the following tutorial to make your disk a GPT type before installing.
    http://www.disk-partition.com/articles/mbr-partition-table-to-gpt.html
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

  • How can I transfer contacts from one iPad to a new iPad with different iCloud addresses?

    how can I transfer contacts from one iPad to a new iPad with different iCloud addresses?

    One way would be to e-mail them from yourself to yourself. That would totally avoid the different ID issue.

  • Hi All, I am using iphone in UAE and ipad in India usinging same apple id. Earlier I could do imessage  to my Ipad with different name but with  software update,I am unable to do, as signing id for the iphone and ipad is same.How to restore back

    Hi All, I am using iphone in UAE and ipad in India usinging same apple id. Earlier I could do imessage  to my Ipad with different name but with  software update,I am unable to do, as signing id for the iphone and ipad is same.How to restore back

    I believe because you migrated from a Nokia to an iPhone you need to register the Bn phone number with your Apple ID so it can be used for iMessage. The Pn number seems to be the only one registered
    Go here > https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    Manage your Apple ID and see if that does the trick
    Hope that helps

  • My ipod (nano, 6th generation) won't sync to a new computer with different stuff on it. It *appears* to sync but when it's done it still has the stuff from the other computer on it. What to do?

    My ipod (nano, 6th generation) won't sync to a new computer with different stuff on it. Itunes on the new computer doesn't give the usual warning that you are about to lose all your existing stuff and the ipod *appears* to sync but when it's done it still has the stuff from the other computer on it. What to do?

    Hey eamonn27
    Thank you for using the Apple Support Community. Due to the nature of your issue, you may find more information by using another one of Apple's support resources.
    Express Lane
    https://expresslane.apple.com/GetproductgroupList.action
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Scheduling SQL AGENT JOB for SSAS DataBase to take backup files Daily with Different Names

    Hi All,
    I am working with SSMS. I have Analysis Services DataBase.
    i want to Schedule a SQL SERVER AGENT JOB.
    I want to take that AS DB BackUp Daily and has to be stored in Same
    Folder/same path in my local
    machiene with Different Names.
    Means, There should be Daily BackUps Files in that Path.  According to that we have to Schedule the JOB.
    Can anyone help me for this..
    Thanks,
    Supraja.

     Hi Katherine,
    Thanks a lot for your Response. what
    you have posted is very useful for me.
    But i am searching the result using AS
    DataBase BackUp Script. 
    i found one of the easy way. its working for me.
    Please check the below link for your reference..
    http://dbatasks.blogspot.in/2012/08/taking-backup-of-ssas-database.html
    Thanks,
    Supraja.

  • Install many executable on the same PC with different names

    Hello,
    I'm trying to install several executables with different names in the same computer but at the end of install process the message is : "an higher  or existing version is already installed in this computer"
    I create the Executable and Setup with LabVIEW Application Builder and install the executable in the same Program Files root directory with a different sub-directory for each executable as this : Program Files-->MyProject-->SubProjet1 with exe1/SubProject2 with exe2 etc...
    My OS is WinXP pro SP2 and I work with LabVIEW 8.5.
    Thanks and regards,
    Armindo PINTO

    Hi Armindo,
    Thank you for using the NI forums! 
    From what I understand, you are trying to create multiple executables of a vi project to co-exist on the same PC. Any time you re-use the LabView 8.x project file, it will generate
    install package with the same product ID number. That means, if the
    deployed PC has the previous version installed, which had been
    generated from the same project file, the new install package will
    remove the previous version and overwrite it with the new version. Or as in your case, not allow you to install lower versions of the executable. That
    means, the previous version will be no longer available on the deployed
    PC. If you are creating an upgraded version to the product this is
    fine.
    However, if you need to re-use the LabView 8.x project
    file and generate a new product, which can potentially co-exist with
    the previous on the end user PC, you need to generate a new installer
    with a different product ID number. One of the way to do it:
    Copy existing project file (e.g. "name1.lvproj") under a different name (e.g. "name2.lvproj")
    Open the new instance of the project
     Expand the "Build Specifications"
     Right click on the installer specification, e.g. "name1 Installer"
    Select "Duplicate" from the menu
    You can now delete the instance "name1 Installer" and rename the "Copy of name1 Installer" to a suitable name, e.g. "name2 Installer"
     Make changes that are needed between the two versions, for example:
    Select a new source VI
    Build a new exe file
    Reflect the new exe file in the "name2 Installer"
    Make
    any other changes needed in "name2 Installer", for example different
    documentation files included in install, change in the target install
    directories, changes in the start menu shortcuts. etc.
    Build the install.
    Please let me know if this solves the issue, and let me know how you get on.
    Kind regards,
    Ashish Naik
    Field Sales Engineer
    National Instruments UK

  • Sending attachment with different name

    Hi,
    is it possible to send attachment with different name with javaMail?
    If possible, is there a sample code to do it?
    Thanks.
    Edited by: user1071181 on Aug 6, 2011 2:14 PM

    Hi,
    I listed some of my code at below.
    But i did not find attachFile method for messageBodyPart class.          
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setDataHandler(new DataHandler(new MemoryDataSource(....getPDFObject())));
    messageBodyPart.attachFile("abc.pdf");
    messageBodyPart.setFileName("abc_2011_08_07.pdf");
    messageBodyPart.setHeader("Content-Type", "application/pdf");
    multipart.addBodyPart(messageBodyPart);
    message.setContent(multipart);

  • Copying a script name with different name

    Hi,
    I want to copy my script form which has name zform1. Now i want to copy the same script form with different name i.e zform2 in the same client.
    in my se71 window i do not have a copy icon on the toolbar.
    pls. help me on how to do this.
    Thanks,
    Rose.

    Hi,
    Please follow the steps below :-
    1. Create a SCRIPT with the new name and just save it ( No need of defining any windows, just shot description is enough).
    2. Open the newly created script in change mode and go to the tab 'Form' and press 'Copy from..' .
    3. A small wondow will pop up, wherein you need to enter your previous SCRIPT name.
    4.Once done, your script will be copied.
    Please reward points if helpful.

  • Saving png photos with different names..

    Hello guys,
    I am not not so familiar with Labview so i would like some help. I have a Vi which is actually controlling 32 RBG lights.We use DMX protocol..everytime one led is on then we take a picture and then the led goes off..Then the second goes on end so on..we have 8leds in 4corners..So we have corner1_led1,corner1_led2 untill corner4_led8 .So in the end we have 32 png photos saved.What i want is to save the photos with different names and the numbers to start from 1 instead of 0.. For example if we select white light and  save the images as "new" the images are going to be named "new_white_0_0" instead of "new_white_1_1" . Do you have any idea how i can change it?
    Attached current photos names and Vi. 
    Any comment would be helpful.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    14_07_21_WMS_RGB LED panel.vi ‏162 KB
    names.png ‏127 KB

    The indexing terminal (the [ i ] in the for loop) starts at 0. When creating your filename, use the "increment" primitive from the numeric palette. Then your file names will start at 1 instead of 0.
    I noticed from your VI that you do a lot of string concatenation to build the file name/path, you can use the format into string and build path VIs to make the block diagram look a little simpler. You could also update the deprecated functions (e.g. the open file) with the modern equivalents.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

Maybe you are looking for