Veritas-bu

[Veritas-bu] NetBackup Enterprise 5.x -> 5.1MP4 - bpflist no longer has same syntax?

2005-12-27 14:26:24
Subject: [Veritas-bu] NetBackup Enterprise 5.x -> 5.1MP4 - bpflist no longer has same syntax?
From: John_Trainer AT Countrywide DOT Com (John_Trainer AT Countrywide DOT Com)
Date: Tue, 27 Dec 2005 11:26:24 -0800
This is a multipart message in MIME format.
--=_alternative 006A98A5882570E4_=
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Justin,  I too have issues with the BPFLIST output, seems it only gives=20
highest level listing of what was backed up.   We run 5.0 MP4 and I need=20
to use the -rl 999 option on the command line.   Add the -rl option and=20
see if this helps.

John Trainer




"Piszcz, Justin" <jpiszcz AT servervault DOT com>=20
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
12/27/2005 10:16 AM

To
veritas-bu AT mailman.eng.auburn DOT edu
cc

Subject
[Veritas-bu] NetBackup Enterprise 5.x -> 5.1MP4 - bpflist no longer has=20
same syntax?






This used to work before 5.1MP4, any idea what changed?
=20
I used to run this to get a list of =5FALL=5F the files on a particular box=
,=20
any idea of the current syntax? I am currently looking myself but thought=20
it?d be a good idea to send this out ahead of time.
=20
=20
#!/usr/bin/bash
=20
if [ ! -d "/indexing" ]; then
  mkdir /indexing
elif [ -d "/indexing" ]; then
  rm -f /indexing/*
fi
=20
cd /usr/openv/netbackup/db/images
num=3D`/bin/ls -1 | grep -c .`
count=3D$num
=20
for i in *
do
  echo "On client $i, $count clients to go."
  bpflist -U -client $i > /indexing/$i.idx
  count=3D`expr $count - 1`
done

--=_alternative 006A98A5882570E4_=
Content-Type: text/html;
 charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Justin, &nbsp;I too have issues with
the BPFLIST output, seems it only gives highest level listing of what was
backed up. &nbsp; We run 5.0 MP4 and I need to use the -rl 999 option on
the command line. &nbsp; Add the -rl option and see if this helps.<br>
</font><font size=3D3><br>
</font><font size=3D2 face=3D"sans-serif"><b>John Trainer</b><br>
</font>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D40%><font size=3D1 face=3D"sans-serif"><b>&quot;Piszcz, Justin&=
quot;
&lt;jpiszcz AT servervault DOT com&gt;</b> </font>
<br><font size=3D1 face=3D"sans-serif">Sent by: veritas-bu-admin AT mailman DOT 
en=
g.auburn.edu</font>
<p><font size=3D1 face=3D"sans-serif">12/27/2005 10:16 AM</font>
<td width=3D59%>
<table width=3D100%>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td><font size=3D1 face=3D"sans-serif">veritas-bu AT mailman.eng.auburn DOT 
edu</f=
ont>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td><font size=3D1 face=3D"sans-serif">[Veritas-bu] NetBackup Enterprise 5.x
-&gt; 5.1MP4 - bpflist no longer has same syntax?</font></table>
<br>
<table>
<tr valign=3Dtop>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3D2 face=3D"Arial">This used to work before 5.1MP4, any idea
what changed?</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">I used to run this to get a list of =5F<i=
>ALL</i>=5F
the files on a particular box, any idea of the current syntax? I am current=
ly
looking myself but thought it&#8217;d be a good idea to send this out ahead
of time.</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">#!/usr/bin/bash</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">if [ ! -d &quot;/indexing&quot; ]; then</=
font>
<br><font size=3D2 face=3D"Arial">&nbsp; mkdir /indexing</font>
<br><font size=3D2 face=3D"Arial">elif [ -d &quot;/indexing&quot; ]; then</=
font>
<br><font size=3D2 face=3D"Arial">&nbsp; rm -f /indexing/*</font>
<br><font size=3D2 face=3D"Arial">fi</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">cd /usr/openv/netbackup/db/images</font>
<br><font size=3D2 face=3D"Arial">num=3D`/bin/ls -1 | grep -c .`</font>
<br><font size=3D2 face=3D"Arial">count=3D$num</font>
<br><font size=3D2 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 face=3D"Arial">for i in *</font>
<br><font size=3D2 face=3D"Arial">do</font>
<br><font size=3D2 face=3D"Arial">&nbsp; echo &quot;On client $i, $count cl=
ients
to go.&quot;</font>
<br><font size=3D2 face=3D"Arial">&nbsp; bpflist -U -client $i &gt; /indexi=
ng/$i.idx</font>
<br><font size=3D2 face=3D"Arial">&nbsp; count=3D`expr $count - 1`</font>
<br><font size=3D2 face=3D"Arial">done</font>
<br>
--=_alternative 006A98A5882570E4_=--


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