Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 2nd, 2004, 10:02 PM
rchiu2hk rchiu2hk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Hong Kong
Posts: 41 rchiu2hk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 4 sec
Reputation Power: 6
Send a message via AIM to rchiu2hk Send a message via Yahoo to rchiu2hk
Copy Oracle Database

Dear all,

I want to copy database or create one same instance of the same database.

In my situations, I have the oracle9i with four database. ( LIVE, DEMO, FIN, SAMPLE) . Now I want to create one more with the name "Test" so that I can access the Test database using VB/ . NEt/ ODBC.

Please tell me the procedures? Or similar document.

Thanks for your big help and attention.
__________________
Real, Nice and Beautiful are my hungry for knowledges.

Reply With Quote
  #2  
Old July 3rd, 2004, 11:27 PM
galith_haham galith_haham is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 64 galith_haham User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 25 m 17 sec
Reputation Power: 5
Hi,

I don't understand what you are referring to as instance and what as database. Multiple databases per instance do not exist in oracle (it does in db2 and sql server). if you are referring to a database schema than you can create a user and export the data from your original "database" and import into the newly created "database".
If you are referring to a database you can use backup and restore (the restore will be done into a new name - test).

you need to clearly what you mean.

Reply With Quote
  #3  
Old July 4th, 2004, 01:01 AM
swstephe swstephe is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Brunei, Borneo Island, South East Asia
Posts: 9 swstephe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to swstephe
go to the command prompt, type "dbca", and fill in the prompts. Did you create a template for your databases? select it and create database, do an export/import of the data you want, and you are done ... if you don't have a template, you need to get your database parameters from the data dictionary and init.ora parameters.

Reply With Quote
  #4  
Old July 4th, 2004, 01:37 AM
swstephe swstephe is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Brunei, Borneo Island, South East Asia
Posts: 9 swstephe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to swstephe
Followup ... after double-checking ... forget what I said about not having a template, you can use "dbca" to create a template from your database, even, optionally, with the data. Then you can use this template to make a clone database anywhere you want.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Copy Oracle Database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway