Question I am working on exporting
oracle databases having total size of around 40 TB. I need
to export them on external drive to tape media. Is
there any way that I can create a dump file directly on my
external drive mount point? How to I specify a large
dmp file on tape?
There are several ways to export to a large file on tape,
using either the exp or the expdp (Data Pump) commands.
Remember, disk is a cheap as was was just a few years ago,
so consider using a disk for exporting very large files,
instead of tape, which is slower and more prone to parity
errors. Once mounted to the OS, a device is a
device, and the exp or expdp commands are standard for
writing to any dmp file, large or small.
A more common example involves mounting the external
tape device to your operating system, creating a named pipe,
and exporting via the named pipe, directly to the tape
device. See here for an example of an
export using a named pipe.
Here is one
example of exporting a file to tape.
Named pipes are indicated by a p as the first letter of
ls -l output. One example of this is the tapedrive pipe
which is created at system startup as an interface to the
init process. NETWORK_LINK - You can initiate an
export job from your server and have Data Pump export data
from a remote database to dump files located on the instance
from which you initiate the Data Pump export job.
$ ls -l /dev/initctl
prw------- 1 root root 0
Jan 9 05:05 /dev/tapedrive
expdp hr/hr DIRECTORY=/dev/tapedrive
Here is another example of using Data Pump to
export a large data file directly to a network device.
In the older exp utility to tape, you
use the volsize parameter specify
the maximum number of bytes in an export file on each tape
volume. In the newer expdp utility you use the create
directory command to mount the tape drive to the OS.
Here are the different commands to use when exporting to
Here is yet another example of using
exp to transfer quickly to a tape drive on a
tape drive on a remote server.
Get the Complete
Oracle Utility Information
The landmark book
Utilities The Definitive Reference" contains over 600 pages of
filled with valuable information on Oracle's secret utilities.
This book includes scripts and tools to hypercharge Oracle 11g
performance and you can
for 30% off directly from the publisher.
Burleson is the American Team
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
is the registered trademark of Oracle Corporation.