Oracle Deinstall Utility Drops Database While Deinstalling the ORACLE_HOME - Workaround for How to Keep the Database intact ?
Last updated on FEBRUARY 03, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.2]
Oracle Database - Standard Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2]
This article helps users on how to perform ORACLE_HOME only de-install while preserving the Database associated with it. Steps shared in this article also talk about creation of responcefile/template and use the same in future de-installtion of other ORACLE_HOME.
De-installation of ORACLE_HOME removes Database without any notice. Intention is to only remove the ORACLE_HOME leaving the DB intact.
Observed that this only happens when ORACLE_HOME being deleted has a DB associated with it (i.e /etc/oratab has an a entry of DB and target ORACLE_HOME)
following are the setup details when this articles is drafted.
Deinstall tool invoked : $ORACLE_HOME/deinstall
also applicable for the external de-install tool available at the link below for de-install purpose.
Example: How to find the external de-install utility for Linux 86-64
Refer : Oracle De-install Utility
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms