For example, if the source Oracle installation is in the path /u01/app/oracle/product/18.1/dbhome_1
, then you zip the dbhome_1
directory by using the following command:
# zip -r dbhome_1.zip /u01/app/oracle/product/18.0.0/dbhome_1
You can also use the TAR command. For example:
# tar -cvf dbhome_1.tar /u01/app/oracle/product/18.0.0/dbhome_1
Do not include the admin
, fast_recovery_area
, and oradata
directories that are under the Oracle base directory. These directories are created in the target installation later, when you create a new database there.