create rman back log file issue in linux
592815Jul 23 2010 — edited Jul 23 2010Hi Experts,
I run 10.2.04 database in redhat 5.1
i create a testing shell script for cron job. but I could not create rman backup log file with blank email.
my code as
#!/bin/bash
EXPORT DTE='date +%m%d%C5y%H%M'
export $ORACLE_HOME/bin
export $ORACLE_SID=sale
rman target='backuptest/backuptest@sale4' nocatalog log /urs/tmp/orarman/jimout.log << EOF
RUN {
show all;
}
EXIT;
EOF
mail -s " backup"${DTE} jim@sale.net < urs/tmp/orarman/jimout.log
Please advice me for dubug.
Thanks for your help!
JIm