I modified the script but it is still giving me an error
exec>/u01/oradata/bkup_$$.log 2>&1
ORACLE_HOME=/u01/app/oracle/product/10.2; export ORACLE_HOME
ORACLE_SID=SEED: export ORACLE_SID
path="$PATH:$ORACLE_HOME/bin"
rman target=/<<
EOF
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALLOCATE CHANNEL ch1 device type disk FORMAT
'/u01//oradata/ora/%U';
BACKUP AS COMPRESSED BACKUPSET
DATABASE PLUS ARCHIVELOG;
SQL 'ALTER DATABASE OPEN';} EXIT ;
EOF
In the log file it displays that /u01/oracle/product/10.2 is a directory and the next line it display that RMAN not found. I will appreciate your suggestions guys. I will be greateful.
Quote:
Originally Posted by
radoulov
Test the job with the modified shell and post the output, please ...
As far as your request for explanation is concerned, there are many tutorials on Internet that describe/explain the
shell syntax.