create an oracle dump file [message #628898] |
Sun, 30 November 2014 07:39 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/790a12b2d2820900e1a418c5aa94d255?s=64&d=mm&r=g) |
chillkroetle
Messages: 21 Registered: October 2014 Location: germany
|
Junior Member |
|
|
Hi everybody,
i'd like to do an oracle dump export. With the exp-command the export shows me the failure EXP-00104: datatype (BINARY_DOUBLE) is not supported. So i found out that i should use the expdb command. For this case i generate the syntax expdp.exe elodb/<password>@<instancename> schemas=ELOAM directory=D:\ELO_Backup dumpfile=ELOAM.dmp logfile=ELOAM.log for a full export.
after the run from this syntax it shows me the error:
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name D:\ELO_Backup is invalid
so is it correct that i have to do the following?
1. Login via sqlplus with my elodb account
2. Execute the following syntax:
2.1. grant create any directory to elodb;
2.2. create directory my_data_pump_directory as 'D:\ELO_BACKUP';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: create an oracle dump file [message #629007 is a reply to message #628915] |
Tue, 02 December 2014 02:59 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
gazzag
Messages: 1119 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
As Michel said: you should not use SYS. To give you an idea of how dangerous it is, if you did an import (impdp) using SYS, you could overwrite your data dictionary (objects owned by SYS) which would render your database useless.
|
|
|
|
|
|
Re: create an oracle dump file [message #629013 is a reply to message #629008] |
Tue, 02 December 2014 03:53 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8964 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Actually, this depends on release. Earlier than 12.x, a full export wouldn't export objects owner by SYS, but in 12.x you can - if you use the rather oddly named transportable=always switch. That will include user-created objects in SYS and related schemas, but not system created objects such as the data dictionary tables. I think the distinction is made depending on the value of the oracle_maintained column in dba_objects.
|
|
|
|
|