Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding Data Pump Dump Location in 12c

First and foremost, apologies for a very novice question here. I was just starting to get the hang of how the data pump dump worked in 11g when the customers I support moved to 12c. Darn the luck. :)

So a hopefully quick question: I'm using a coworker's Windows server running 12c to try to import a customer's data pump dump (have their dump and log file), but I have no idea where to place the dump for import. When I run:

select * from dba_directories where directory_name='DATA_PUMP_DIR';   

this is the output returned:

c:\ade\aime_v\oracle/admin/seeddata/dpdump/

That directory does not exist anywhere on this machine, plus it looks like an unusual directory path. (My coworker is on vacation, else I'd just ask of course).

So has something changed in 12c where it treats directories a bit differently? I keep thinking surely the one who created this server couldn't have just pointed the data pump dir to a non-existent path like that. I'm presently googling myself in circles, so I suppose the short question is simply where do I begin as a first step in figuring out where my directory is for dropping my dump import file?

Again, apologies for the embarrassingly newbie question, and thanks in advance for entertaining my question.

like image 550
James Panetti Avatar asked Dec 22 '14 23:12

James Panetti


People also ask

Where is data Pump directory location?

Go to the /OP_ <version> _Main/OP_ <version> _Configuration/Database/ORACLE/UPGRADE_SCRIPTS directory. From the command line, run the update-datapump-directory.

Where are oracle dump files located?

Obviously, the default dump directory is directory object defined to \oraclexe\app\oracle\admin\XE\dpdump\. If you go to that directory, you will find the full database dump file is called "expdat. dmp".

What is data Pump directory?

The data pump directory is used in the backup and restore process for the Oracle database. Connect to the Oracle database as the sysdba. Copy. cd $ORACLE_HOME/bin ./sqlplus '/ as sysdba' Change the directory location of the data pump files to your desired directory.

What is directory in Impdp command?

Directory parameter is used for keeping dumpfiles and logfiles. Users running Data Pump operations are only able to read and write files in the directories that they have been granted access to.


1 Answers

Use the following sql query.

select * from dba_directories where directory_name='DATA_PUMP_DIR';
like image 167
Ashish Sahu Avatar answered Oct 06 '22 02:10

Ashish Sahu