RMAN job completed with warnings [message #315084] |
Fri, 18 April 2008 22:35 |
|
cmerry
Messages: 109 Registered: November 2005 Location: Idaho
|
Senior Member |
|
|
When querying V$RMAN_BACKUP_JOB_DETAILS, the status column is returning "COMPLETED WITH WARNINGS". Is there any way to view these warnings in 10.2.0.3? For example:
COL STATUS FORMAT a9
COL hrs FORMAT 999.99
SELECT SESSION_KEY, INPUT_TYPE, STATUS,
TO_CHAR(START_TIME,'mm/dd/yy hh24:mi') start_time,
TO_CHAR(END_TIME,'mm/dd/yy hh24:mi') end_time,
ELAPSED_SECONDS/3600 hrs
FROM V$RMAN_BACKUP_JOB_DETAILS
ORDER BY SESSION_KEY;
SESSION_KEY INPUT_TYPE STATUS START_TIME END_TIME HRS
----------- ------------- --------- -------------- -------------- -------
6080 DB FULL COMPLETED 04/08/08 23:29 04/08/08 23:37 .14
WITH WAR
NINGS
Thanks!
|
|
|
|
|
Re: RMAN job completed with warnings [message #315170 is a reply to message #315135] |
Sat, 19 April 2008 11:24 |
|
cmerry
Messages: 109 Registered: November 2005 Location: Idaho
|
Senior Member |
|
|
ebrian wrote on Sat, 19 April 2008 05:05 | For future backups, you should consider generating a shell script log or an RMAN log each time your RMAN job runs.
|
That's a terrific idea, great minds think alike I suppose. I currently have a shell script log, but I am in the process of incorporating an email notification, generated in PL/SQL, that includes the details of the backup. Rather than messing with the OS file, I just wanted to use V$ views to gather the information. I knew there was a view, I just missed V$RMAN_OUTPUT...it seems so obvious. Thanks for the help.
|
|
|