首页 > 数据库 > Oracle > AIX迁移到linux
用nfs挂载
查询shell
[root@zydeve dmp]# env | grep SHELL
SHELL=/bin/bash
写全库导入脚本加入到crontab后台执行
#!/bin/bash
su - oracle -c "
export ORACLE_SID=zydeve
cd /dmp
imp system/netscape buffer=209715200 recordlength=65535 feedback=200000 full=y file=exp_full.dmp log=imp_full.log commit=y
"
设置时间后验证
ps -ef | grep /bin/sh
ps -ef | grep imp
导入用完后记得:
umount /dmp
grep ORA *.log来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30491527/viewspace-1982895/ ,如需转载,请注明出处,否则将追究法律责任。