Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Backup & Recovery >> Database cloning

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Database cloning
 SreenivasaRao  Posted: Jun 02, 2005 06:31:27 AM

 Total Post: 8
 Joined: Apr, 2005






  Hi


all

One of my DB server crashed..but that server is noy much impartent.but ofcourse,

i got Datafiles,dat1.dbf,dat2.dbf
and control file control01.ctl
control02.ctl
control03.ctl

and redologs

and archivelog files


---my aim is i want instal oracle in other system or in same system by using above file i have to get data

for that what i have to do

pls explain me gurus

 Vigyan
Posted: Jun 15, 2005 09:26:56 AM  

 Total Post: 386
 Joined: May, 2001






 
You can restore database in different location from data and logs files. Follow the steps below.

1. Install same oracle version and create a database instance. I would prefer with same ORACLE_SID to avoid some extra work.
2. Put all the database files back on the file system where they were originally.
3. Prepare create control file script. You can use any other database to create this file. Issue the following statement as sysdba.

SQL> alter database backup controlfile to trace;

Get the script from the UDUMP location of the database and edit it according to your data files. Log files will be recreated if you use resetlog option. (Preferred in this situation)

4. Start the database with nomout option and run the create control file script.

5. Open database with resetlog option.

Hope it helps.

Vigyan


 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi327
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software