Linux上备份Oracle数据库脚本(16.34)
# eXP-backup.sh# initialize Oracle database env variable /home/oracle/oraenv# assign current date to variable rq# 注重:定义rq变量用的单引号是Tab键上面的~键。 rq=`date +"%Y%m%d"`# export whole database exp expuser/web2dump5@ctgpcweb parfile=./export.par FILE=/backup/db_1634_$rq.dmp LOG=./db_1634_$rq.log