Home » RDBMS Server » Server Utilities » Is it possible to export (expdp) a table from client m/c, without using Remote desk top connection ? (Oracle 10g )
Is it possible to export (expdp) a table from client m/c, without using Remote desk top connection ? [message #419545] Mon, 24 August 2009 02:52 Go to next message
sbmk_design
Messages: 88
Registered: April 2007
Location: CHENNAI
Member
Is it possible to export (expdp) oracle table from client machine, without using Remote desk top connection ?

Server - Unix / Oracle-10g
Client - Windows -Vista / Oracle 10.2 client

1) Database-10g server is in America
2) client machine is in India
3) Oracle client-10g is installed in my machine
4) I am able to connect to the server, could see all tables
5) one table is with 35 million record, I wanted to export this table using data pump, from client machine is it possible?

I tried
~~~~~~~~

6) connect sys as sysdba
create directory test_dir as '/dbusr1/exp_test'
grant read, write on directory test_dir to user1;

7) expdp user1/pwd1@xyz tables=test_1 directory=test_dir dumpfile=test_file.dmp logfile=test_file.log

Cool Errors

In linux prompt I am getting this error
-bash: expdp: command not found

In windows cmd prompt I am getting this error

ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE";, line 488
ORA-29283: invalid file operation

9) why ?
-- Does the user ( "user1") should have any system level privilege ? to export his own table?
-- This subfolder only ('/dbusr1/exp_test') has write privilege in os level.

Thanks in advance
sbmk_design

Re: Is it possible to export (expdp) a table from client m/c, without using Remote desk top connecti [message #419584 is a reply to message #419545] Mon, 24 August 2009 06:33 Go to previous messageGo to next message
babuknb
Messages: 1736
Registered: December 2005
Location: NJ
Senior Member

6) connect sys as sysdba 
create directory test_dir as '/dbusr1/exp_test' 
grant read, write on directory test_dir to user1; 

7) expdp user1/pwd1@xyz tables=test_1 directory=test_dir dumpfile=test_file.dmp logfile=test_file.log 


In your server you have "dbusr1/exp_test" directory and mount point ??

If your trying to export from clinet; DMP file will available in server only not client.

Thanks
Re: Is it possible to export (expdp) a table from client m/c, without using Remote desk top connecti [message #419592 is a reply to message #419545] Mon, 24 August 2009 07:11 Go to previous messageGo to next message
sbmk_design
Messages: 88
Registered: April 2007
Location: CHENNAI
Member
If your trying to export from clinet; DMP file will available in server only not client

Does not matter, I can ftp it to my client machine
(Then I can load it another oracle server, i.e This is OLTP to OLAP kind of work)

Why I am getting this error ?

Thanks in advance
Re: Is it possible to export (expdp) a table from client m/c, without using Remote desk top connecti [message #419597 is a reply to message #419592] Mon, 24 August 2009 07:47 Go to previous messageGo to next message
babuknb
Messages: 1736
Registered: December 2005
Location: NJ
Senior Member

Quote:
Why I am getting this error ?


Post your log file from windows & linux.

Post your environment details (from windows "set" & from Linux "env")

Thanks
Re: Is it possible to export (expdp) a table from client m/c, without using Remote desk top connecti [message #419684 is a reply to message #419545] Tue, 25 August 2009 02:45 Go to previous message
sbmk_design
Messages: 88
Registered: April 2007
Location: CHENNAI
Member
Hi gentlebabu

set ORACLE_SID = xyz
set ORACLE_BASE = /ora01/app/oracle
set ORACLE_HOME = /ora01/app/oracle/product/10.2.0
set PATH = /ora01/app/oracle/product/10.2.0/bin

It doesn't create any log file

Thanks in advance
Previous Topic: EXP:00056 oracle error 1578 encountered
Next Topic: exp command not running
Goto Forum:
  


Current Time: Thu Apr 25 00:32:56 CDT 2024