ITPub博客

首页 > 数据库 > Oracle > AIX迁移到linux

AIX迁移到linux

原创 Oracle 作者:roc_phoenix 时间:2016-01-27 10:41:22 0 删除 编辑

用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
grep IMP *.log

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30491527/viewspace-1982895/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-09-18

  • 博文量
    48
  • 访问量
    144412