Veritas-bu

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

2006-01-10 08:31:06
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: Tue, 10 Jan 2006 08:31:06 -0500
This is a multi-part message in MIME format.

------_=_NextPart_001_01C615EA.1C1C2840
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

told you not to back it up hot, I would imagine....like a database.
No reason you can't back it up and restore it if you stop the service
while you're running the backup.....
=20
Paul

        -----Original Message-----
        From: Bobby Williams [mailto:bobbyrjw AT bellsouth DOT net]=20
        Sent: January 9, 2006 5:47 PM
        To: Paul Keating; veritas-bu AT mailman.eng.auburn DOT edu
        Subject: RE: [Veritas-bu] Win21k script to stop AV service
during backup & restart when fin ished
=09
=09
        The below will work.
        =20
        However, Trend Micro told us not to backup their software with
netbackup.  It would not restore.
        =20
        We put the Trend Micro directory in our exclude lists.
        =20



        Bobby Williams=20
        2205 Peterson Drive=20
        Chattanooga, Tennessee  37421=20
        423-296-8200=20

        =20

  _____ =20

        From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Paul
Keating
        Sent: Monday, January 09, 2006 9:09 AM
        To: veritas-bu AT mailman.eng.auburn DOT edu
        Subject: RE: [Veritas-bu] Win21k script to stop AV service
during backup & restart when fin ished
=09
=09
        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_01C615EA.1C1C2840
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=3D832113013-10012006><FONT face=3DArial color=3D#800000 =
size=3D2>told=20
you not to back it up hot, I would imagine....like a=20
database.</FONT></SPAN></DIV>
<DIV><SPAN class=3D832113013-10012006><FONT face=3DArial color=3D#800000 =
size=3D2>No=20
reason you can't back it up and restore it if you stop the service while =
you're=20
running the backup.....</FONT></SPAN></DIV>
<DIV><SPAN class=3D832113013-10012006><FONT face=3DArial color=3D#800000 =

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

size=3D2>Paul</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=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> =
Bobby Williams=20
  [mailto:bobbyrjw AT bellsouth DOT net] <BR><B>Sent:</B> January 9, 2006 
5:47=20
  PM<BR><B>To:</B> Paul Keating;=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] =
Win21k=20
  script to stop AV service during backup &amp; restart when fin=20
  ished<BR><BR></FONT></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D515594522-09012006><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>The below will work.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D515594522-09012006><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D515594522-09012006><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>However, Trend Micro told us not to backup =
their software=20
  with netbackup.&nbsp; It would not restore.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D515594522-09012006><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D515594522-09012006><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>We&nbsp;put the Trend Micro directory in our =
exclude=20
  lists.</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><!-- Converted from text/rtf format --><BR><BR>
  <P><SPAN lang=3Den-us><FONT face=3DArial color=3D#000080>Bobby=20
  Williams</FONT></SPAN> <BR><SPAN lang=3Den-us><FONT face=3DArial =
color=3D#008080=20
  size=3D2>2205 Peterson Drive</FONT></SPAN> <BR><SPAN =
lang=3Den-us><FONT face=3DArial=20
  color=3D#008080 size=3D2>Chattanooga, Tennessee&nbsp; =
37421</FONT></SPAN>=20
  <BR><SPAN lang=3Den-us><FONT face=3DArial color=3D#008080=20
  size=3D2>423-296-8200</FONT></SPAN> </P>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> =
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>Paul=20
  Keating<BR><B>Sent:</B> Monday, January 09, 2006 9:09 AM<BR><B>To:</B> =

  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] =
Win21k=20
  script to stop AV service during backup &amp; restart when fin=20
  ished<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><SPAN class=3D189180714-09012006><FONT face=3DArial =
color=3D#800000=20
  size=3D2>Create a file called bpstart_notify.bat, and bpend_notify.bat =
in=20
  C:\program 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=20
  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=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D189180714-09012006><FONT face=3DArial =
color=3D#800000=20
  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=20
    was able to produce a small .cmd script to stop services for =
applications=20
    that was having trouble being written to while a backup was=20
    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=20
    same 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=20
    unable to get Netbackup to backup!! the files are either reporting =
access=20
    denied or 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=20
    the 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 size=3D2>Technical Support</FONT></B><FONT=20
    face=3DArial><BR></FONT><B><FONT face=3DArial color=3D#0000ff =
size=3D2>Windows=20
    Domain Administrator</FONT></B><FONT 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=20
          the sender by return email.<BR>The views of the author may not =

          necessarily constitute the views of EADS Astrium =
Limited.<BR>Nothing=20
          in this email shall bind EADS Astrium Limited in any contract =
or=20
          obligation.<BR><BR>EADS Astrium Limited, Registered in England =
and=20
          Wales No. 2449259<BR>Registered Office: Gunnels Wood Road, =
Stevenage,=20
          Hertfordshire, SG1 2AS,=20
  =
England<BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BLOCKQUOTE></B=
ODY></HTML>
=00
------_=_NextPart_001_01C615EA.1C1C2840--