This post demonstrates how to clone existing Oracle Home using a Gold Image in Oracle Database 19c and later releases.
Starting with Oracle Database 19c, the clone.pl script has been deprecated and may be removed in a future release. Therefore, Oracle recommends using the software-only installation option available in the Oracle Database Installer instead of clone.pl when cloning an Oracle Database home.
Environment
==========
RDBMS Version: 19.27
OS: Oracle Linux 9.4
Note:
====
Create a Gold Image only from a freshly installed Oracle Home. Do not use an Oracle Home that has been configured or is actively in use. The Gold Image should be created from a completely clean/new Oracle Home.
1. Install Oracle Database 19c Home.
An Oracle 19c Home with RU Patch 19.27 is already installed at location /u01/app/oracle/product/19c/db
2. Create a directory for the gold image.
To store the Oracle Home Gold Image, create a dedicated directory.
[oracle@oggsrc ~]$ mkdir -p /misc/oracle/goldimage_ORAHOME_19.27
3. Create new gold image from newly installed ORACLE HOME.
[oracle@oggsrc ~]$ $ORACLE_HOME/runInstaller -createGoldImage -destinationLocation /misc/oracle/goldimage_ORAHOME_19.27 -silent
Launching Oracle Database Setup Wizard…
Successfully Setup Software.
Gold Image location: /misc/oracle/goldimage_ORAHOME_19.27/db_home_2026-11-14_04-37-15PM.zip
—
To generate a Gold Image with a user-defined name, specify the -name option during image creation.
$ORACLE_HOME/runInstaller -createGoldImage -destinationLocation /misc/oracle/goldimage_ORAHOME_19.27 -silent -name goldimage_DB_HOME_19.27.zip
4. Copy the gold image to target server and unzip the gold image at ORACLE HOME location of target server.
After creating the Gold Image archive, transfer it to the target server where the new Oracle Home will be deployed.
–On Source server
[oracle@oggsrc ~]$ scp /misc/oracle/goldimage_ORAHOME_19.27/db_home_2026-11-14_04-37-15PM.zip oracle@192.168.56.173:/u01/app/oracle/product/19c/db
The authenticity of host ‘192.168.56.173 (192.168.56.173)’ can’t be established.
ED25519 key fingerprint is SHA256:fdqQExTAxBZEy0Sa7gHfR3WI9aCkxyfGKjfKDlHwzqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added ‘192.168.56.173’ (ED25519) to the list of known hosts.
oracle@192.168.56.173’s password:
db_home_2026-11-14_04-37-15PM.zip
–On target server
[oracle@oggtgt ~]$ cd $ORACLE_HOME
[oracle@oggtgt db]$ unzip db_home_2026-11-14_04-37-15PM.zip
[oracle@oggtgt db]$ ls
addnode css deinstall hs jlib odbc ords precomp runInstaller sqlpatch wwg
apex ctx demo install ldap olap oss QOpatch schagent.conf sqlplus xdk
assistants cv diagnostics instantclient lib OPatch oui R sdk srvm
bin data drdaas inventory md opatchautocfg ovm racg sdo suptools
client db_home_2026-11-14_04-37-15PM.zip dv javavm mgw opmn owm rdbms slax ucp
clone dbjava env.ora jdbc network oracore perl relnotes sqlcl usm
crs dbs has jdk nls ord plsql root.sh sqlj utl
5. On target server, install the ORACLEHOME in GUI or silent mode.
[oracle@oggtgt ~]$ cd $ORACLE_HOME
[oracle@oggtgt db]$ export CV_ASSUME_DISTID=OEL8
[oracle@oggtgt db]$ ./runInstaller
Launching Oracle Database Setup Wizard…
The response file for this session can be found at:
/u01/app/oracle/product/19c/db/install/response/db_2026-11-14_04-59-46PM.rsp
You can find the log of this install session at:
/tmp/InstallActions2026-11-14_04-59-46PM/installActions2026-11-14_04-59-46PM.log
Moved the install session logs to:
/u01/app/oraInventory/logs/InstallActions2026-11-14_04-59-46PM
OR
./runInstaller -silent -debug -force \
oracle.install.option=INSTALL_DB_SWONLY \
UNIX_GROUP_NAME=oinstall \
ORACLE_HOME=/u01/app/oracle/product/19c/db \
ORACLE_BASE=/u01/app/oracle \
oracle.install.db.InstallEdition=EE \
oracle.install.db.DBA_GROUP=dba \
oracle.install.db.OPER_GROUP=oper \
oracle.install.db.OSBACKUPDBA_GROUP=backupdba \
oracle.install.db.OSDGDBA_GROUP=dgdba \
oracle.install.db.OSKMDBA_GROUP=kmdba \
oracle.install.db.OSRACDBA_GROUP=racdba \
DECLINE_SECURITY_UPDATES=true
6. On target, post ORACLE HOME installation, check the version of RDBMS binaries.
[oracle@oggtgt ~]$ sqlplus -V
SQL*Plus: Release 19.0.0.0.0 – Production
Version 19.27.0.0.0
Disclaimer:
Please note the above information is only for educational purpose and practised in personal test database only. Always test in test database before implementing in production database. The pre-requisites and ways of implementing may vary from one environment to another. Hence, not providing guarantee that it will work in your environment.