NetBackup for Oracle RMAN backup fails with Status Code 241 (the specified schedule is the wrong type for this request)

Article: 100029164
Last Published: 2008-01-28
Ratings: 4 0
Product(s): NetBackup

Problem

NetBackup for Oracle RMAN backup fails with Status Code 241 (the specified schedule is the wrong type for this request)


Error Message

the specified schedule is the wrong type for this request



Solution

If the Oracle Recovery Manager (RMAN) script specifies the NB_ORA_SCHED keyword, its value must be the (case sensitive) name of a schedule with a type of "Application Backup"  

On the master server, from the command line, run the bppllist command (found in the /usr/openv/netbackup/bin/admincmd directory on a UNIX/Linux master, or the  <install_path>\veritas\netbackup\bin\admincmd directory on a Windows server) as shown:

bppllist -U-allpolicies
------------------------------------------------------------

PolicyName:      <oracle_policy>

 PolicyType:        Oracle
 Active:              yes

<SNIP>

 Schedule:          Default-Application-Backup  <=Note the name
   Type:            Application Backup  <= Note the type

The value for the NB_ORA_SCHED keyword, if specified, must be the name of the schedule in an Oracle policy which is of type "Application Backup".  So, in the above example, since the schedule that is of type "Application Backup" is named "Default-Application-Backup", the value for the NB_ORA_SCHED keyword must be "Default-Application-Backup".

If a template is being used, the same information applies.  In the "Schedule" parameter, specify the name of the schedule which is of the type "Application Backup".  
 

 

Was this content helpful?