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

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

 
 
 
 Category : Home > Databases > Oracle > RMAN     

Reset database to a specific incarnation.


When trying to backup a database that was previously restored the backup will fail unless this
procedure has been applied to rman catalog.

$ . oraenv
  $ORACLE_SID

$ rman target / catalog user/passwd@CATDB

RMAN> reset database;

RMAN>  list incarnation;

List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            CUR Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
10697   10698   DBNAME    1921873525       NO  37650      03-JUL-01
10697   12012   DBNAME    1921873525       YES 39457      03-AUG-01

RMAN> reset database to incarnation 10698;

RMAN> list incarnation;

DB Key  Inc Key DB Name  DB ID            CUR Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
10697   10698   DBNAME    1921873525       YES 37650      03/07/2001 11:45:58
10697   12012   DBNAME    1921873525       NO  39457      03/08/2001 17:09:52

RMAN> list incarnation of database DBNAME;

List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            CUR Reset SCN  Reset Time
------- ------- -------- ---------------- --- ---------- ----------
34109   34110   DBNAME     2492487887       NO  5231515755020 14-MAY-02
34109   35570   DBNAME     2492487887       YES 5231515763720 25-JUN-02


  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 : #5
views : 9846
Added on : 09/23/05
Submited by : h8dk97
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (202)
 
 
<< Previous 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