Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error email on backup_exit_notify

Status
Not open for further replies.

onpnt

Programmer
Dec 11, 2001
7,778
US
I have a email that goes out when a backup job fails using the backup_exit_notify command and it seems to have stopped working as it originally was.

when I call the
bperror -S %5 >> %OUTF%
the description no longer is written to the text file.

Has anyone found the same problem of late or does someone see something with that line that is wrong that may have just made the call to the command no stable and my syntax is in error?

It writes the status code out fine and when I do the call in a normal prompt it still outputs the description. just not to a output file.

this is on a windows box.

here is the sec in question
Code:
@echo Technical information of error report >> %OUTF%
@echo CLIENT:    %1 >> %OUTF%
@echo POLICY:    %2 >> %OUTF%
@echo SCHEDULE:  %3 >> %OUTF%
@echo DESCRIPTION >> %OUTF%
E:\VERITAS\NetBackup\bin\admincmd\bperror -S %5 >> %OUTF%

Thanks for the help

___________________________________________________________________

onpnt.com
SELECT * FROM programmers WHERE clue > 0
(0 row(s) affected) -->faq333-3811

 
in case this comes up I had a chance to find the solution and or problem.

the version of the bperror.exe was 4.5 and the version we're on is 5.0

I think it's odd this was slipped in the upgrade but I simply copied my bperror off my laptop (being a client) and pasted it on the server.

fixed!

so the just of it is to check the versions and make sure they match up

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top