The bplist is a bugger to get config'd right. I suspect you need to specify
your client name - default is the server you're operating on. Either that
or your forgetting the "/" at the end of the command.
For the past week, I'd do (divided by policy, subdivided by client):
for policy in `bppllist`
do
for client in `bppllist $policy | awk '$1=="CLIENT"{print $2}'`
do
echo "\n## $policy :: $client"
bplist -s 07/15/2004 -k $policy -C $client -R / | sed 's/^/ /'
done
done
The first for loop generates the policy list, the second generates a list of
every client within that policy. The "sed" command on the bplist line just
makes is pretty.
Note - the output is HUGE!
-M
-----Original Message-----
From: BeDour, Wayne [mailto:WBedour AT lear DOT com]
Sent: Thursday, July 22, 2004 10:07 AM
To: Donaldson, Mark - Broomfield, CO
Subject: RE: [Veritas-bu] Need to list a weeks worth of backups and status
by policy
Mark:
They are auditors, it changes daily. Actually we are being audited by our
internal and two external auditors now and will get another external in
September. Initially they wanted log output of certain policies backed up
over the past week which included detail of everything that we backed up
down to the files. We do have Advanced Reporter which contains most of what
they want, but it's not easy to give them hard copy of this. I used one
suggestion of taking the output from the "Client Backup" report and put it
into an Excel spreadsheet. This gives them what policies ran and when. I
have printed the output of everything from one policy's backup from Advanced
Reporter. I am going to show them what we have online and see if they will
take the Excel listing and do spot checks. I will pull that info from
Advanced Reporter for them. I am still playing around with the bplist
command as this looks like I may be able to use it but so far I am still
getting the "EXIT STATUS 277: no entity was found" message. I have gone
through the NetBackup 4.5 Commands for Unix manual and the bplist appears to
have the most potential so far. If I can find a way to list what got
backed up down to the files this would probably appease them for now.
thanks
Wayne BeDour
IT Unix System Administrator
PH: 313-240-3374 FAX: 313-240-3065
Internet: wbedour AT lear DOT com
-----Original Message-----
From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com]
Sent: Wednesday, July 21, 2004 5:42 PM
To: WBedour AT lear DOT com
Subject: RE: [Veritas-bu] Need to list a weeks worth of backups and status
by policy
What do they need, Wayne. Can you detail what, specifically, they're asking
for?
-M
-----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 BeDour,
Wayne
Sent: Wednesday, July 21, 2004 1:31 PM
To: 'Denton, Kevin M'; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Need to list a weeks worth of backups and status
by policy
I started playing around with bplist but kept getting "EXIT STATUS 227: no
entity was found" I tried it again with what you used and got the same
results. Any ideas?
Wayne BeDour
IT Unix System Administrator
PH: 313-240-3374 FAX: 313-240-3065
Internet: wbedour AT lear DOT com
-----Original Message-----
From: Denton, Kevin M [mailto:kevin.denton AT eds DOT com]
Sent: Wednesday, July 21, 2004 3:17 PM
To: 'BeDour, Wayne'; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Need to list a weeks worth of backups and status
by policy
Good Golly! I don't think they know what they are asking for.. I had
auditors come around once... once.. They asked for similar information. I
gave them the output of bplist -C client_name -R -b -s mm/dd/yyyy hh:mm:ss
Note I gave them the output of this for just one client.. they never
bothered me again :-)
Note: The output will be excessive unless you use the -R option and limit
the number of subdirectories listed. But hey.. if they want it all.. give it
to 'em!
KD
-----Original Message-----
From: BeDour, Wayne [mailto:WBedour AT lear DOT com]
Sent: Wednesday, July 21, 2004 2:33 PM
To: BeDour, Wayne; 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: RE: [Veritas-bu] Need to list a weeks worth of backups and status
by policy
I forgot to add, they would like to see actual directories / mount points
that got backed up also. The e-mails and solutions so far are great,
thanks.
Wayne BeDour
IT Unix System Administrator
PH: 313-240-3374 FAX: 313-240-3065
Internet: wbedour AT lear DOT com
-----Original Message-----
From: BeDour, Wayne [mailto:WBedour AT lear DOT com]
Sent: Wednesday, July 21, 2004 1:44 PM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Need to list a weeks worth of backups and status by
policy
I have looked in the archives and couldn't find what I needed so here's my
problem / issue. Our environment is NetBackup 4.5 fp6 HP-ux 11.i.
The auditors are out and about here and I need to get them a log of last
weeks backup activity by policy. My problem is that I always check last
nights backups via the gui and take care of any problems then. The auditors
don't understand why we don't keep reams of paper with old logs around.
Anyway is there a command to get this info by policy and date?
Thanks in advance.
Wayne BeDour
IT Unix System Administrator
PH: 313-240-3374 FAX: 313-240-3065
Internet: wbedour AT lear DOT com
**********************
** LEGAL DISCLAIMER **
**********************
This E-mail message and any attachments may contain
legally privileged, confidential or proprietary
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are
hereby notified that any dissemination, distribution
or copying of this E-mail message is strictly
prohibited. If you have received this message in
error, please immediately notify the sender and
delete this E-mail message from your computer.
|