[Veritas-bu] bpstart_notify
2001-10-31 13:50:46
--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> <i><font color="#3333FF">cat $OUTF | mailx -s "NetBackup backup
started" dcaparas AT borland DOT com</font></i>
<br><i><font color="#3333FF">
#</font></i>
<br><i><font color="#3333FF">
# CAUTION: some platforms do not allow the -s parameter on mail</font></i>
<br><i><font color="#3333FF">
#</font></i>
<br><i><font color="#3333FF">fi</font></i>
<br><i><font color="#3333FF">/apps/iw-home/bin/iwfreeze >> $OUTF
2>&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> </html>
--Boundary_(ID_fhXSskMjTGRcON/2AHHEnQ)--
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Veritas-bu] bpstart_notify,
Dennis Caparas <=
|
|
|