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!

create rman back log file issue in linux

592815Jul 23 2010 — edited Jul 23 2010
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2010
Added on Jul 23 2010
17 comments
3,463 views