Veritas-bu

[Veritas-bu] When is the Backup metadata updated into the NetBackup DataBase

2004-01-29 09:51:18
Subject: [Veritas-bu] When is the Backup metadata updated into the NetBackup DataBase
From: Robert_Thelen AT bankone DOT com (Robert_Thelen AT bankone DOT com)
Date: Thu, 29 Jan 2004 08:51:18 -0600
This is a multi-part message in MIME format.

------_=_NextPart_001_01C3E677.5A35A94E
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This is interesting behavior ... =20
=20
I have a script that I wrote that performs a backup (bpbackup -i -w).  At t=
he end of the backup, I trap the status and if the backup is not a failure =
I then run bplist and I get all of the data in the backup.  This is similar=
 to what you are trying to do - immediately after a backup run bplist.
=20
I would guess that NetBackup has not considered the backup to be finished y=
et until after the bpend.notify script finishes running.  The metadata is s=
ent to NetBackup from the media server as each file is backed up.  The data=
 is in the image file, but if NetBackup does not think that the backup is c=
ompleted yet, then it should say that there are no images found for the dat=
e range.
=20
Since I am not using the bpend.notify script, when my bplist runs it is bei=
ng run against a completed image.
=20
Rob Thelen=20
Storage Management=20
Bank One Card Services.=20

-----Original Message-----
From: Andrew Wilkin [mailto:Andrew.Wilkin AT lands.nsw.gov DOT au]
Sent: Wednesday, January 28, 2004 11:20 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] When is the Backup metadata updated into the NetBacku=
p DataBase


Hi,
=20
I would like to know when the metadata collected during a Backup it is actu=
ally put into NetBackup's DataBase. I'm running a 'verify' on a backed-up f=
ilesystem using "bplist", this is executed from the bpend script. However, =
when it ran at the completion of the backup no data was returned. I ran the=
 same bplist cmd  when I got to work this morning (some time after the comp=
letion of this backup), and was presented with the files backed-up.=20
=20
So instead of running the bplist straight after the conclusion of the backu=
p I shall need to wait some period of time. (For the metadata to get into t=
he NetBackup database), does anyone know how long to wait?
=20
Thanks

Regards=20

Andrew Wilkin
Computer Systems Analyst=20

Department of Lands
Panorama Ave
BATHURST, NSW, 2795, AUSTRALIA=20

Ph: (02) 6332 8397
Fx: (02) 6332 8457
E-mail: Andrew.Wilkin AT lands.nsw.gov DOT au
WEB: www.lpi.nsw.gov.au < http://www.lpi.nsw.gov.au <http://www.lpi.nsw.gov=
.au/> >=20

=20





***************************************************************
This message is intended for the addressee named and=20
may contain confidential information. If you are not the=20
intended recipient, please delete it and notify the sender.=20
Views expressed in this message are those of the=20
individual sender, and are not necessarily the views of=20
the Department of Lands.

This email message has been swept by MIMEsweeper=20
for the presence of computer viruses.
***************************************************************




**********************************************************************
This transmission may contain information that is privileged, confidential =
and/or exempt from disclosure under applicable law. If you are not the inte=
nded recipient, you are hereby notified that any disclosure, copying, distr=
ibution, or use of the information contained herein (including any reliance=
 thereon) is STRICTLY PROHIBITED. If you received this transmission in erro=
r, please immediately contact the sender and destroy the material in its en=
tirety, whether in electronic or hard copy format. Thank you
**********************************************************************


------_=_NextPart_001_01C3E677.5A35A94E
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>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">


<META content=3D"MSHTML 5.50.4934.1600" name=3DGENERATOR></HEAD>
<BODY style=3D"COLOR: #000000; FONT-FAMILY: Arial" hb_focus_attach=3D"true">
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2>This is interesting be=
havior=20
...&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2></FONT></SPAN>&nbsp;</=
DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2>I have a script that I=
 wrote=20
that performs a backup (bpbackup -i -w).&nbsp; At the end of the backup, I =
trap=20
the status and if the backup is not a failure I then run bplist and I get a=
ll of=20
the data in the backup.&nbsp; This is similar to what you are trying to do =
-=20
immediately after a backup run bplist.</FONT></SPAN></DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2></FONT></SPAN>&nbsp;</=
DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2>I would guess that Net=
Backup=20
has not considered the backup to be finished yet until after the bpend.noti=
fy=20
script finishes running.&nbsp; The metadata is sent to NetBackup from the m=
edia=20
server as each file is backed up.&nbsp; The data is in the image file, but =
if=20
NetBackup does not think that the backup is completed yet, then it should s=
ay=20
that there are no images found for the date range.</FONT></SPAN></DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2></FONT></SPAN>&nbsp;</=
DIV>
<DIV><SPAN class=3D867314614-29012004><FONT size=3D2>Since I am not using t=
he=20
bpend.notify script, when my bplist runs it is being run against a complete=
d=20
image.</FONT></SPAN></DIV>
<DIV><SPAN class=3D867314614-29012004><FONT face=3D"Cooper Black" color=3D#=
000080=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D867314614-29012004><FONT face=3D"Cooper Black" color=3D#=
000080=20
size=3D2>Rob Thelen</FONT> <BR><FONT face=3DPerpetua color=3D#0000ff size=
=3D2>Storage=20
Management</FONT> <BR><FONT face=3DPerpetua color=3D#0000ff size=3D2>Bank O=
ne Card=20
Services.</FONT> </DIV></SPAN>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT face=3DTah=
oma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Andrew Wilkin=20
  [mailto:Andrew.Wilkin AT lands.nsw.gov DOT au]<BR><B>Sent:</B> Wednesday, 
Januar=
y 28,=20
  2004 11:20 PM<BR><B>To:</B>=20
  veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> [Veritas-bu] When 
is=
 the=20
  Backup metadata updated into the NetBackup DataBase<BR><BR></FONT></DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004>Hi,</SPAN></FONT></D=
IV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004></SPAN></FONT>&nbsp;=
</DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004>I would like to know=
 when the=20
  metadata collected during a Backup it is actually put into NetBackup's=20
  DataBase. I'm running a 'verify' on a backed-up filesystem using "bplist"=
,=20
  this is executed from the bpend script. However, when it ran at the compl=
etion=20
  of the backup no data was returned. I ran the same bplist cmd&nbsp; when =
I got=20
  to work this morning (some time after the completion of this backup), and=
 was=20
  presented with the files backed-up. </SPAN></FONT></DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004></SPAN></FONT>&nbsp;=
</DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004>So instead of runnin=
g the=20
  bplist straight after the conclusion of the backup I shall need to wait s=
ome=20
  period of time. (For the metadata to get into the NetBackup database), do=
es=20
  anyone know how long to wait?</SPAN></FONT></DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004></SPAN></FONT>&nbsp;=
</DIV>
  <DIV><FONT size=3D2><SPAN class=3D586450305-29012004>Thanks</SPAN></FONT>=
</DIV>
  <P><FONT size=3D2>Regards</FONT> </P>
  <P><FONT color=3D#000080 size=3D2>Andrew Wilkin</FONT><BR><FONT size=3D2>=
Computer=20
  Systems Analyst</FONT> </P>
  <P><FONT size=3D2>Department</FONT> <FONT size=3D2>of Lands</FONT><BR><FO=
NT=20
  size=3D2>Panorama Ave</FONT><BR><FONT size=3D2>BATHURST, NSW, 2795,=20
  AUSTRALIA</FONT> </P>
  <P><FONT size=3D2>Ph: (02) 6332 8397</FONT><BR><FONT size=3D2>Fx: (02) 63=
32=20
  8457</FONT><BR><FONT size=3D2>E-mail: Andrew.Wilkin@</FONT><FONT=20
  size=3D2>lands</FONT><FONT size=3D2>.nsw.gov.au</FONT><BR><FONT=20
  size=3D2>WEB:<U></U></FONT><U> <FONT color=3D#0000ff size=3D2>www.lpi.nsw=
.gov.au=20
  &lt;<A target=3D_blank=20
  href=3D"http://www.lpi.nsw.gov.au/";>http://www.lpi.nsw.gov.au</A>&gt;</FO=
NT></U>=20
  </P>
  <DIV>&nbsp;</DIV>
  <P></P><FONT=20
  size=3D3><BR><BR>********************************************************=
*******<BR>This=20
  message is intended for the addressee named and <BR>may contain confident=
ial=20
  information. If you are not the <BR>intended recipient, please delete it =
and=20
  notify the sender. <BR>Views expressed in this message are those of the=
   <BR>individual sender, and are not necessarily the views of <BR>the Depa=
rtment=20
  of Lands.<BR><BR>This email message has been swept by MIMEsweeper <BR>for=
 the=20
  presence of computer=20
  viruses.<BR>*************************************************************=
**<BR></BLOCKQUOTE></FONT><FONT SIZE=3D3><BR>
<BR>
**********************************************************************<BR>
This transmission may contain information that is privileged, confidential =
and/or exempt from disclosure under applicable law. If you are not the inte=
nded recipient, you are hereby notified that any disclosure, copying, distr=
ibution, or use of the information contained herein (including any reliance=
 thereon) is STRICTLY PROHIBITED. If you received this transmission in erro=
r, please immediately contact the sender and destroy the material in its en=
tirety, whether in electronic or hard copy format. Thank you<BR>
**********************************************************************<BR>
</FONT>
</BODY></HTML>

------_=_NextPart_001_01C3E677.5A35A94E--

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