Veritas-bu

[Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished

2006-01-09 09:08:52
Subject: [Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished
From: pkeating AT bank-banque-canada DOT ca (Paul Keating)
Date: Mon, 9 Jan 2006 09:08:52 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C61526.384A4936
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Create a file called bpstart_notify.bat, and bpend_notify.bat in
C:\program files\veritas\netbackup\bin (or wherever your netbackup
client is installed.)
=20
The "start" batch file will be run before a backup starts, and the end
batch file will run after the backup completes.
=20
Paul

        -----Original Message-----
        From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of WEAVER,
Simon
        Sent: January 9, 2006 8:59 AM
        To: veritas-bu AT mailman.eng.auburn DOT edu
        Subject: [Veritas-bu] Win21k script to stop AV service during
backup & restart when fin ished
=09
=09
        Guys
        In Arcserve, I was able to produce a small .cmd script to stop
services for applications that was having trouble being written to while
a backup was run.
        =20
        Can I do the same sort of thing in Netbackup?
        =20
        My problem is this; there is an application called TREND MICRO
that I just seem to be unable to get Netbackup to backup!! the files are
either reporting access denied or in use by another process.
        =20
        I have not tried VSS yet, as this in itself has been very
problematic (if anyone has suggestions on VSS in Netbackup, would love
to share ideas on this!)
        =20
        So I thought I would look at stopping the service while the
backup runs and then re-start the service when the backup completes,
regardless of its status (ie 0,1,196 ect)
        =20
        Can anyone help? Master is Win2k3 and client is Win2k3
        =20
        Thanks
        =20

        Simon Weaver
        Technical Support
        Windows Domain Administrator=20

        EADS Astrium
        Tel: 02392-708598=20

        Email: Simon.Weaver AT Astrium.eads DOT net=20

        =20
This email is for the intended addressee only.
If you have received it in error then you must not use, retain,
disseminate or otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or
obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,
England
=09


------_=_NextPart_001_01C61526.384A4936
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D189180714-09012006><FONT face=3DArial color=3D#800000 =
size=3D2>Create=20
a file called bpstart_notify.bat, and bpend_notify.bat in C:\program=20
files\veritas\netbackup\bin (or wherever your netbackup client is=20
installed.)</FONT></SPAN></DIV>
<DIV><SPAN class=3D189180714-09012006><FONT face=3DArial color=3D#800000 =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D189180714-09012006><FONT face=3DArial color=3D#800000 =
size=3D2>The=20
"start" batch file will be run before a backup starts, and the end batch =
file=20
will run after&nbsp;the backup completes.</FONT></SPAN></DIV>
<DIV><SPAN class=3D189180714-09012006><FONT face=3DArial color=3D#800000 =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D189180714-09012006><FONT face=3DArial color=3D#800000 =

size=3D2>Paul</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
  veritas-bu-admin AT mailman.eng.auburn DOT edu=20
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of =
</B>WEAVER,=20
  Simon<BR><B>Sent:</B> January 9, 2006 8:59 AM<BR><B>To:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] =
Win21k=20
  script to stop AV service during backup &amp; restart when fin=20
  ished<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2>Guys</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>In =
Arcserve, I was=20
  able to produce a small .cmd script to stop services for applications =
that was=20
  having trouble being written to while a backup was =
run.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>Can =
I do the same=20
  sort of thing in Netbackup?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>My =
problem is=20
  this; there is an application called TREND MICRO that I just seem to =
be unable=20
  to get Netbackup to backup!! the files are either reporting access =
denied or=20
  in use by another process.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>I =
have not tried=20
  VSS yet, as this in itself has been very problematic (if anyone has=20
  suggestions on VSS in Netbackup, would love to share ideas on=20
  this!)</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>So I =
thought I=20
  would look at stopping the service while the backup runs and then =
re-start the=20
  service when the backup completes, regardless of its status (ie =
0,1,196=20
  ect)</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial size=3D2>Can =
anyone help?=20
  Master is Win2k3 and client is Win2k3</FONT></SPAN></DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D022585513-09012006><FONT face=3DArial=20
  size=3D2>Thanks</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
  <P><SPAN lang=3Den-gb><B><FONT face=3DArial color=3D#0000ff =
size=3D2>Simon=20
  Weaver</FONT></B><FONT face=3DArial><BR></FONT><B><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Technical Support</FONT></B><FONT =
face=3DArial><BR></FONT><B><FONT=20
  face=3DArial color=3D#0000ff size=3D2>Windows Domain =
Administrator</FONT></B><FONT=20
  face=3DArial> </FONT></SPAN></P>
  <P><SPAN lang=3Den-gb><B><I><FONT face=3DArial size=3D2>EADS=20
  Astrium</FONT></I></B><I></I><FONT =
face=3DArial><BR></FONT><B></B><B><I><FONT=20
  face=3DArial size=3D2>Tel: 02392-70</FONT><FONT face=3DArial=20
  size=3D2>8598</FONT></I></B><I></I><FONT face=3DArial> =
</FONT></SPAN></P>
  <P><SPAN lang=3Den-gb><B><FONT face=3DArial color=3D#ff0000 =
size=3D2>Email:=20
  Simon.Weaver AT Astrium.eads DOT net</FONT></B><FONT face=3DArial> =
</FONT></SPAN></P>
  <DIV>&nbsp;</DIV>
  <TABLE>
    <TBODY>
    <TR>
      <TD bgColor=3D#ffffff><FONT color=3D#000000>This email is for the =
intended=20
        addressee only.<BR>If you have received it in error then you =
must not=20
        use, retain, disseminate or otherwise deal with it.<BR>Please =
notify the=20
        sender by return email.<BR>The views of the author may not =
necessarily=20
        constitute the views of EADS Astrium Limited.<BR>Nothing in this =
email=20
        shall bind EADS Astrium Limited in any contract or=20
        obligation.<BR><BR>EADS Astrium Limited, Registered in England =
and Wales=20
        No. 2449259<BR>Registered Office: Gunnels Wood Road, Stevenage,=20
        Hertfordshire, SG1 2AS,=20
England<BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C61526.384A4936--