Welcome! » Log In » Create A New Profile

How can I list the files from the NBU Catalog if I know the

Posted by Anonymous 
How can I list the files from the NBU Catalog if I know the
May 21, 2013 06:54PM
[Apologies if the list gets this twice. I think I typed the address wrong the first attempt.]

Wayne, my notes for bpflist:

List Files on an Image:
# bpflist [ -l | -L | -U ] -backupid ID -rl 999 -d 1/1/2000 -e 1/1/2010 -client CLIENT
# bpflist -l -client {hostname} -ut {epoch time} -option GET_ALL_FILES -rl 999

I've found that the seemingly optional arguments, like -client on the first example, are not optional at all. It ought to know the client name from the backup ID, but doesn't seem to make the connection. I also included the recursion level. I don't think it defaults to infinity. See if you get better mileage from this,

------------------

[b]Jim VandeVegt | ETG, Solutions Architect; Enterprise UNIX, Backup, & Storage Administration[/b]
[b][/b]Physicians Mutual | 2600 Dodge Street | Omaha, NE 68131
402.930.2649 | Jim.VandeVegt < at > PhysiciansMutual.com ([email]Jim.VandeVegt < at > PhysiciansMutual.com[/email])

[b]Insurance for all of us.™[/b]
health | life | retirement

[b]From:[/b] veritas-bu-bounces < at > mailman.eng.auburn.edu [veritas-bu-bounces < at > mailman.eng.auburn.edu] On Behalf Of BeDour, Wayne [WBedour < at > lear.com]
[b]Sent:[/b] Tuesday, May 21, 2013 12:36
[b]To:[/b] veritas-bu < at > mailman.eng.auburn.edu
[b]Subject:[/b] [Veritas-bu] How can I list the files from the NBU Catalog if I know the Barcode?

All:
Our environment, HP-UX 11-31 currently running one master & 1 media server on NetBackup 6.5.2. We are running mostly unix / Linux backups and a couple windows b/u’s. Along with an HP Library we are using a VTL on a DataDomain 880.

My problem is that a few of our VTL tapes got deleted and re-added on the Data Domain which obviously caused all the data on the tapes to be deleted. NetBackup still thinks they are valid tapes and they show up in the catalog. I’ve got the barcodes of the tapes and want to list off the files that were on the tapes. I’ve tried running a bpimmedia to get the image from the tape and then a bpflist command to list what’s in the image. The bpflist come back with “no entity was found” I can’t find a man page or much documentation on the bpflist command so I’m flying blind on this command. Below is what I’m getting:
#
# bpimmedia -mediaid D10315 -l
IMAGE hqhp3 8 hqhp3_1321085674 dbn-pkg01-db-bcv-dd 0 dbn-pkg01-db-bcv-dd-df 0 3 15 2147483647 0 0
FRAG 1 1 16794880 0 2 6 4 D10315 hqhp3 262144 343813 0 6 0 *NULL* 2147483647 0 3 1 *NULL*
FRAG 1 2 13540192 0 2 6 1 D10825 hqhp3 262144 2 0 7 0 *NULL* 0 0 3 1 *NULL*

#
# bpimmedia -mediaid D10314 -L

Backup-ID Policy Type RL Files C E T PC Expires
Copy Frag KB Type Density FNum Off Host DWO MPX Expires RL MediaID
------------------------------------------------------------------------------------------------

yos_sam1_1278313201 dbn-pkg21- FULL 9 5025 N N R 1 INFINITY
1 1 11332800 RMed hcart 6 1460571 hqhp3 9 N INFINITY 9 D10314
1 2 20093984 RMed hcart 1 2 hqhp3 8 D10625

#
#
# bpflist -backupid yos_sam1_1278313201 -d 01/01/2008 -e 12/31/2012
no entity was found

Has anyone successfully used the bpflist command and if so, is there any doc on the options for bpflist? Does anyone have any other ideas of how or if I can get a list of files from the catalog images if the tapes themselves are no longer around?

Thanks in advance…

Wayne BeDour
Unix System Administrator
PH: 248-447-1739
Internet: wbedour < at > lear.com ([email]wbedour < at > lear.com[/email])

[quote]**********************
** 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.[/quote]
Sorry, you do not have permission to post/reply in this forum.