用Oracle用户登陆
#备份脚本ora_bak.sh
/home/oracle/ora_env
rq='date+"%m%d"'
rm /home/oracle/ora_bak/ -f
exp fooms/abc123 file=/home/oracle/ora_bak/a$rq.dmp log=/home/oracle/ora_bak/a$rq.log
tar czvf a$rq.tgz /home/oracle/ora_bak/
?
用Oracle用户登陆
#备份脚本ora_bak.sh
/home/oracle/ora_env
rq='date+"%m%d"'
rm /home/oracle/ora_bak/ -f
exp fooms/abc123 file=/home/oracle/ora_bak/a$rq.dmp log=/home/oracle/ora_bak/a$rq.log
tar czvf a$rq.tgz /home/oracle/ora_bak/
?