Veritas-bu

[Veritas-bu] Backup process status

2002-07-11 12:11:23
Subject: [Veritas-bu] Backup process status
From: david AT datastaff DOT com (David A. Chapa)
Date: Thu, 11 Jul 2002 11:11:23 -0500
This is a multi-part message in MIME format.

------=_NextPart_000_00AC_01C228CB.B1600F90
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Backup process statusOne of the ways is:

if the remote workstation is a W2K box running the Windows Administrative
Client for Netbackup, you can use bpdbjobs

%VrtsHome%\netbackup\bin\admincmd\bpdbjobs -report

Unless you have a unix shell on that box you will have to find some way to
process the output to get exactly what you want.

I use MKSToolkit so I can from my W2K machine  pipe the command to grep,
etc.

bpdbjobs -report | grep Active | awk '{print "Client Name " $7}'

David
<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.datastaff.com
847 413 1144
---------------------------------------
http://www.NetBackupcentral.com

  -----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 Moses, Darby
  Sent: Thursday, July 11, 2002 10:39 AM
  To: 'veritas-bu AT mailman.eng.auburn DOT edu'
  Subject: [Veritas-bu] Backup process status


  How can I from a remote workstation from a command-line detect if one of
my windows2k servers is in the process of being backed up?  I am trying to
automate a restart schedule for my datacenter and I don't want to put in
static times for restarts.  I think it makes more sense to check if a server
is currently being backed up before issuing a restart.

  Thanks,
  Darby Moses
  Operations
  Leviton mfg.


------=_NextPart_000_00AC_01C228CB.B1600F90
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Backup process status</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =
size=3D2>One of=20
the ways is:</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =
size=3D2>if the=20
remote workstation is a W2K box running the Windows Administrative =
Client for=20
Netbackup, you can use bpdbjobs</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2>%VrtsHome%\netbackup\bin\admincmd\bpdbjobs =
-report</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =
size=3D2>Unless=20
you have a unix shell on that box you will have to find some way to =
process the=20
output to get exactly what you want.</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =
size=3D2>I use=20
MKSToolkit so I can from my W2K machine&nbsp; pipe the command to grep,=20
etc.</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2>bpdbjobs -report | grep Active | awk '{print "Client Name "=20
$7}'</FONT></SPAN></DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D438240516-11072002><FONT face=3DArial color=3D#0000ff =

size=3D2>David</FONT></SPAN></DIV>
<P><FONT=20
size=3D2>&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;=
&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&=
lt;&gt;&lt;&gt;&lt;&gt;<BR>David=20
A. Chapa<BR>NetBackup Consultant<BR>DataStaff, Inc.<BR><A=20
href=3D"http://www.datastaff.com/"=20
target=3D_blank>http://www.datastaff.com</A><BR>847 413=20
1144<BR>---------------------------------------<BR><A=20
href=3D"http://www.netbackupcentral.com/"=20
target=3D_blank>http://www.NetBackupcentral.com</A></FONT> </P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  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>Moses,=20
  Darby<BR><B>Sent:</B> Thursday, July 11, 2002 10:39 AM<BR><B>To:</B>=20
  'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> [Veritas-bu] =
Backup=20
  process status<BR><BR></FONT></DIV>
  <P><FONT face=3DArial size=3D2>How can I from a remote workstation =
from a=20
  command-line detect if one of my windows2k servers is in the process =
of being=20
  backed up?&nbsp; I am trying to automate a restart schedule for my =
datacenter=20
  and I don't want to put in static times for restarts.&nbsp; I think it =
makes=20
  more sense to check if a server is currently being backed up before =
issuing a=20
  restart.</FONT></P>
  <P><FONT face=3DArial size=3D2>Thanks,</FONT> <BR><FONT face=3DArial =
size=3D2>Darby=20
  Moses</FONT> <BR><FONT face=3DArial size=3D2>Operations</FONT> =
<BR><FONT=20
  face=3DArial size=3D2>Leviton mfg.</FONT> =
</P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00AC_01C228CB.B1600F90--


<Prev in Thread] Current Thread [Next in Thread>