How to get Arcserve preflight check to send emails on failure only ?
Posted on 2007-12-03
I'm wanting to use the Arcserver pre flight check (pfc.exe) command to see if there is media in the tape drive at 1600 so that if not, the users can load the daily backup tape before whilst someone is still in the office.
If I run the command:
D:\Program Files\CA\BrightStor ARCserve Backup>pfc -cahost ts01 -alert -n -mediachecks 00000002.job
It sends the email with an attachment that has the output from the command that was run.
What I would like to do is to only send an email when there is an error. This means that the user will only get an email if the tape check fails and then they have to do something. This will also line up with the way the other backup system they have in place works (ie. it only emails if the check fails).
If it sends an email everytime regardless of outcome, then I suspect the emails wil get ignored after a few weeks, especially as the attachment needs to be opened before they can see the result of the test.