Advertisement
mms1973

rman recover

Jun 5th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. On a high-level, the following three steps are performed in recovering the database from RMAN backup.
  2.  
  3. 1. Restore controlfile from backup
  4.  
  5. MAN> SET DBID 12345;
  6.  
  7. RMAN> STARTUP NOMOUNT;
  8.  
  9. RMAN> RESTORE CONTROLFILE FROM "/backup/rman/ctl_c-12345-20141003-03";
  10.  
  11. RMAN> ALTER DATABASE MOUNT;
  12.  
  13. 2. Restore the databse
  14.  
  15. RMAN> RESTORE DATABASE;
  16.  
  17. 3. Recover the database
  18.  
  19. RMAN> RECOVER DATABASE;
  20.  
  21. RMAN> ALTER DATABASE OPEN RESETLOGS;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement