Veritas-bu

[Veritas-bu] bpstart_notify

2001-10-31 13:50:46
Subject: [Veritas-bu] bpstart_notify
From: dcaparas AT borland DOT com (Dennis Caparas)
Date: Wed, 31 Oct 2001 10:50:46 -0800
--Boundary_(ID_fhXSskMjTGRcON/2AHHEnQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hi Admins,

Please pardon me for asking this elementary question, I'm just not that
good in scripting.
I am trying to configure my bpstart_notify script to execute a command
before the backup and I want to capture the output of that command and
sent to me by email. I put the command in the last part of the script
....

.......
......
 cat $OUTF | mailx -s "NetBackup backup started" dcaparas AT borland DOT com
        #
        # CAUTION:  some platforms do not allow the -s parameter on mail

        #
fi
/apps/iw-home/bin/iwfreeze >> $OUTF  2>&1
exit 0

Any suggestions? Thanks in advance.

--
Victor "Dennis" N. Caparas
Unix Systems Administrator
Borland Software Corporation
Direct (831)431-1467
Fax (831) 431-4144
Email dcaparas AT borland DOT com


--Boundary_(ID_fhXSskMjTGRcON/2AHHEnQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Admins,
<p>Please pardon me for asking this elementary question, I'm just not that
good in scripting.
<br>I am trying to configure my bpstart_notify script to execute a command
before the backup and I want to capture the output of that command and
sent to me by email. I put the command in the last part of the script ....
<p>.......
<br>......
<br>&nbsp;<i><font color="#3333FF">cat $OUTF | mailx -s "NetBackup backup
started" dcaparas AT borland DOT com</font></i>
<br><i><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#</font></i>
<br><i><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
# CAUTION:&nbsp; some platforms do not allow the -s parameter on mail</font></i>
<br><i><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
#</font></i>
<br><i><font color="#3333FF">fi</font></i>
<br><i><font color="#3333FF">/apps/iw-home/bin/iwfreeze >> $OUTF&nbsp;
2>&amp;1</font></i>
<br><i><font color="#3333FF">exit 0</font></i><i><font 
color="#3333FF"></font></i>
<p><font color="#000000">Any suggestions? Thanks in advance.</font>
<p>--
<br>Victor "Dennis" N. Caparas
<br>Unix Systems Administrator
<br>Borland Software Corporation
<br>Direct (831)431-1467
<br>Fax (831) 431-4144
<br>Email dcaparas AT borland DOT com
<br>&nbsp;</html>

--Boundary_(ID_fhXSskMjTGRcON/2AHHEnQ)--

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