RMAN
I am able to setup the rman backups running, however I need help on
setting up the cron jobs. I setup the following cron job but it is not
running what is it wrong I am doing?
#!/bin/ksh
export ORACLE_SID=DB1
rman catalog rman/rman@CATDB target sys/passwd@DB1<<EOF
crosscheck archivelog all;
backup database plus archivelog delete input ;
delete noprompt force obsolete;
exit;
EOF
I have schedule this in following cron under /etc/crontab to run every sunday night at 9pm but it never runs.
0 21 * * 0 /home/oracle/DB_clone/cron/DB1_Backup_script.sh 2>&1 > /dev/nul
#!/bin/ksh
export ORACLE_SID=DB1
rman catalog rman/rman@CATDB target sys/passwd@DB1<<EOF
crosscheck archivelog all;
backup database plus archivelog delete input ;
delete noprompt force obsolete;
exit;
EOF
I have schedule this in following cron under /etc/crontab to run every sunday night at 9pm but it never runs.
0 21 * * 0 /home/oracle/DB_clone/cron/DB1_Backup_script.sh 2>&1 > /dev/nul
0