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 18.104.22.168 to 22.214.171.124 [Release 11.2]
Oracle Database - Standard Edition - Version 126.96.36.199 to 188.8.131.52 [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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms