Veritas-bu

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

2006-01-10 06:23:03
Subject: [Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished
From: bobbyrjw AT bellsouth DOT net (Bobby Williams)
Date: Tue, 10 Jan 2006 06:23:03 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C615AE.50F3B700
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: 7bit

I don't have any documentation about it.
 
When TrendMicro was implemented, I started getting a lot of "Status 1"
errors at some places where I had never gotten them.  I started chasing them
down.  I notified the admins of some Wintel boxes about some files (I did
not know who they belonged to) and asked them if they were critical to get
restored.  I found out (from the admins) that they were TrendMicro files.  A
support case was opened with TrendMicro about how to back up a system that
had the TrendMicro scanner on it.  TrendMicro came back very quickly and
said that there would not be any way to successfully restore their data from
a NB backup.
 
At that point, I put it in the exclude lists.  It was not anything necessary
for me to pursue any further.
 



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

 

  _____  

From: WEAVER, Simon [mailto:simon.weaver AT astrium.eads DOT net] 
Sent: Tuesday, January 10, 2006 3:45 AM
To: 'bobbyrjw AT bellsouth DOT net'; '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


Bobby
Is there any documentation to support this? Also, did try what Paul said,
and nothing happened :(
Did I miss something? In the scipt it shows NET STOP <name of service>
 
 

Simon Weaver
Technical Support
Windows Domain Administrator 

EADS Astrium
Tel: 02392-708598 

Email: Simon.Weaver AT Astrium.eads DOT net 

-----Original Message-----
From: Bobby Williams [mailto:bobbyrjw AT bellsouth DOT net] 
Sent: 09 January 2006 22:47
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


The below will work.
 
However, Trend Micro told us not to backup their software with netbackup.
It would not restore.
 
We put the Trend Micro directory in our exclude lists.
 



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

 

  _____  

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


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.)
 
The "start" batch file will be run before a backup starts, and the end batch
file will run after the backup completes.
 
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


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.
 
Can I do the same sort of thing in Netbackup?
 
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.
 
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!)
 
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)
 
Can anyone help? Master is Win2k3 and client is Win2k3
 
Thanks
 

Simon Weaver
Technical Support
Windows Domain Administrator 

EADS Astrium
Tel: 02392-708598 

Email: Simon.Weaver AT Astrium.eads DOT net 

 
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
        

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
        

------=_NextPart_000_000C_01C615AE.50F3B700
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.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D656031611-10012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>I don't have any documentation about=20
it.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D656031611-10012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D656031611-10012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>When TrendMicro was implemented, I started =
getting a lot of=20
"Status 1" errors at some places where I had never gotten them.&nbsp; I =
started=20
chasing them down.&nbsp; I notified the admins of some Wintel boxes =
about some=20
files (I did not know who they belonged to) and asked them if they were =
critical=20
to get restored.&nbsp; I found out (from the admins) that they were =
TrendMicro=20
files.&nbsp; A support case was opened with TrendMicro about how to back =
up a=20
system that had the TrendMicro scanner on it.&nbsp; TrendMicro came back =
very=20
quickly and said that there would not be any way to successfully restore =
their=20
data from a NB backup.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D656031611-10012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D656031611-10012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>At that point, I put it in the exclude =
lists.&nbsp; It was=20
not anything necessary for me to pursue any further.</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 =
Williams</FONT></SPAN>=20
<BR><SPAN lang=3Den-us><FONT face=3DArial color=3D#008080 size=3D2>2205 =
Peterson=20
Drive</FONT></SPAN> <BR><SPAN lang=3Den-us><FONT face=3DArial =
color=3D#008080=20
size=3D2>Chattanooga, Tennessee&nbsp; 37421</FONT></SPAN> <BR><SPAN=20
lang=3Den-us><FONT face=3DArial color=3D#008080 =
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> WEAVER, Simon=20
[mailto:simon.weaver AT astrium.eads DOT net] <BR><B>Sent:</B> Tuesday, January 
=
10,=20
2006 3:45 AM<BR><B>To:</B> 'bobbyrjw AT bellsouth DOT net'; '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></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=3D116354408-10012006><FONT face=3DArial color=3D#0000ff =

size=3D2>Bobby</FONT></SPAN></DIV>
<DIV><SPAN class=3D116354408-10012006><FONT face=3DArial color=3D#0000ff =
size=3D2>Is=20
there any documentation to support this? Also, did try what Paul said, =
and=20
nothing happened :(</FONT></SPAN></DIV>
<DIV><SPAN class=3D116354408-10012006><FONT face=3DArial color=3D#0000ff =
size=3D2>Did I=20
miss something? In the scipt it shows NET STOP &lt;name of=20
service&gt;</FONT></SPAN></DIV>
<DIV>&nbsp;</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>
<BLOCKQUOTE dir=3Dltr style=3D"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> 09 January 2006=20
  22:47<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>
<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 use,=20
      retain, disseminate or otherwise deal with it.<BR>Please notify =
the sender=20
      by return email.<BR>The views of the author may not necessarily =
constitute=20
      the views of EADS Astrium Limited.<BR>Nothing in this email shall =
bind=20
      EADS Astrium Limited in any contract or obligation.<BR><BR>EADS =
Astrium=20
      Limited, Registered in England and Wales No. 2449259<BR>Registered =
Office:=20
      Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,=20
  England<BR></FONT></TD></TR></TBODY></TABLE></BODY></HTML>

------=_NextPart_000_000C_01C615AE.50F3B700--