Restore on new server with new DB_NAME/SID?

My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
-     restore spfile
-     restore controlfile
-     restore database
-     recover database
-     open with reset logs
Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
How to restore database with new DB_NAME/SID?
Oracle 10g, Windows Server 2003
Thanks in advance!

user9106065 wrote:
My goal is to restore database with the RMAN backup on a server that has no connectivity to the production database (I don’t want to use duplicate command).
I restore a database from RMAN using a same DB_NAME/SID and everything was ok.
-     restore spfile
-     restore controlfile
-     restore database
-     recover database
-     open with reset logs
Now I want to restore database but with different DB_NAME/SID (My production database is PROD and I want to restore this PROD RMAN backup on new server and this new database I want to be called DEV).
How to restore database with new DB_NAME/SID?
Oracle 10g, Windows Server 2003
Thanks in advance!You can use NID command
Run NID and you can see the options to run
or see How to Change the DBID, DBNAME Using NID Utility in version 10GgR2 onwards [ID 863800.1]
Cheers

Similar Messages

  • Does Transfer EBS to new server with New specifications (Ram,Pross ,..)

    Does Transfer EBS with same release to new server with New specifications (Ram,pressoser ,..) need new licences ?

    Micel 811 wrote:
    Does Transfer EBS with same release to new server with New specifications (Ram,pressoser ,..) need new licences ?\does your license is CPU based?
    if its user based then No need
    please contact oracle sales as they are the best to answer your question .
    http://www.oracle.com/us/corporate/pricing/applications-price-list-070574.pdf
    ;) AppsMasti ;)
    Sharing is Caring

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • SBS2008: Move email from Exchange 2007 to new server with Exchange 2013

    We have an old server (SBS2008) and plan to buy a new server with (Server 2012). I need to move all the exchange emails, contacts & calendars to the new server. We will no longer use the old server. 
    Is there a document or migration tool that will help me understand how to move this data form the old exchange server to the new one? 
    Old Server:
    SBS2008 running Exchange 2007
    New Server:
    Server 2012
    Exchange 2013
    Any help is appreciated!

    Hi Dave,
    It can be done, and as Larry suggested you will consider two Server 2012 installs in order to achieve an environment that looks like your current SBS roles; Exchange 2013 on an Active Directory controller isn't a good long-term solution (SBS did this for
    you in the past).
    For your size operation, a virtual server host, with a Windows Server 2012 license, and two virtual machines would probably be a suitable design model.  In this manner, you have Server 2012 license that permits 1 +2 licenses (one host for virtualization,
    up to 2 Virtual Machines on same host).
    There's no migration tool. That comes with experience and usually trial and error. You earn the skills in this migration path, and for the average SBS support person you should plan on spending 3x (or more) your efforts estimate in hours planning your migration. 
    You can find a recommended migration path at this link to give you an idea of the steps, but its not exactly point by point going to cover you off for an sbs2008 to server 2012 w/exchange 2013 migration.  But the high points are in here. If it looks
    like something you would be comfortable with then you should research more.
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    Specific around integrating Exchange 2013 into an Exchange 2007 environment, guidance for that can be found here:
    http://technet.microsoft.com/en-us/library/jj898582(v=exchg.150).aspx
    If that looks like something beyond your comfort level, then you might consider building a new 2012 server with Exchange 2013 environment out as new, manually export your exchange 2007 mailbox contents (to PST) and then import them into the new mail server,
    and migrate your workstations out of old domain into new domain.  Whether this is more or less work at your workstation count is dependent upon a lot of variables.
    If you have more questions about the process, update the thread and we'll try to assist.
    Hopefully this info answered your original question.
    Cheers,
    -Jason
    Jason Miller B.Comm (Hons), MCSA, MCITP, Microsoft MVP

  • Moving DP Content to a New Server With Same Name

    We are currently in the middle of a server OS refresh from 2k8 to 2k12 R2. Some of the servers are DPs so I need to move the content from one server to another. The big problem is that the new server must have the same name.
    I've read this thread http://social.technet.microsoft.com/Forums/en-US/1ffcaa47-9bf8-476d-965e-28350a6bef1b/move-content-from-old-dp-to-new-dp-at-same-remote-site?forum=configmanagerapps which kind of covers my issue but I presume this person was going to
    a server with a new name.
    Has anyone done this? Is it possible?
    Unless there is something clever the only way I see to do this is to uninstall the DP role from the current server, remove the current server from the domain, add the new server with the same name, re-install the DP role and then re-distribute all the content
    to the new server. I'd rather not do this as the DP is on a remote site so all the content will be going over the WAN.
    I am running SCCM 2012 SP1 CU3.
    Any ideas?

    Hi,
    >>So can I pre-stage from the old server to the new server or does the pre-staging have to be done from the site server?
    Yes, you could prestage content from the old server to the new server. Prestaged content files could be created from Configuration Manager Administrator Console.
    >>What is the order of the process?
    The following blog could help you to prestage content.
    http://blogs.technet.com/b/inside_osd/archive/2011/04/11/configuration-manger-2012-content-prestaging.aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running The backup file should be restored to a server with version '12.0.0.6318' or later.

    am trying  to restore the bak file into a new  site collection in my sp 2010  standalone env.
    am getting error
    PS C:\Windows\system32> stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C:\mBKUPCOPY\Sharepoint_bankup.bak"
    STSADM.EXE : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running
    the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.
    At line:1 char:1
    + stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C: ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Your backup is ...6318' or later.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    As stated in the other thread on this topic you can't restore a 2007 backup to 2010, it needs to be upgraded.
    https://social.technet.microsoft.com/Forums/en-US/31c70f0a-5d89-4308-895b-af0c2b249114/restore-the-site-collection-from-moss-2007-to-sp-2010-site-collec?forum=sharepointadminprevious

  • Move appset to new server and new version

    Hi
    I am currently on 5.1, SQL 2005 and Windows 2003, where we have some performance issues. To see the effekt of an upgrade I would like to move my current appset to a new server with BPC 7.5 SQL 2008 and Windows 2008.
    How should I do this?
    Can I make a clean installaion of BPC 7.5 on SQL 2008 and then restore the 5.1 version appset into 7.5.
    What is the recommended way to do this.

    Hi,
    There is nothing to worry.
    You need to take the backup from the 5.1 system and restore it in 7.5 MS. After the restoration, please make sure that all the components are working fine or not. You might have to look at the security once again and the reports and the input schedules. There might be small small alterations / modifications required. However, there wont be any big development. There is only one area which needs little more concentration - SSIS packages. You might have to re-build the SSIS packages in SQL 2008. Another thing is that if you have any macros or VB in your templates, you might have to revisit them.
    As a whole, I dont see much challenge in this whole process.
    Hope this helps.

  • Rman restore to windows server with different drive layout

    I'm restoring to a server with a different drive layout. I'm using the set newname for the datafiles and it's working fine. However. My redo logs show that they are on the f: drive and the f: drive doesn't exist on the new server (recovery). so when I'm all done I get an error saying that it cant find the redo02.log. Any ideas?
    TIA
    Dave

    no problem, thanks for the reply.
    Here's what I tried in the init.ora
    LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
    I didn't even create the spfile I figured I could do that later.
    The datafiles alll go to the correct drive, here's my restore statement:
    run
    allocate channel disk_channel1 type disk;
    allocate channel disk_channel2 type disk;
    SET NEWNAME for datafile 1 to 'd:\ORADATA\ORCQA08\SYSTEM01.DBF';
    SET NEWNAME for datafile 2 to 'd:\ORADATA\ORCQA08\SYSAUX01.DBF';
    SET NEWNAME for datafile 3 to 'e:\ORADATA\ORCQA08\UNDOTBS01.DBF';
    SET NEWNAME for datafile 4 to 'd:\ORADATA\ORCQA08\USERS01.DBF';
    SET NEWNAME for datafile 5 to 'e:\ORADATA\ORCQA08\PLATDATA.DBF';
    SET NEWNAME for datafile 6 to 'd:\ORADATA\ORCQA08\PLATHISTDATA.DBF';
    SET NEWNAME for datafile 7 to 'd:\ORADATA\ORCQA08\TS_MV.DBF';
    SET NEWNAME for datafile 8 to 'e:\ORADATA\ORCQA08\PLATNDX.DBF';
    SET NEWNAME for datafile 9 to 'd:\ORADATA\ORCQA08\POADATA.DBF';
    SET NEWNAME for datafile 10 to 'd:\ORADATA\ORCQA08\POABDATA.DBF';
    SET NEWNAME for datafile 11 to 'd:\ORADATA\ORCQA08\POANDX.DBF';
    SET NEWNAME for datafile 12 to 'd:\ORADATA\ORCQA08\TS_REPORT_DATA.DBF';
    restore database;
    release channel disk_channel1;
    release channel disk_channel2;
    i then do a switch database to copy and this registers the datafiles under the correct drive BUT when I try to open the database this is what i get:
    ORA-00280: change 15613734 for thread 1 is in sequence #861
    ORA-00278: log file
    'D:\oracle\flash_recovery_area\ORCQA08\ARCHIVELOG\2012_08_03\ARC0000000860_07815
    80447.0001' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00344: unable to re-create online log 'F:\ORADATA\ORCQA08\REDO01.LOG'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    You can see that it's still looking on the f: drive for the redo log. Is my syntax correct?? - - LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
    I can get rid of the other redo logs by dropping them and recreating under the proper drive but 01 is the active log.
    any other ideas?
    Dave

  • Creating new page with new parent tab

    Does this happen to anyone else? When I try to create a new page that will have a new parent tab and standard tab in a 2-level tab setup, it never seems to work right. I end up having to dele the new parent tab and standard tab I created while creating the new page. Then once the page is created, I go into Shared Components -> Tabs, and create a new Parent Tab and assign it to this new page. Seems like a crazy way to have to do it.
    I know this sounds crazy and it is hard to explain the issue, but anyone who has had this problem with creating a new page with new 2-level tabs will understand what I am talking about.
    Can anyone point me to an explanation on how this should be done? I know I must be missing something.
    Thanks,
    John

    I've recently had to muck around with the 2 level tabs aswell. There are some things making this rather difficult indeed.
    What i'd do when creating a new page you want to have under a new tab, but also with a new parent tab, is to create it with only a new STANDARD tab. Don't create a new parent tabset. All parent tabs are in the same tabset, and if you create a new tabset you'll effectively see only this new parent tab + tab on the page you created.
    So unless you want the page to be on an absolutely new set of tabs, you'll probably just want the page to be on a new top-level tab with under that a new standard tab. Like so:
    <NEW PARENT> | parent 1 | parent 3 | parent 4
    <NEW TAB> |
    To achiece this, you'll need a new standard tab set. You can create this when creating the page. The standard tab set is the set used for you lower level tabs, so obviously we do need a new one.
    As for the parent set which you can choose upon page creation, choose the already existing parent tab set. This set contains all your already existing parent tabs, and you wish to add one for display.
    When you finish creating the page and run it, you'll see that the standard (lower level) tab is there, and is set to active, but your parent tab is not there.
    Go to Shared Components > Tabs. Select the "Manage Tabs" tab there. You can notice your new set there, but notice the striped outline of it. This tab has no parent tab for it! And this is the problem with tab creation in 2-level tabs: you can make a new STANDARD tab and tabset, and define a parent tab set OR create a NEW tab set with tab. Both options fail us: what we want is a NEW parent tab in an existing parent tab set!
    So to fix our problem, from the manage tabs tab click on "Manage Parent Tabs", found on the right hand side of the screen in the region "Parent Tab Tasks".
    This'll bring you to a magical new tab within the tab components. It's a mystery to me why it has to be hidden like this, and makes it a real pain to use. On this page you can manage your parent tabs (the only place to do so actually...). Here you'll see there is no parent tab for your page (again), but here you can create a new parent tab from the right hand menu "Parent Tab Tasks" > "Create New Parent Tab". Enter a label, and choose your existing parent tab set as parent tab set. Don't create a new set. As for target, refer to your new page again.
    However, we are not done yet. You are returned to the "Parent Tab Management" page. You new parent tab will be shown there, but when you run your page, the parent tab will not be set active yet.
    To fix that, go back to the "Parent Tab Management". Select your parent tab so you go to it's details. Firstly, give it a new sequence number, otherwise it'll be shared with one (the parent tabs are created with sequence nr 10, so most probably on a shared position with your first parent tab).
    Then turn your eyes on the "Current on Standard TabSet" list item. It'll have an option selected, but take a good look: it'll be the same name as your parent tab. From the options, select your new Standard tab set (the lower level set) which holds your new page. Then apply your changes and run your page: both your parent and standard tab will be there and highlighted. Yay!

  • Create/extend materials for new plant with new profit centers

    Hi.
    We have created a new plant and want to create/extend the materials from an existing plant to the new plant (with new profit center). Can this be done via MM17?
    Regards,
    Kjettern

    Hi Kjettern,
    To extend the existing material to a new Plant/Profit centre, pls follow the following steps: -
    1. Copy down the material number (i.e XYZ) you want to extend.
    2. Go to t-code MM01.
    3. Enter the material number (i.e. XYZ) you copied from (1) into the Material field and hit ENTER.
    4. You will get an information on the bottom that "the material type XXX and the industry sector YYY has been copied from master record".
    5. Pls note that Basic Data 1 & 2 is not changeable as the same set of material data will be used when a material is extended.
    6. Hit ENTER again. To change other details other than Basic Data 1 & 2, select the views that you want.
    7. You will be prompted to enter a Plant. Here you must enter the new Plant that you want to extend the material to and hit ENTER.
    8. You will get a confirmation stating that the material already existed and will be extended (to the desired Plant u entered in (7)).
    9. Ensure that all the data in all the important tabs are maintained, for the right Storage Location, Warehouse Num, Moving Average Price, Standard Price etc. before proceed further.
    10. Hit Save. You will get a msg that "Material XYZ created".
    Now you are able to use this material number in the new Plant you created.
    Hope this helps.
    Rgds.

  • Cant use purchased items on new computer with new email address

    i bought a new laptop then changed isp from aol to bt then backed up my itunes from old laptop to disc ,tried to put music from discs onto new laptop with new email address and my purchased items are on itunes but cant use them as a message appears saying that i cant play music due to computer not being autherised but when i go to autherise computer in itunes the message your computer is autherised appears ......... please help

    I have almost the exact same problem. I have a bunch of music, ringtones, TV shows, movies... stuff that I purchased that I can't authorize. All of these items were purchased with the same account I'm still using now. The difference is that I've changed my email address. I don't have the original email address from when I made those purchases and I'm unable to authorize them. I can see that when I view info on one of these purchases the "Account Name: " has my old email address... not my iTunes or Apple account. So, if I'm authorizing my iTunes using my new email none of these older purchases will work.
    I'm really curious how to fix this. I've got quite a few purchases from years back that I'd like access to, but I can't authorize using my new email/iTunes or my old email (the one used for the original purchases).
    Take a look at the info and tell me if you see "Account Name:" on one of your purchases. And is that associated to your old email address? There has to be a way to fix this or 'transfer' older purchases, especially if it's all under the same real 'account'.

  • Using new trackpad with new iMac

    Using new trackpad with new iMac, but can't seem to get the "touch function" to work. I still have to press firmly and click on the trackpad to get response. The videos show "touch" while I  "firm press and click."  Checked speed, cleaned it, and reset. No luck?? Ideas? Even took back to Best Buy and seemed to work with their display...

    Assuming you are talking about tap to click, you would need to enable it. It is disabled by default. Go to settings and choose trackpad settings. Navigate to "Point and Click" tab and enable "Tap to Click".

  • Replace existing server with new server

    Good Day Guys,
    Could you please throw some light on the issue below,
    Our QAS is down for more than a month and we are having problems with the server on hardware side,so our company has decided to scrap up the old server and bring a new server in its place.
    Could you please share your ideas as of how to proceed from having new server.My concerns.
    Installing sap and Mssql from scratch naming same as our old server.Here im stuck.......whether to install a new database and do DB refresh from the production database.
    Please post me all the activities to considered for a new installation and to have a copy of production installed on it.
    thanks in advance,

    Hi,
    This is how you should proceed.
    1. Take a full backup of your production - make sure it is successful.
    As you cannot use the sql server detach/attach from production - you will have to do a backup and restore.
    2. Uninstall your quality - the uninstall steps are there in the installation guide.
    3. Install your QAS using SAPINST as per the homogeneous system copy installation guide. And select the option db using "backup/restore" when SAPINST asks for it.
    4. Restore the database using the production backup and logs via the SQL Server Enterprise Manager.
    5. You will have to change your schema names by following the sap note 551915 - this is only needed if your SAP system uses the MCOD convention of the form SAP<SID>.
    Also, check these SAP Notes 151603, 193816for a SQL Server Copy.
    Hope this helps.
    Reg, Dibya

  • Creating New db(with new name) with the old db backup sql server 2008

    Friends..
    version: Sql Server 2008
    I have a database in a name college1 (more than 200 tables and view etc...)
    i want to create a new db with all the structures including the data of the above db college1 with a new name college2
    so...i finished the step 1 successfully.. what are the other steps i have to do...like validating the invalid objects. etc....
    Step 1:
    RESTORE DATABASE college2 FROM DISK = 'D:\DailyDBbackup\college1.bak'
      WITH replace,
      move 'college2 ' TO 'D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\college2 .mdf',
      move  'college2 _log' TO 'D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\college2 _log.ldf';
    step 2: ?
    Step 3: ?
    thanks...

    but...when i type
    use college1
    select * from (it will display all tables under the above db)
    but when i do..
    use college2
    select * from (only system tables are displaying..)
    Did restore completed successfully ? If yes Expand database , can you see tables in the new database you restored ?. Sometimes when you type incorrect word which does not matches anything you wont get help from intellicense you should not be worried about this
    if tables are there in new database college 2
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • I forgot my Apple Id and Icloud Id of my Ipod touch. how can i restore my ipod touch with new ID

    I have an Ipod touch 5S
    I forgot my Apple ID and my Icloud ID
    I tried to connect it to Itunes and do a ''restore as new Ipod'' but could not find this option
    Can you help me restoring my Ipod as new

    You need to recover them because yo will run into:
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    Ans if necessary:
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    If you previously synced to the computer then you may be able to recover use of the iPod without erasing the iPod by following the instructions here:
    Disabled Recovery-must use syncing computer.

Maybe you are looking for