Skip to Main Content

Oracle Database Discussions

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!

RMAN exit problem from linux script..

taimurAug 28 2011 — edited Aug 28 2011
Hi all

I am using 11.1.6.0 on linux centos ..below is the rman script (name is rmanbackup.sh) .

rman target / <<- EOF
sql 'alter system archive log current';
run {
backup current controlfile;
}
exit
EOF
echo "script complete for rman backup"
mkdir /home/oracle/backup_dir
cp /home/oracle/backup_dir /home/oracle/backup_dir1

when i execute this, rman exit from script without executing the last 3 operating system commands .
any help in this regard.
This post has been answered by orawiss on Aug 28 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2011
Added on Aug 28 2011
3 comments
700 views