Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

shell script for export and import

738791Dec 4 2009 — edited Dec 4 2009
Hi,

I want to run exp command in background since i need to export 40gb database of other database

if i won't use & my session will die.

appreciated any inputs.


i need to run this line from shell script.


/oracle/bin/exp pin@voipdbstg/pin file=voip.dmp owner=pin log=voip.log

bash-2.05$ more export.sh
#!/bin/sh
/oracle/bin/exp pin@voipdbstg/pin file=voip.dmp owner=pin log=voip.log


bash-2.05$ sh export.sh &
[10] 13352
bash-2.05$
Export: Release 8.1.7.0.0 - Production on Fri Dec 4 22:51:09 2009

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Password: pin
bash: pin: command not found

[10]+ Stopped sh export.sh

input appreciated

thanks

Prakash
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2010
Added on Dec 4 2009
5 comments
2,069 views