Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to do the imp for multiple export files for Oracle 7.3.4

682000Jan 27 2009 — edited Jan 28 2009
Hi,
I have use split and generated multiple export files :xaa xab xac xad xae xaf xag xah xai. Could you help me with the following questions:
1) colud you tell me how to do imp from multiple xaa,aab,xac.. very much appreciated if exactly syntax provided
2) how can I change the following script to split as well as compress when doing export. I found example for export and compress but it's for single file.
3)how to import direcly from multiple compressed export files like import from xaa.gz,xab.gz,xac.gz....
Many Thnks for the help



script to do the export
==========================
# Export backup of bk schema*
if [ $# -le 0 ] ;then
echo please supply the passwd value in file \$1 as parameter
echo example see file \.ipmppass which has password replaced with xxxx
exit
fi
PASSWD=$1

rm -f bk.dmp.gz
rm -f bk.dmp

mknod bk.dmp p
split -b2047m < bk.dmp &
#gzip <bk.dmp> bk.dmp.gz &
exp SYSTEM/$PASSWD parfile=exp_bk.parfile
rm bk.dmp


exp SYSTEM/$PASSWD parfile=exp_bk.parfile
rm bk.dmp

parfile:
==============================================
$ cat exp_bk.parfile
file=bk.dmp
log=bk.log
direct=y statistics=none buffer=10240000 consistent=y
owner=bk
RECORDLENGTH=64000

======export files
xaa xab xac xad xae xaf xag xah xai
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2009
Added on Jan 27 2009
3 comments
1,610 views