Database Backup and Recovery (MOSC)

MOSC Banner

rman backup not writing to log file

edited May 5, 2014 10:23AM in Database Backup and Recovery (MOSC) 5 commentsAnswered ✓


We are using database version 11.2.0.3. I setup cron job to run rman backup. Looks like the cron job is running; however, there is no log generated. Is there any syntax error in the script I need to change? Gurus, please advise. Thank you very much.

Below is my script:

run_backup_full.sh

connect catalog username/password@RCAT
connect target username/password
RUN {

BACKUP
   FULL
   TAG Daily_Full_Backup
   DATABASE FILESPERSET=1
   ;
BACKUP
   CURRENT CONTROLFILE
   ;
SQL 'alter system archive log current';
BACKUP
   ARCHIVELOG ALL FORMAT '/ebs/dxibackup/archctl/%d_%t_%s_%p.arch';

DELETE NOPROMPT OBSOLETE;
CROSSCHECK BACKUP;
CROSSCHECK ARCHIVELOG ALL;

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