Mark –

 

Thanks for the response.  Not sure I follow with the STREAM_COUNT variable …. Are you pulling this from outside backup_exit_notify?   My understanding is the STREAM variable that gets passed to Backup_Exit_Notify is the same for all jobs in that stream – is this not correct?  

 

Greg

 

Greg Pero

NetSys Systems Engineer Senior

Downey Savings

(949) 509-4488 - office

[EMAIL PROTECTED] - pager/text message

(714) 200-3420 - cell

[EMAIL PROTECTED]


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 12:07 PM
To: Pero, Greg; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] backup_exit_notify script question

 

You can't do this with stream number because there's no guarantee what in order the streams will complete.  Most of us have nasty hacks for this.

 

My version has every stream that ends write a line to the same file.  Then it checks the size of the file, if the number of lines matches the STREAM_COUNT variable, then I assume its the last stream to exit and it runs the cleanup routine.

 

The line it writes to the file, by the way, is the return code for that stream.  The cleanup routine checks for all zeros & sends warnings if any of the streams were non-zero exits.

 

-M

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pero, Greg
Sent: Thursday, May 18, 2006 11:19 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] backup_exit_notify script question

Running Netbackup 5.1 mp4 on W3K – have backup_exit_notify.cmd configured to send email alerts (based on the status code) via blat to the NB Sys Admin.  I need to figure out a way to send a single email to a user after a specific scheduled policy has completed (the job runs from the master server – not the client).  Filtering out the policy and schedule is straight-forward – problem I’m having is the policy spawns multiple jobs and emails get sent when each job completes.  I would assume someone has already figured out how to do this using the stream number – any help would be greatly appreciated!

 

Thanks,

 

Greg

 

 

 

Greg Pero

NetSys Systems Engineer Senior

Downey Savings

(949) 509-4488 - office

[EMAIL PROTECTED] - pager/text message

(714) 200-3420 - cell

[EMAIL PROTECTED]

 

 

This message and any attachments are for the intended recipient(s) only and may contain privileged, confidential and/or proprietary information about Downey Savings or its customers, which Downey Savings does not intend to disclose to the public.  If you received this message by mistake, please notify the sender by reply e-mail and delete the message and attachments.



This message and any attachments are for the intended recipient(s) only and may contain privileged, confidential and/or proprietary information about Downey Savings or its customers, which Downey Savings does not intend to disclose to the public.  If you received this message by mistake, please notify the sender by reply e-mail and delete the message and attachments.

Reply via email to