Veritas-bu

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

2006-01-10 03:45:07
Subject: [Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished
From: simon.weaver AT astrium.eads DOT net (WEAVER, Simon)
Date: Tue, 10 Jan 2006 08:45:07 -0000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C615C2.289A5700
Content-Type: text/plain


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_001_01C615C2.289A5700
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=116354408-10012006><FONT face=Arial color=#0000ff 
size=2>Bobby</FONT></SPAN></DIV>
<DIV><SPAN class=116354408-10012006><FONT face=Arial color=#0000ff size=2>Is 
there any documentation to support this? Also, did try what Paul said, and 
nothing happened :(</FONT></SPAN></DIV>
<DIV><SPAN class=116354408-10012006><FONT face=Arial color=#0000ff size=2>Did I 
miss something? In the scipt it shows NET STOP &lt;name of 
service&gt;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-gb><B><FONT face=Arial color=#0000ff size=2>Simon 
Weaver</FONT></B><FONT face=Arial><BR></FONT><B><FONT face=Arial color=#0000ff 
size=2>Technical Support</FONT></B><FONT face=Arial><BR></FONT><B><FONT 
face=Arial color=#0000ff size=2>Windows Domain Administrator</FONT></B><FONT 
face=Arial> </FONT></SPAN></P>
<P><SPAN lang=en-gb><B><I><FONT face=Arial size=2>EADS 
Astrium</FONT></I></B><I></I><FONT face=Arial><BR></FONT><B></B><B><I><FONT 
face=Arial size=2>Tel: 02392-70</FONT><FONT face=Arial 
size=2>8598</FONT></I></B><I></I><FONT face=Arial> </FONT></SPAN></P>
<P><SPAN lang=en-gb><B><FONT face=Arial color=#ff0000 size=2>Email: 
Simon.Weaver AT Astrium.eads DOT net</FONT></B><FONT face=Arial> 
</FONT></SPAN></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Bobby Williams 
  [mailto:bobbyrjw AT bellsouth DOT net] <BR><B>Sent:</B> 09 January 2006 
  22:47<BR><B>To:</B> 'Paul Keating'; 
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: [Veritas-bu] 
Win21k 
  script to stop AV service during backup &amp; restart when fin 
  ished<BR><BR></FONT></DIV>
  <DIV dir=ltr align=left><SPAN class=515594522-09012006><FONT face=Arial 
  color=#0000ff size=2>The below will work.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=515594522-09012006><FONT face=Arial 
  color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=515594522-09012006><FONT face=Arial 
  color=#0000ff size=2>However, Trend Micro told us not to backup their 
software 
  with netbackup.&nbsp; It would not restore.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=515594522-09012006><FONT face=Arial 
  color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=515594522-09012006><FONT face=Arial 
  color=#0000ff size=2>We&nbsp;put the Trend Micro directory in our exclude 
  lists.</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><!-- Converted from text/rtf format --><BR><BR>
  <P><SPAN lang=en-us><FONT face=Arial color=#000080>Bobby 
  Williams</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#008080 
  size=2>2205 Peterson Drive</FONT></SPAN> <BR><SPAN lang=en-us><FONT 
face=Arial 
  color=#008080 size=2>Chattanooga, Tennessee&nbsp; 37421</FONT></SPAN> 
  <BR><SPAN lang=en-us><FONT face=Arial color=#008080 
  size=2>423-296-8200</FONT></SPAN> </P>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> veritas-bu-admin AT mailman.eng.auburn 
DOT edu 
  [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of 
</B>Paul 
  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 
  script to stop AV service during backup &amp; restart when fin 
  ished<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><SPAN class=189180714-09012006><FONT face=Arial color=#800000 
  size=2>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.)</FONT></SPAN></DIV>
  <DIV><SPAN class=189180714-09012006><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=189180714-09012006><FONT face=Arial color=#800000 size=2>The 
  "start" batch file will be run before a backup starts, and the end batch file 
  will run after&nbsp;the backup completes.</FONT></SPAN></DIV>
  <DIV><SPAN class=189180714-09012006><FONT face=Arial color=#800000 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=189180714-09012006><FONT face=Arial color=#800000 
  size=2>Paul</FONT></SPAN></DIV>
  <BLOCKQUOTE 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px solid; 
MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
    veritas-bu-admin AT mailman.eng.auburn DOT edu 
    [mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of 
</B>WEAVER, 
    Simon<BR><B>Sent:</B> January 9, 2006 8:59 AM<BR><B>To:</B> 
    veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] 
Win21k 
    script to stop AV service during backup &amp; restart when fin 
    ished<BR><BR></FONT></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2>Guys</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>Can I do the 
    same sort of thing in Netbackup?</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>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!)</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>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)</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial size=2>Can anyone 
help? 
    Master is Win2k3 and client is Win2k3</FONT></SPAN></DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=022585513-09012006><FONT face=Arial 
    size=2>Thanks</FONT></SPAN></DIV>
    <DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
    <P><SPAN lang=en-gb><B><FONT face=Arial color=#0000ff size=2>Simon 
    Weaver</FONT></B><FONT face=Arial><BR></FONT><B><FONT face=Arial 
    color=#0000ff size=2>Technical Support</FONT></B><FONT 
    face=Arial><BR></FONT><B><FONT face=Arial color=#0000ff size=2>Windows 
    Domain Administrator</FONT></B><FONT face=Arial> </FONT></SPAN></P>
    <P><SPAN lang=en-gb><B><I><FONT face=Arial size=2>EADS 
    Astrium</FONT></I></B><I></I><FONT face=Arial><BR></FONT><B></B><B><I><FONT 
    face=Arial size=2>Tel: 02392-70</FONT><FONT face=Arial 
    size=2>8598</FONT></I></B><I></I><FONT face=Arial> </FONT></SPAN></P>
    <P><SPAN lang=en-gb><B><FONT face=Arial color=#ff0000 size=2>Email: 
    Simon.Weaver AT Astrium.eads DOT net</FONT></B><FONT face=Arial> 
</FONT></SPAN></P>
    <DIV>&nbsp;</DIV>
    <TABLE>
      <TBODY>
      <TR>
        <TD bgColor=#ffffff><FONT color=#000000>This email is for the intended 
          addressee only.<BR>If you have received it in error then you must not 
          use, retain, disseminate or otherwise deal with it.<BR>Please notify 
          the sender by return email.<BR>The views of the author may not 
          necessarily constitute the views of EADS Astrium Limited.<BR>Nothing 
          in this email shall bind EADS Astrium Limited in any contract or 
          obligation.<BR><BR>EADS Astrium Limited, Registered in England and 
          Wales No. 2449259<BR>Registered Office: Gunnels Wood Road, Stevenage, 
          Hertfordshire, SG1 2AS, 
  
England<BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>This email is for the 
intended addressee only.<br>
If you have received it in error then you must not use, retain, disseminate or 
otherwise deal with it.<br>
Please notify the sender by return email.<br>
The views of the author may not necessarily constitute the views of EADS 
Astrium Limited.<br>
Nothing in this email shall bind EADS Astrium Limited in any contract or 
obligation.<br>
<br>
EADS Astrium Limited, Registered in England and Wales No. 2449259<br>
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, 
England<br>
</font></td></tr></table>
------_=_NextPart_001_01C615C2.289A5700--