Database Reference
In-Depth Information
3.
The following command extracts the Oracle Inventory location and places it
in the INVENTORY_HOME environment variable:
export INVENTORY_HOME=`cat /etc/oraInst.loc | grep inventory_loc | cut -f2 -d=`
4.
Execute the following command to backup the Oracle Inventory:
gtar -czvf $BACKUP_DIR/oraInventory.${TIME}.tgz $INVENTORY_HOME
JDK
Backup the JDK as per the following instructions and modify the environment
variables depending on whether you are running JDK, JRockit, or both:
1.
Set your environment, if not already set. This may vary depending on your
installation:
export BACKUP_DIR=/backup
export JDK_HOME=/u01/app/oracle/middleware/jdk1.6.0_26
export JROCKIT_HOME=/u01/app/oracle/middleware/jrockit1.6.0_29
export TIME=`date "+%Y%m%d_%k%M"`
2.
Execute the following commands to backup both Sun JDK and JRockit JDK:
gtar -czvf $BACKUP_DIR/jdk.${TIME}.tgz $JDK_HOME
gtar -czvf $BACKUP_DIR/jrockit.${TIME}.tgz $JROCKIT_HOME
Search WWH ::




Custom Search