Skip to Main Content

Database Software

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!

-bash: exp: command not found

user545194Mar 6 2012 — edited Mar 6 2012
Hi!

we are trying to export a db schema, but receive the following message:

-bash: exp: command not found
# Export Schema WLTUSER
#----------------------

*************************************************************

# vi /oracle/app/oracle/scripts/export/export.sh

*************************************************************

# set variables

export ORACLE_HOME=/oracle/app/oracle/product/10.2.0/db_1
export ORACLE_SID=xxxxx
export LD_LIBRARY_PATH=/oracle/app/oracle/product/10.2.0/db_1/lib
export path=($path $ORACLE_HOME/bin)

# run schema export

exp USERID=system/xxxxxx OWNER=WLTUSER FILE=/oracle/app/oracle/scripts/export/export_$TODAY.dmp logfile=/oracle/app/oracle/scripts/export/export_$TODAY.log

echo "export done..."

exit 0
Please help! Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 3 2012
Added on Mar 6 2012
5 comments
10,113 views