Friday, 8 July 2011

Oracle - Unregister database from RMAN

When removing a database and using RMAN it is necessary to remove the database from the RMAN repository to prevent RMAN from failing when it goes to run backups.

You do that by doing the following:
  • Set your oracle environment for the database that needs to be removed
  • Check ORACLE_SID is correct database (to prevent removing the wrong one)
  • Log onto RMAN
RMAN> unregister database
RMAN> shutdown immediate

No comments:

Post a Comment

Please feel free to leave a comment