How To Perform ORACLE - HOME Backup
How To Perform ORACLE - HOME Backup
1
Copyright (c) 2024, Oracle. All rights reserved. Oracle Confidential.
In this Document
Goal
Solution
References
APPLIES TO:
GOAL
How to take a backup of the Oracle Home? This note only pertains to the ORACLE_HOME software and NOT databases.
SOLUTION
Backup of the Oracle home can be taken using any preferred method. You can use any tool such as zip, tar, and cpio to
compress the Oracle home.
It is highly recommended to take a backup of the Oracle_Home binaries and Cnetral Inventory prior to applying patchsets or
patches. It should also be done as part of a standard backup schedule.
It is also suggested but not mandatory that the database(s),listeners, any processes in the source home are shutdown so
that cold backup of the Oracle Home software can be taken. However if you are applying patches or patchsets the instructions
stated in the README file may state a shutdown is required in which case a suggestion might be to take cold backups of the
ORACLE_HOME during this scheduled maintenance outage. Taking backups while Oracle processes are active should also be
valid becuase any processes that load the static binaries or libraries into memory should not hold a write lock. Again this note
only speaks about the ORACLE_HOME software and not databases.
The backup must be taken by the user that owns the Oracle installation or root user. The intention is to make sure that the
ownership/permissions of the files is preserved correctly.
1. (Suggested but not mandatory) Shutdown databases, listeners, or any other processes related to
the ORACLE_HOME which you are taking backup.
cd /u01/app/oracle/product/11.2
1. (This step would be mandatory in the case of restore) Shutdown databases, listeners, or any
other processes related to the ORACLE_HOME which you are restoring.
cd /u01/app/oracle/product/11.2
mv db1 db1_bkup
Make sure that is enough enough free disk space before doing the backup.
The Central Inventory where the Oracle_Home is registered should also be part of the backup plan and taken at the same time
as the ORACLE_HOME backup for consistency.
The Central Inventory contains information relating to the Oracle_Home's installed on a host. Review the following note for
more information:
<Note 564192.1> FAQs on Central Inventory and Oracle Home Inventory (Local Inventory) in Oracle RDBMS
To determine where the Central Inventory (oraInventory) is located review the following file depending upon the platform:
/var/opt/oracle/oraInst.loc
or
/etc/oraInst.loc
The contents of oraInst.loc file will look something like this for example:
inventory_loc=/oracle/product/oraInventory
inst_group=dba
REFERENCES
NOTE:1351051.1 - Information Center: Install and Configure Database Server/Client Installations
NOTE:1351428.1 - Information Center: Patching and Maintaining Oracle Database Server/Client Installations
Didn't find what you are looking for?
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=164ygwlo4g_809&id=565017.1 2/2