Re: Importing direct from a compressed export ?

From: Fredrik Nyman <ice_at_sled.gsfc.nasa.gov>
Date: 1995/11/14
Message-ID: <qjd9av45kz.fsf_at_tintoy.gsfc.nasa.gov>#1/1


Sure.

To export:
Create a pipe (if one doesn't already exist):
$ mknod expdat.dmp p

Pipe its contents through compress into expdat.dmp.Z in the background:
$ cat expdat.dmp | compress > exportfile.Z &
Then do the export:
$ exp user/password file=expdat.dmp ...

To import:
Create a pipe (if one doesn't already exist):
$ mknod expdat.dmp p

Uncompress and pipe the compressed export file into the pipe:
$ cat exportfile.Z | uncompress > expdat.dmp &
Then do the imort:
$ imp user/password file=expdat.dmp ...

-- 
Fredrik Nyman 	<ice_at_sled.gsfc.nasa.gov> 
Hughes STX  NASA Goddard Space Flight Center
Code 540 B12/E132D Greenbelt, MD 20771	
Received on Tue Nov 14 1995 - 00:00:00 CET

Original text of this message