Title: RMAN controlled backup jobs use incorrect media target.
Date: 20/10/2006
NV Version: 7.x
OS Version: any
Application version:Oracle 9.x 10.x
Plugin version:ORACLE RMAN APM 4.5
Description: How to set the target media of RMAN controlled backups
Symptoms:
When running RMAN backups with autobackup copntrolfile enabled - jobs are created automatically which are titled "RMAN controlled backups". Unless configured these will target any media.
The jobs appear like this:
Job Message 2006/10/19 23:57:57 313 Data Plugin NCIVO2 Starting Control File and SPFILE Autobackup at 20-OCT-06
Information 2006/10/19 23:58:09 0 GUI NCBACKUP02 Job 722 'RMAN controlled backup' Submitted
Information 2006/10/19 23:58:09 722 Schedule NCBACKUP02 Starting phase 1 on NCIVO2
Job Message 2006/10/19 23:58:09 722 Jobs NCBACKUP02 Starting job 722 'RMAN controlled backup' (Phase 1 , Instance 1) for UID 4
This occurs when the Oracle RMAN catalog has been configured with AUTOBACKUP CONTROLFILE ENABLED.
The RMAN controlled backups are in effect CLI jobs and can be configured by editting the oraclerman.cfg file. This file is called nvoracleapm.cfg in plugin versions 5 and above. However from APM 5.0 onwards - these options can be configured through the GUI when configuring the plugin.
Edit the stanza:
[Oracle:BackupTargetSet]
Tab Name=Oracle RMAN APM
Tab Name Id=0
Type=String
Label=CLI Backup Target Set
Label Id=0
Help=Backup Target set for Oracle RMAN command prompt initiated backups
Help Id=0
Value=
So that the "value=" line is set to a valid target set.
e.g:
[Oracle:BackupTargetSet]
Tab Name=Oracle RMAN APM
Tab Name Id=0
Type=String
Label=CLI Backup Target Set
Label Id=0
Help=Backup Target set for Oracle RMAN command prompt initiated backups
Help Id=0
Value=Oracle_target_set
The only limitation to this is that you can only target one media set in this manner.