Database Backup and Recovery (MOSC)

MOSC Banner

RMAN

edited May 10, 2010 5:44AM in Database Backup and Recovery (MOSC) 4 commentsAnswered
  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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center