LINUX下ORACLE定时备份数据,使用的expdp。
1、root账户登陆,切换到ORACLE用户。
su - oracle
2、创建一个名为te.sh的脚本,并授权可执行。
mkdir /home/oracle/te/te.sh
chomod 775 /home/oracle/te/te.sh
3、vi 编辑te.sh,添加如下脚本。
if [ -f ~/.bash_profile ];
then
. ~/.bash_pro
原创
2018-02-02 15:22:47 ·
4504 阅读 ·
0 评论