Re: Export & Cpio
From: Christian Mondrup <reccmo_at_sc03.sctp.dk>
Date: 1998/03/11
Message-ID: <6e5hb7$dcq$1_at_news.net.uni-c.dk>#1/1
Date: 1998/03/11
Message-ID: <6e5hb7$dcq$1_at_news.net.uni-c.dk>#1/1
Hink Wiersema <h.wiersema_at_minihouse.nl> wrote:
: Hello,
: how do I store an export.dmp file as a cpio archive on tape without
: placing the dump file
: first on harddisk. I tried the using following script, wich doesn't do
: the job right.
: First I did:
: mkfifo xyz.dmp
: mkfifo xyz.dmp.Z
: this is the scriptfile:
: exp user/pwd file=xyz.dmp log=xyz.log full=y consistent=y buffer=9999999
: &
: compress < xyz.dmp > xyz.dmp.Z &
: cat xyz.dmp.Z | cpio -ocB -O/dev/rmt0h /* this line gives the
: problems */
: how can I create a good cpio archive on tape?
: system: DEC Unix V4.0B
: db : Oracle7.3.2.3 Workgroup server
My way of doing it would be something like:
rm -f xyz.dmp mknod xyz.dmp p dd if=xyz.dmp | compress -c | cpio -ocB -O/dev/rmt0h &exp user/pwd file=xyz.dmp log=xyz.log full=y consistent=y buffer=9999999
: regards,
: Hink Wiersema
-- Christian Mondrup, Computer Programmer Scandiatransplant, Skejby Hospital, University Hospital of Aarhus Brendstrupgaardsvej, DK 8200 Aarhus N, Denmark Phone: +45 89 49 53 01, Telefax: +45 89 49 60 07Received on Wed Mar 11 1998 - 00:00:00 CET