Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Export via pipe ksh script
<FONT face="Courier New" color=#0000ff
size=2>Thanks everyone. Much appreciated.
<FONT face="Courier New" color=#0000ff
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: Barb Baker
[mailto:bbbaker_at_mho.com]Sent: Thursday, January 03, 2002 9:35
PMTo: Multiple recipients of list ORACLE-LSubject: Re:
Export via pipe ksh script
Here's one:
#!/bin/ksh # #
********************************************************** # /etc/mknod/u14/ORA_DUMP/arc_tadrcv.dmp p compress < /u14/ORA_DUMP/arc_tadrcv.dmp > /u14/ORA_DUMP/arc_tadrcv.dmp.Z & exp
tadent> more $HOME/exp_arc_tadrcv.par ##### # exp_arc.par # parameter file to export arcdb schema #####
userid=username/password grants=y indexes=y direct=y compress=n rows=y constraints=y buffer=400000
*********************************************************#date /etc/mknod /u14/ORA_DUMP/imp_pipe.dmp p uncompress < /u14/ORA_DUMP/arc_exp.dmp.Z > /u14/ORA_DUMP/imp_pipe.dmp & imp parfile=$HOME/scripts/imp_arc.par file=/u14/ORA_DUMP/imp_pipe.dmp log=imp_arc.log rm /u14/ORA_DUMP/imp_pipe.dmpdate exit
tadent> more $HOME/scripts/imp_arc.par ##### # imp_arc.par # parameter file to import arcdb schema # #####
userid=username/password fromuser=scotttouser=scottindexes=y grants=n rows=y commit=y ignore=y feedback=100000 buffer=4000000
To: <A title=ORACLE-L_at_fatcity.com
href="mailto:ORACLE-L_at_fatcity.com">Multiple recipients of list ORACLE-L
Sent: Thursday, January 03, 2002 5:35
PM
Subject: Export via pipe ksh script
Could someone please send me a ksh script
for doing imp/exp via a pipe. We're
running AIX 4.3.3.
Thanks!
<FONT face="Courier New"
size=2>-------------------------------------------- <FONTface="Courier New" size=2>Jeffery D Thomas <FONT face="Courier New" size=2>DBA Thomson Information
href="mailto:thomasje_at_tce.com">thomasje_at_tce.com <FONT face="Courier New" size=2>DBA Quickplace: <A target=_blank href="http://gkmqp.tce.com/tis_dba">http://gkmqp.tce.com/tis_dba<FONT face="Courier New"
size=2>-------------------------------------------- <FONTface="Courier New" size=2> Received on Fri Jan 04 2002 - 07:18:58 CST