How can we clone the Oracle database in new Oracle Home

Hi,
I would like to clone oracle database into new oracle home. How can we set it using OEM.
I am using 10g grid control. Target db is on solaris
Thanks
Naveen

after logging into target database, under maintenance tab, data movement header; ther is "clone database" option. When you click on it; you'll see :
Clone Database uses RMAN to duplicate a database from:
-- An open database in ARCHIVELOG mode, or
-- An open database in NOARCHIVELOG mode (restart required), or
-- A saved working directory from previous cloning
Clone Database performs the following operations:
-- Backup each database file and store it in a working directory
-- Transfer each backup file from source to destination host
-- Restore each backup file to existing destination Oracle Home
-- Recover the cloned database with saved archived log files
-- Open the cloned database with resetlogs
It seems to be for cloning to a different host, but i guess you can chose the same host for source and destination. (I've never used cloning on em by the way :))
But firstly, you should create a new oracle home, you can simply copy your oracle home with a new name (cp -R /oracle/app/oracle/product/10.2.0 /oracle/app/oracle/product/10.2.0.new) or make a new installation.
I suggest you to do this cloning with CLI. You should take a full backup with RMAN, copy the oracle home, create a new initNEWSID.ora file and nomount the database, restore (or simply copy) controlfiles, restore database (with set newname commands), recover database, open resetlogs.

Similar Messages

  • URGENT HELP How Can I clone the database only?

    Hi all
    I have two database, oracle9.2.0.6 running on RHEL4
    one is testing server and the other for the production server
    how can i clone the testing DATABSE on the productioin DATABASE?
    please help me urgent
    Thank You
    Regards

    Hello Tawfik,
    You can use RMAN duplicate with the following link for 9i.
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    If you want to clone manually then follow this thread
    Cloning 9i database manually

  • How can I reuse the BC4J database connection?

    How can I reuse the BC4J database connection?
    I want to use the application module connection without opening another in a custom code. At this level I can’t access de ADF code, that’s why I can’t get the DBConnection from the application module.
    Now, I have a “data-sources.xml” in my project and the application module is configured to access the database from this xml file.

    I found the solution in other Forum. I worked ok.
    Here the code:
    If the Connections-Navigator connection is DBConnection1, the corresponding datasource is jdbc/DBConnection1DS.
    1. Create a JSP page.
    2. In the web.xml of the JSP add
    <resource-ref>
    <res-ref-name>jdbc/DBConnection1DS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    3. In the JSP page obtain a connection with the datasource.
    InitialContext initialContext = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource)initialContext.lookup("java:comp/env/jdbc/DBConnection1DS");
    java.sql.Connection conn = ds.getConnection();

  • My laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    my laptop was stolen and with it my itunes, all of my music (including non-apple downloaded content) is still on my iphone 5, how can I transfer the files to my new laptop which is authorised to the same apple ID?

    See this user tip for recovering the media from the iPhone: https://discussions.apple.com/docs/DOC-3991

  • I have the computer with my itunes library on it but no longer have access to the email account the library was set up with. How can I transfer the library to a new appleid/email?

    I have the computer that holds my itunes library. However, I no longer have access to the email account (and therefore apple account) it was set up with so can't sync/update etc. How can I transfer the library to my new apple id? Any help gratefully received as searched the internet but can't find the answer!
    Have ipod touch 4th gen, ipod touch 5th gen and ipod nano 7th gen all to sync to library.

    Hi Stillme,
    You cannot transfer purchases from one Apple ID to another. You need to go into the old Apple ID and change it to the new email address instead of using a new Apple ID altogether.
    Apple - My Apple ID
    If you can't remember the password to the old ID, then click on Reset your Password, and answer the Security Questions. If you can't remember the Security Questions, contact iTunes Support and have them reset:
    APPLE ID SECURITY CONTACT NUMBERS
    Once you get into your old account, Edit the Apple ID to your new email address. Before you will be able to do that you are going to have to change the email address on the new Apple ID to something else.
    Cheers,
    GB

  • HT1386 The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    If the answer to the above question is "yes", FIRST, set up a backup of your new computer before you do anything else so the next time your computer breaks you will not be in the same situation. Backup solutions are numerous and inexpensive, and there is absolutely no excuse in the Third Millennium not to have one.
    Then see this tip: https://discussions.apple.com/docs/DOC-3141

  • I recently purchased a brand new Airport Time Capsule 2TB. I already am using the previous generation time capsule to back up all my computers data. May I ask how can I complement the usage with my new time capsule?

    I recently purchased a brand new Airport Time Capsule 2TB. I already am using the previous generation time capsule to back up all my computers data. May I ask how can I complement the usage with my new time capsule?

    By default your new Time Capsule will broadcast an unsecured wireless network with a network name of something like: Apple Network NNNNNN
    Most likely your iMacs will be connected to the wireless network created by the Virgin Media router. However, both should see the Apple Network under the AirPort icon's drop-down menu as another wireless network that they can connect to. Is this not the case?

  • I can not install the software on a new XP Home Laptop Lenovo G580GH

    Nie mogę zainstalować oprogramowania XP Home na nowym Laptopie Lenovo IdeaPad G580GH B960.Jak to zrobić.
    Laptop nie ma oprogramowania.Pozdrawiam.
    Google translate:
    I can not install the software on a new XP Home Laptop Lenovo IdeaPad G580GH B960.Jak do it.
    Laptop not oprogramowania.Pozdrawiam.
    Moderator note:
    Hello wqpubkpi,
    please write in English because the language here is English.

    Hi wqpubkpi,
    Thanks for posting in the Lenovo Community,
    Could you please share with us more details about the issue that you’re facing and what is the software that you need to install on the system?
    Thanks and Best Regards,
    Soha
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How can I set the Corporate Logo instead of Oracle Discoverer logo in 10g

    Hi,
    How can I set the corporate logo/corporate welcom html file instead of oracle discoverer logo in oracle discoverer plus for olap reports version 10.1.2.48.18. while loading the d4o sessions.
    Exactly what are all the steps that I need to follow .
    Thanks,
    Natarajan.U

    Hi Lance,
    Thanks for the documents. Its really helpful to me.
    I am able to change the look and feel of my reports. But I am unable to change the corporate logo.
    The steps that I followed.
    1.Goto discoverer Plus configruation.
    2.Goto Logo change the option button from None to File and Choosed the .jpg file from C:\Logos.
    3.Restarted the application server.
    4.Open the BI plus reports in IE. But still I am seeing the same Oracle Logo only.
    5.But whatever the look and feel like plastic/system/oracle I changed I am able to see the changes.
    6.The logo change is not as simple as I thought??. I need to create Jar on this logo and I need to put the jar file in java /j2ee directory???.
    Thanks,
    Nats

  • Noisy seagate HD. how can i switch the system to my new HD?

    ...tired of the noise that my original Seagate HD produces, I am decided to buy a new, much quiter HD (western digital seems to be the best option).
    now the question is: how can I restart the mac on the new HD if it's empty and with no system inside?
    what do I do once taken out of the box? Do I simply put the new HD in one on the empty slots and it will it appear immediately on the desktop, or do I need to do something? (before doing all these things I would like to be sure).
    is there a link on the apple site which explains all that?
    thanks

    While SuperDuper is excellent, no need to even leave Disk Utility to clone a volume. It has a Restore option that works just fine, and is what I always use to first copy a system (assuming you don't want to do a fresh install and have already done updates and 3rd party installs). SD is great when you want a quick means to update your backups or clone.
    Also, no matter which method you choose to use, go back to Disk Utility, click on the new drive volume, and select First Aid and Repair Permissions.
    I sometimes like to run the latest Combined Update also on a new clone before booting. I would leave the old drive in as backup, and even repair the drive and permissions once on the new drive.
    My complaint with Seagate OEM is it runs hot for a 160GB drive, even when idle and not even being accessed or used at all. And 'sluggish' on the performance side.

  • How can I replace the Portal with completely new Flash website?

    Can I replace the Portal with completely new Flash website? My customer do not want the JSP UI. Instead, he wants a completely new designed Flash site. Is it possible to do it? How can I deploy a new portal to cover the current one?

    If you have a look at some of the code examples which do the equivalent of site maps, you could in theory replace the whole portal desktop with some sort of Flash framework which reads the user's role structure at run time.
    I think it is useful to remember that the SAP portal is primarily a business application launchpad. It does that very well. Trying to make it into a Flash launchpad will be challenging.

  • How can I restore the settings on a new harddisk from the older Harddisk beeing the same system?

    From which folder do I have to copy the archives or bookmarks to the new harddisk in users folder? I found some backups AppData/Mozilla/Firefox/Profiles/9yzsnd2m.default/bookmarkbackups? But how can I restore the whole page?
    Yours
    Werner Dreyer

    See:
    *https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile

  • How can I move the distribution database to a new server?

    I need to migrate an old distribution database to a new VM. My understanding is that you can detach/attach the distribution DB to make this easier. What are the 'gotchas' in this process? Do I need the detach/attach the system databases as well? The distributor
    is facilitating data from Oracle to SQL Server.
    Another question.. what are some good benchmarks for figuring out how much horsepower I should have set up in my VM that running distribution?
    Thanks,
    phil

    Hi philliptackett77,
    As your description, you want to migrate the distribution database to a new server. Based on my research, you need to remove the replication,  create the distribution on the new server, and recreate publication and subscription according to Satish's post.
    So you don’t need to detach or attach the distribution database or system databases.
    To make this process simple, you could use SQL Server Management Studio (SSMS) to generate scripts and run the scripts to recreate publications and subscriptions or drop publications and subscriptions as the screenshot below. Checking ‘To create or enable the
    components’ generates the script for creating the publications and subscriptions, and Checking ‘To drop or disable the components’ generates the script for dropping the publications and subscriptions.
    Firstly, please use SSMS to generate the script which is used to create publications and subscriptions.
    1.Connect to Publisher, or Subscriber in SSMS, and then expand the server node.
    2.Right-click the Replication folder, and then click Generate Scripts.
    3.In the Generate SQL Script dialog box, check ‘To create or enable the components’.
    4.Click Script to File.
    5.Enter a file name in the Script File Location dialog box, and then click Save. A status message is displayed.
    6.Click OK, and then click Close. For more information about the process, please refer to the article:
    http://msdn.microsoft.com/en-us/library/ms152483.aspx
    Secondly, follow the steps above, check ‘To drop or disable the components’ to generate the script used to drop publications and subscriptions. Then run the sript to drop publications and subscriptions.
    Thirdly, please disable distribution using Transact-SQL or SSMS following the steps in the article:
    http://technet.microsoft.com/en-us/library/ms152757(v=sql.105).aspx.
    Fourthly, please create the distribution at the new server using Transact-SQL or SSMS following the steps in the article:
    http://msdn.microsoft.com/en-us/library/ms151192.aspx#TsqlProcedure.
    Last, please run the script generated in the first step to recreate publications and subscriptions.
    Regards,
    Michelle Li

  • How can I change the format of numbers in Oracle SQL Developer 1.0 ?

    The value 1.4345 from a table is represented in Oracle SQL Developer 1.0 like 1.5
    How can I change this to see all the digits ?
    Thanks

    Where did you see that, in the SQL Worksheet or viewing the data Connections ->.. tables ->.. tree?
    What datatype, precision and column name you have?
    I use version 1.0.0.15.57 and seems to be working allright.
    - Babu Rangasamy

  • How can I get the username and password from Oracle Forms to PJC !

    Dear Sir,
    I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
    Thanks in Advance,
    S Ramkumar

    I tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
    In the form module I written,
    Set_Custom_Property('BL.USERNAME',1,'NAME','');
    Set_Custom_Property('BL.PASSWORD',1,'PASS','');
    Implementation class of the push button I gave my java class file name.
    In Java Code I tried register the form fields like,
    public static final ID userName = ID.registerProperty("NAME");
    public static final ID passWord = ID.registerProperty("PASS");
    In Java Code I tried get the contents from registered properties,
    public boolean setProperty(ID property, Object value) {
    if(property == userName) {
    System.out.println("Just I wish to see the name entered" + value.toString());
    if(property == passWord) {
    System.out.println("Just I wish to see the pass entered" + value.toString());
    But even System.out.println() is working.
    What's wrong with this code sir ???
    Can you tell me How to register and get those field values in Java ?

Maybe you are looking for

  • I have 8GB Ram in 1st DIMM slot... can i add another in 2nd slot?

    i have ordered a HP Evny 700-310xt with windows 8.1 I opted to have 8ram in one Dimm slot instead of 4ram in two slots.... I had hoped to get another 8ram module to put in the 2nd slot when my pc arrives...so i will have 16 ram, but i have a hard tim

  • How do I find a detailed description of in app purchases made on my apple id

    I have an old Iphone 4s and a couple of Ipods that I let my children use that all share the same apple id.  I recentely noticed some itunes charges on my account and would like to know which apps or games were used to make in app purchases.  Thanks

  • How to Generate scripts in ITK?

    How to generate scripts in ITK. We have a Option "Generate Scripts" is not enabled.We have options to

  • Image disappears in the RH after saving and reopening the report

    Hi, I am using CR2008. I have created several reports with images  but didn't get this type of problem. I inserted image in the Report header and everything is fine, after save and exit if I reopen the report there is no image. It disappeared. I trie

  • Mail on two accounts - want to combine

    Hi! I have two partitions on my system (for optimizing purposes, etc) I have left my Mail application on both. Sometimes when I am on the second account I have checked my account and obviously received mail. What I want to know is is there an applica