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.
Go to the /OP_ <version> _Main/OP_ <version> _Configuration/Database/ORACLE/UPGRADE_SCRIPTS directory. From the command line, run the update-datapump-directory.
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".
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.
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.
Use the following sql query.
select * from dba_directories where directory_name='DATA_PUMP_DIR';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With