RMAN incremental backup status


Job details

Name: RMAN incremental backup status
Platform: Oracle
Category: Availability
Description: Checks the status of RMAN incremental backup (input_type ‘DB INCR‘) from V$RMAN_BACKUP_JOB_DETAILS performance view.
Long description: Checks the status of RMAN incremental backup (input_type ‘DB INCR‘) from V$RMAN_BACKUP_JOB_DETAILS performance view.
Version: 2.0
Default schedule: 20 6 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & _cdb_v_rman_backup_job_details = ‘1′ & is_pluggdb = ‘0′ ]/.[is_rds = ‘0′]

Parameters

Name Default value Description
backup expire time 168 Backup expire time (in hours). If no valid backup exists within this time threshold a warning is returned.
return status when backup RUNNING 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when RMAN backup status value is RUNNING.
return status when backup FAILED 2 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when RMAN backup status value is FAILED.
container ID 1 The ID of the container to which the data pertains.
return status when OLD backup 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when RMAN backup is older than “backup expire time” parameter value.
return status when backup NOT IMPLEMENTED 1 Return status value (ALARM – 2, WARNING – 1, or OK – 0) when RMAN backup is not implemented.

Job Summary

SELECT status, input_type, start_time, end_time FROM V$RMAN_BACKUP_JOB_DETAILS WHERE input_type = 'DB INCR';

Important Components and Logic

Key SQL Scripts Involved

Embedded Procedures

Monitoring Outcome

Implementation Details

Understanding these components, administrators can tailor their database monitoring strategy, leveraging dbWatch to maintain optimal database operations and ensure compliance with data safety standards.