Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Exporting a large database

Re: Exporting a large database

From: Anton Dischner <dischner_at_klch.med.uni-muenchen.de>
Date: Tue, 25 Jan 2000 15:28:51 +0100
Message-ID: <250120001528515267%dischner@klch.med.uni-muenchen.de>


Hi,

Export to tape is not limited.

Another example is export to tape and compress: This is an AIX example (/dev/rmt0)

export:

mknod /tmp/fifo p # create a pipe compress < /tmp/fifo|dd of=/dev/rmt0 ibs=512b obs=64k conv=sync& # large obs for speed exp scott/tiger file=/tmp/fifo tables=emp

import:

imp scott/tiger file=/tmp/fifo tables=emp& uncompress < /dev/rmt0 > /tmp/fifo

gzip works similar, only use gzip -d to expand

regards,

Toni

PS:

To export to the tape of another host:

tar -cvf- your-file|rsh onother_host dd of=/dev/rmt0 obs=64k ibs=512b

You may want to merge this precodure ;-)

Sorry about you NT-peoples. SCNR Received on Tue Jan 25 2000 - 08:28:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US