Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMAN Backup error using Veritad NetBackup 6.5

770097Aug 5 2010 — edited Aug 5 2010
Below is my Run block in my RMAN FRA Backup script of HP-UX

run
{
ALLOCATE CHANNEL T1 TYPE 'SBT_TAPE' MAXPIECESIZE 32768M;
ALLOCATE CHANNEL T2 TYPE 'SBT_TAPE' MAXPIECESIZE 32768M;
SEND 'NB_ORA_POLICY=${NB_POLICY_NAME}';
BACKUP RECOVERY AREA;
RELEASE CHANNEL T1;
RELEASE CHANNEL T2;
}

Below is the declaration of the NB_ORA_POLICY in my declaration section in the script

host=`hostname`
host=`echo $host | awk -F. '{print $1}'`; export host
echo $host
echo 'rman'
echo $1
echo 'fra'
echo 'NB_POLICY_NAME is ' ${host}_rman_${1}_fra


Below are the errors I get

RMAN> 2> 3> 4> 5> 6> 7> 8> 9> RMAN> 2> 3> 4> 5> 6> 7> 8> 9>
allocated channel: T1
channel T1: sid=76 devtype=SBT_TAPE
channel T1: Veritas NetBackup for Oracle - Release 6.5 (2009050107)

allocated channel: T2
channel T2: sid=73 devtype=SBT_TAPE
channel T2: Veritas NetBackup for Oracle - Release 6.5 (2009050107)

released channel: T1
released channel: T2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of send command at 08/05/2010 11:25:58
ORA-19559: error sending device command: NB_ORA_POLICY=
ORA-19557: device error, device type: SBT_TAPE, device name:
ORA-27194: skgfdvcmd: sbtcommand returned error
ORA-19511: Error received from media manager layer, error text:
NBBSA_SCHEDULE not found in environment block

Please advise...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2010
Added on Aug 5 2010
3 comments
1,740 views