Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | Questions | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Category : Home > Databases > Oracle > Oracle 10g     

Recover a dropped/deleted table from RMAN Backup


From 10g Onwards you can recover the dropped table from recyclebin, suppose the table is not
available in recycle bin also flashback database in not enabled.

But you are having a recent RMAN backup containing that particular missing/deleted/dropped
table.

you can recover the table by

1. create a duplicate database from production database using until log sequence/time/scn

example:-
RMAN> RUN
2> {
3> SET UNTIL SEQUENCE 11 THREAD 1;
4> DUPLICATE TARGET DATABASE TO "clone" NOFILENAMECHECK;
5> }

2. export the users table from clone(duplicate) database.

[oracle@rac2 clone]$ exp rajesh/rajesh file=/u01/app/oracle/test_rcv.dmp tables=test rows=y

3. import the users table to the production database.
[oracle@rac1 ~]$ imp rajesh/rajesh file=/u01/app/oracle/test_rcv.dmp fromuser=rajesh
touser=rajesh tables=test


  Options
 
   del.icio.us  |  newsvine  |  digg  |  furl  |  google  |  yahoo  |  Ma.gnolia  |  vigillar  |  reddit  |  technorati  |  icerocket  |  pubsub

       Rate this tip:    

Start discussion or add comment to this tip

  Details
Tip reference : #269
views : 880
Added on : 08/11/10
Submited by : grk.oracle
E-mail address : grk.oracle@gmail.com
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (2)
 
 
Next >>
 Most viewed tips 
  Databases > Oracle > Security : How to unlock Oracle user account  
  Databases > Oracle > Performance Tuning : How to enable trace in Oracle  
  Operating Systems > Unix : How to kill Unix user session  
  Databases > Oracle : Kill user session  
   
  All categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Mobile Phones / Tablets | Office Software
 
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com