# echo $ORACLE_HOME
export ORACLE_BASE=/db/app/oracle
export ORACLE_HOME=/db/app/oracle/product/11.2.0/db_1
export ORACLE_SID=ORCL
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
DATE=`date +%Y%m%d`
export DIR=/home/oracle/oracledata/backup
echo $DIR
mkdir -p $DIR/$DATE
echo 'Oracle recover...'
imp xxxxxx/xxxxxx@xxxxxxxxx:1521/orcl file=$DIR/$DATE'/C8DBData_'$DATE'.dmp'
echo 'Oracle recover successfully.'
03-30
9098