if you are using unix you can create a variable that has the date.
export CURR_DATE=`/bin/date +%y%m%d_%H%M%S`
And then use that variable in you shell script.
exp system full=y file=mydb_${CURR_DATE}_full.dmp ...
Just remember exp is not a good backup strategy.




Reply With Quote