Oracle Deinstall Utility Drops Database While Deinstalling the ORACLE_HOME - Workaround for How to Keep the Database intact ?
(Doc ID 1568557.1)
Last updated on DECEMBER 25, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [Release 11.2]
Oracle Database - Standard Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
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
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document