#!/bin/ksh # To unload BIJU tables which are not part of EXPORT # # Biju Thomas - 04/21/99 # # export ORACLE_SID=MYSID export ORACLE_HOME=`find_ohome.sh ${ORACLE_SID}` export SHLIB_PATH=$ORACLE_HOME/lib:/usr/lib export TMPDIR=/tmp export LD_LIBRARY_PATH=$ORACLE_HOME/lib # wlogfile=unload.${ORACLE_SID} SQLPLUS=${ORACLE_HOME}/bin/sqlplus echo "Start time : "`date` > $wlogfile $SQLPLUS -s / >> $wlogfile <> $wlogfile echo "Compress data files..." >> $wlogfile compress -f /ora_backup/demodb/*.dat 2>> $wlogfile echo "End time : "`date` >> $wlogfile # # End of script