Veritas-bu

[Veritas-bu] Re: ndmp notification problem

2007-09-05 08:08:06
Subject: [Veritas-bu] Re: ndmp notification problem
From: prashant dabre <netbackup-forum AT backupcentral DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Wed, 05 Sep 2007 04:43:14 -0700
There is bug in ndmp_end_notify script provided by symantec.

Got below solution on symantec

http://seer.entsupport.symantec.com/docs/251499.htm

-------------------------------------------------------------
When placing the ndmp_end_notify script in /usr/openv/netbackup/bin to receive 
e-mail notifications from Network Data Management Protocol (NDMP) backups, it 
should be noted that the bptm process will pass seven parameters to the script, 
not five.

In the bptm log, it will look like the following:

11:04:27.011 [9278] <2> ndmp_notify: executing - 
/usr/openv/netbackup/bin/ndmp_end_notify ndmp_filer1 filer_bu Full FULL 0 "." ""

where each of the seven parameters is for:
client name (ndmp_filer1)
policy name (filer_bu)
schedule name (Full)
schedule type (FULL)
status code (0)
a dot (".")
a null ("")

In the case of copying the script from the existing bpend_notify,  remove the 
following four lines or change the number from "5" to "7" to make it accept the 
7 parameters passed.
if [ "$#" -ne 5 ]
then
  exit 1
  fi

+----------------------------------------------------------------------
|This was sent by prashant.dabre AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>