Veritas-bu

[Veritas-bu] bpstart_notify

2001-10-31 14:10:59
Subject: [Veritas-bu] bpstart_notify
From: dcaparas AT borland DOT com (Dennis Caparas)
Date: Wed, 31 Oct 2001 11:10:59 -0800
I'll do that. Thanks!

"Schroen, Christopher C Mr IMCEN/CEXEC" wrote:

> You're on the right track!  Just put the /apps/iw-home/bin/freeze command
> before the cat $OUTF | mail line, and it'll work just fine.
>
> Happy scripting!
>
> ========================================
> Christopher Schroen
> UNIX System Administrator
> HQDA Tracking System
> IMCEN/CEXEC Pentagon
> tel +1 703 697 3362
> pager +1 703 826 6860
> mailto:christopher.schroen AT hqda.army DOT mil
> -----Original Message-----
> From: Dennis Caparas [mailto:dcaparas AT borland DOT com]
> Sent: Wednesday, October 31, 2001 1:51 PM
> To: NB Newsgroup
> Subject: [Veritas-bu] bpstart_notify
>
> 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
>

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



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