RMAN backup status


Job details

Name: RMAN backup status
Platform: Oracle
Category: Availability
Description: Checks status of RMAN backup from V$RMAN_BACKUP_JOB_DETAILS performance view.
Long description: Task checks the status of RMAN backup from V$RMAN_BACKUP_JOB_DETAILS performance view. (For 8.x)
Version: 1.4
Default schedule: 10 6 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘8%’)]

Parameters

Name Default value Description
backup expire time 24 Backup expire time (in hours).

Job Summary

SELECT DEVICE_TYPE, HANDLE, TAG, STATUS, START_TIME, COMPLETION_TIME, ELAPSED_SECONDS, DELETED FROM V$BACKUP_PIECE WHERE DELETED = 'NO' ORDER BY START_TIME DESC;

Implementation Overview

Function Description
Task Implementation A PL/SQL procedure that fetches backup details from V$BACKUP_PIECE, computes elapsed time, checks if backups have been executed within the set timeframe, and verifies the completion status of the backups.
Error Handling Updates the monitoring status and logs errors to the ‘DBW_ERRORS‘ table in the event of an exception during the execution of the monitoring task.

Report Summary

The job generates reports that provide detailed statistics and information on RMAN backup activities:

The reports facilitate quick and informed decisions regarding backup health and operational status, thereby supporting effective database management practices. These automated reports reduce the need for manual checks and can highlight issues that need immediate attention.