RMAN exit problem from linux script..
taimurAug 28 2011 — edited Aug 28 2011Hi 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.