shell script for export and import
738791Dec 4 2009 — edited Dec 4 2009Hi,
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