Veritas-bu

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

2006-01-11 02:13: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: Wed, 11 Jan 2006 07:13: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_01C6167E.788FFAF0
Content-Type: text/plain


Hi All
Ok I got the script to work, which is great - only one problem I see - the
client has multiple paritions and is being backed up using ALL LOCAL DRIVES
- although the services stop fine, it appears that as soon as one of the
stream finishes, the services are bought back up, therefore when it comes to
backing up the partition where Trend lives, the files are being skipped!
 
I could use a sleep command to delay things, but is there a command to add
to tell NBU to use the script when the final stream ends?
 
Thanks
 
 

Simon Weaver
Technical Support
Windows Domain Administrator 

EADS Astrium
Tel: 02392-708598 

Email: Simon.Weaver AT Astrium.eads DOT net 

-----Original Message-----
From: Paul Keating [mailto:pkeating AT bank-banque-canada DOT ca] 
Sent: 10 January 2006 13:37
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


I've done it both ways.....called an external script and/or commands in the
bpstart_notify.bat.
 
put some debug commands in the script, simple logging stuff, then make sure
the commands i the script work if you run them at the CLI, then verify that
you can run the bpstart_notify.bat from the CLI.
 
Paul

-----Original Message-----
From: WEAVER, Simon [mailto:simon.weaver AT astrium.eads DOT net] 
Sent: January 10, 2006 7:07 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


Thanks Bob apprecaited!
Now, I am still unable to get this script to work - can anyone tell me if I
am doing it right or wrong?
 
Am I right to place the command to stop the services in this file or should
I be telling this file to run C:\stop.bat or something?
 
Any help really apprecaited - sysadmin guide doesnt give a clear definition
on this, but it has to work?



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_01C6167E.788FFAF0
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=890331107-11012006><FONT face=Arial color=#0000ff size=2>Hi 
All</FONT></SPAN></DIV>
<DIV><SPAN class=890331107-11012006><FONT face=Arial color=#0000ff size=2>Ok I 
got the script to work, which is great - only one problem I see - the client 
has 
multiple paritions and is being backed up using ALL LOCAL DRIVES - although the 
services stop fine, it appears that as soon as one of the stream finishes, the 
services are bought back up, therefore when it comes to backing up the 
partition 
where Trend lives, the files are being skipped!</FONT></SPAN></DIV>
<DIV><SPAN class=890331107-11012006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=890331107-11012006><FONT face=Arial color=#0000ff size=2>I 
could use a sleep command to delay things, but is there a command to add to 
tell 
NBU to use the script when the final stream ends?</FONT></SPAN></DIV>
<DIV><SPAN class=890331107-11012006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=890331107-11012006><FONT face=Arial color=#0000ff 
size=2>Thanks</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> Paul Keating 
  [mailto:pkeating AT bank-banque-canada DOT ca] <BR><B>Sent:</B> 10 January 
2006 
  13:37<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><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#800000 size=2><SPAN 
class=363573413-10012006>I've 
  done it both ways.....called an external script and/or commands in the 
  bpstart_notify.bat.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#800000 size=2><SPAN 
  class=363573413-10012006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#800000 size=2><SPAN class=363573413-10012006>put 
  some debug commands in the script, simple logging stuff, then make sure the 
  commands i the script work if you run them at the CLI, then verify that you 
  can run the bpstart_notify.bat from the CLI.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial color=#800000 size=2><SPAN 
  class=363573413-10012006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial color=#800000 size=2><SPAN 
  class=363573413-10012006>Paul</SPAN></FONT></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> WEAVER, Simon 
    [mailto:simon.weaver AT astrium.eads DOT net] <BR><B>Sent:</B> January 10, 
2006 
    7:07 AM<BR><B>To:</B> 'bobbyrjw AT bellsouth DOT net'; 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><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
    size=2>Thanks Bob apprecaited!</FONT></SPAN></DIV>
    <DIV><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
    size=2>Now, I am still unable to get this script to work - can anyone tell 
    me if I am doing it right or wrong?</FONT></SPAN></DIV>
    <DIV><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
size=2>Am 
    I right to place the command to stop the services in this file or should I 
    be telling this file to run C:\stop.bat or something?</FONT></SPAN></DIV>
    <DIV><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=213250512-10012006><FONT face=Arial color=#0000ff 
    size=2>Any help really apprecaited - sysadmin guide doesnt give a clear 
    definition on this, but it has to 
work?</FONT></SPAN></DIV></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_01C6167E.788FFAF0--