<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating duplicate database from a full export in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931782#M809372</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;The password is normally created using the following command:&lt;BR /&gt;orapwd file=orapw&lt;SID&gt; password=&lt;SYS&gt; entries=&lt;MAX&gt; &lt;BR /&gt; &lt;BR /&gt;The file name IS "orapw" and the SID for the database in which the password file is being created has to be used. &lt;BR /&gt; &lt;BR /&gt;The password MUST be the password for sys. &lt;BR /&gt; &lt;BR /&gt;questions:&lt;BR /&gt;1. did you create the database using the same SID?&lt;BR /&gt;2. Did you have the same password for sys?&lt;BR /&gt;&lt;BR /&gt;revert&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;/MAX&gt;&lt;/SYS&gt;&lt;/SID&gt;</description>
    <pubDate>Fri, 07 Oct 2005 02:48:22 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2005-10-07T02:48:22Z</dc:date>
    <item>
      <title>Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931774#M809364</link>
      <description>Hi&lt;BR /&gt;I am attempting to duplicate an Oracle8i database with all the user data.&lt;BR /&gt;&lt;BR /&gt;I have the database creation scripts available, but as changes to the database are made over the years, they are not reflected in the creation scripts.&lt;BR /&gt;&lt;BR /&gt;This is what i did&lt;BR /&gt;1. Perform full export from the source database&lt;BR /&gt;2. Copy all the oracle files (excluding the datafiles) to the target system&lt;BR /&gt;3. sqlplus internal into the database &lt;BR /&gt;4. Do a startup nomount&lt;BR /&gt;5. Run the CREATE DATABASE command, creating the system and redo files&lt;BR /&gt;4. Tried to import the file but encountered the following error&lt;BR /&gt;&lt;BR /&gt;IMP-00058: ORACLE error 1033 encountered&lt;BR /&gt;ORA-01033: ORACLE initialization or shutdown in progress&lt;BR /&gt;&lt;BR /&gt;It seems that import will only work with a mounted database&lt;BR /&gt;&lt;BR /&gt;5. Tried to mount the database but the following error occurred &lt;BR /&gt;ORA-01403: no data found&lt;BR /&gt;&lt;BR /&gt;What is the correct way to duplicate the database? Must I run all the user and tablespace creation script?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2005 01:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931774#M809364</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-06T01:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931775#M809365</link>
      <description>Please check this link, Duplicate a Database Using RMAN&lt;BR /&gt;&lt;A href="http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php" target="_blank"&gt;http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.orafaq.com/faqiexp.htm" target="_blank"&gt;http://www.orafaq.com/faqiexp.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 06 Oct 2005 01:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931775#M809365</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-10-06T01:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931776#M809366</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;did you run the catalog.sql and catproc.sql?&lt;BR /&gt;&lt;BR /&gt;the error is related to this!&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 06 Oct 2005 01:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931776#M809366</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-06T01:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931777#M809367</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you could have also:&lt;BR /&gt;&lt;BR /&gt;a. By copying the datafiles&lt;BR /&gt;============================&lt;BR /&gt;1. Backup controlfile to trace&lt;BR /&gt;2. Shutdown database&lt;BR /&gt;3. Copy the datafiles&lt;BR /&gt;4. make necessary adjustments to the controlfile&lt;BR /&gt;5. Run the controlfile script &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;b. Use RMAN to duplicate the database&lt;BR /&gt;========================================&lt;BR /&gt;This is much reliable and easy technique though you have to understand how it all works!&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regads&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 06 Oct 2005 01:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931777#M809367</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-06T01:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931778#M809368</link>
      <description>Hi Yogeeraj &lt;BR /&gt;I tried running catalog.sql and catproc.sql but it still gives me the ORA-01403: no data found error when I start the database&lt;BR /&gt;So it seems that a full database export is not very useful to create a database, in what situation will a full database export be useful?&lt;BR /&gt;&lt;BR /&gt;I think I will stop the database and copy the datafiles, The target system has exactly the same directory structure, so there is no need to backup and edit the control file script</description>
      <pubDate>Thu, 06 Oct 2005 02:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931778#M809368</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-06T02:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931779#M809369</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You have to explicity create the database -- that will create a database with one tablespace -- system. IMP will create the rest. IMP does not CREATE a database -- you must. But once you have, it'll fill it up. &lt;BR /&gt;&lt;BR /&gt;Normally, you usually full import into a minimally configured database. &lt;BR /&gt;&lt;BR /&gt;Full import (is very slow on todays sized databases) and it better to use user level exp/imports in parallel. &lt;BR /&gt;&lt;BR /&gt;Shutting down the database and moving around the datafiles is indeed a more easy solution (it however implies a downtime..&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2005 05:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931779#M809369</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-06T05:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931780#M809370</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you did not specify if source and target are same oracle version and same platform (OS).&lt;BR /&gt;If this is the case and have a cold backup you could just clone the database, this would be so much quicker.&lt;BR /&gt;If you cannot shut down the database for a cold backup, RMAN is probably the tool you are looking for.&lt;BR /&gt;&lt;BR /&gt;If you want to change platform, you may wan to check this Metalink doc Note:132904.1 "Compatibility Matrix for Export &amp;amp; Import Between Different Oracle Versions"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Thu, 06 Oct 2005 05:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931780#M809370</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-10-06T05:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931781#M809371</link>
      <description>Hi&lt;BR /&gt;I found out the cause of my problems, before I create the database, I should have deleted the oracle password file and recreate it&lt;BR /&gt;&lt;BR /&gt;anyway, here is my brief method of recreating a database from a full export file in another machine&lt;BR /&gt;&lt;BR /&gt;1. Perform a database export with full=y&lt;BR /&gt;2. Recreate the oracle password file&lt;BR /&gt;3. Create the database using the create database command&lt;BR /&gt;4. Run catalog.sql&lt;BR /&gt;5. Run catproc.sql&lt;BR /&gt;6. Shutdown and open the database&lt;BR /&gt;7. Perform the full import&lt;BR /&gt;&lt;BR /&gt;The original oracle password file is from the server I wanted to duplicate. But why must it be recreated before the create database command?&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2005 22:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931781#M809371</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-06T22:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931782#M809372</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;The password is normally created using the following command:&lt;BR /&gt;orapwd file=orapw&lt;SID&gt; password=&lt;SYS&gt; entries=&lt;MAX&gt; &lt;BR /&gt; &lt;BR /&gt;The file name IS "orapw" and the SID for the database in which the password file is being created has to be used. &lt;BR /&gt; &lt;BR /&gt;The password MUST be the password for sys. &lt;BR /&gt; &lt;BR /&gt;questions:&lt;BR /&gt;1. did you create the database using the same SID?&lt;BR /&gt;2. Did you have the same password for sys?&lt;BR /&gt;&lt;BR /&gt;revert&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;/MAX&gt;&lt;/SYS&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 07 Oct 2005 02:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931782#M809372</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-07T02:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931783#M809373</link>
      <description>The SID and password is the same, its just that if I did not recreate the oracle password before database creation, the database creation will fail. &lt;BR /&gt;&lt;BR /&gt;The fail message is &lt;BR /&gt;ORA-01991: invalid password file '...'</description>
      <pubDate>Fri, 07 Oct 2005 03:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931783#M809373</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-07T03:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931784#M809374</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;what is the value for remote_login_passwordfile  in your init&lt;SID&gt;.ora?&lt;BR /&gt;&lt;BR /&gt;Normally, you should have set the following parameter to none in init&lt;SID&gt;.ora &lt;BR /&gt;&lt;BR /&gt;remote_login_passwordfile = none&lt;BR /&gt;&lt;BR /&gt;and then create database.&lt;BR /&gt;&lt;BR /&gt;Then after successful creation of database and other objects then shutdown.&lt;BR /&gt;&lt;BR /&gt;Now create password file using orapwd utility and change &lt;BR /&gt;remote_login_passwordfile = exclusive &lt;BR /&gt;and start database. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You could also have set remote_login_passwordfile=Shared before and created the password file before creating the database.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;&lt;/SID&gt;</description>
      <pubDate>Fri, 07 Oct 2005 03:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931784#M809374</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-10-07T03:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931785#M809375</link>
      <description>For my database&lt;BR /&gt;remote_login_passwordfile = exclusive&lt;BR /&gt;&lt;BR /&gt;Ok I take note</description>
      <pubDate>Fri, 07 Oct 2005 03:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931785#M809375</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-07T03:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating duplicate database from a full export</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931786#M809376</link>
      <description>Thread closed</description>
      <pubDate>Fri, 07 Oct 2005 03:54:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-duplicate-database-from-a-full-export/m-p/4931786#M809376</guid>
      <dc:creator>kenny chia</dc:creator>
      <dc:date>2005-10-07T03:54:18Z</dc:date>
    </item>
  </channel>
</rss>

