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: Database Administration >> control file backup

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: control file backup
 Bishal  Posted: Apr 30, 2008 01:01:32 AM

 Total Post: 196
 Joined: Apr, 2008






 I have a backup of my database and also control file was backed up in autobackup format on mode.. Now my original control file is deleted... What are the steps to restore my control file using both user managed backups and recovery manager.

 GOPU
Posted: Apr 30, 2008 01:04:50 AM  

 Total Post: 242
 Joined: Apr, 2008






 
What type of backup you have ?
Is it RMAN or any other backup ?
can you elaborate the question ?

 Bishal
Posted: Apr 30, 2008 01:16:04 AM  

 Total Post: 196
 Joined: Apr, 2008






 
I have a rman backup

 GOPU
Posted: Apr 30, 2008 01:25:24 AM  

 Total Post: 242
 Joined: Apr, 2008






 
Hi,

please try this...


1.Start RMAN and connect to the target database.

2.Run the STARTUP FORCE NOMOUNT command.

3.Run the SET DBID command to distinguish this connected target database from other target databases that have the same name.

4.Run the RESTORE CONTROLFILE command. After restoring the control file, you can mount the database to restore the rest of the database

Regards
Gopu


 Bishal
Posted: Apr 30, 2008 01:34:56 AM  

 Total Post: 196
 Joined: Apr, 2008






 
it shows
Rman-06563: contol file or spfile must be resotred form autobackup
But when i give RMAN>restore controlfile from autobackup
it shows
Rman-06172:no autobackup found or specified handle is not a valid copy or piece

 GOPU
Posted: Apr 30, 2008 01:36:16 AM  

 Total Post: 242
 Joined: Apr, 2008






 
Hi,

you can check in this link...to get the things in detail
http://www.orafusion.com/art_rman3.htm

Regards
Gopu

 GOPU
Posted: Apr 30, 2008 01:44:51 AM  

 Total Post: 242
 Joined: Apr, 2008






 
you try like this by giving the path of the backup....

restore controlfile from 'e:\backup\CTL_SP_BAK_C-1507972899-20050228-00';



 Bishal
Posted: Apr 30, 2008 01:47:32 AM  

 Total Post: 196
 Joined: Apr, 2008






 
thanx a lot... it worked

 Mohammed Taj
Posted: May 01, 2008 02:26:16 AM  

 Total Post: 704
 Joined: Jul, 2007






 
...And in USER MANAGED backup...
If you have backup then restore...
or
create new controlfile with CREATE CONTROLFILE STATEMENT with SIZE clause.
http://dbataj.blogspot.com/2007/04/lost-all-controlfile-and-redolog-files.html

 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 Khokhar816
  Mohammed Taj704
  Jayanta Sur479
  positive fanatic416
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma231
  Ramesh Jois226
  Bishal Khetan196






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