Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Oracle export tape tips

Oracle Database Tips by Donald BurlesonJanuary 5, 2013

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?

Answer.  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
NETWORK_LINK=source_database_link
DUMPFILE=network_export.dmp

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 tape.

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 "Advanced Oracle 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 buy it for 30% off directly from the publisher.
 

 


 

 

Burleson is the American Team

Note: This Oracle 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 Oracle forum.

Verify experience! Anyone 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 publish their Oracle qualifications.

Errata?  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 feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster