Glad that worked, I actually saved the note below from this same list
last year when they asked a similar question. It has come in handy!
jan
-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of Austin
Murphy
Sent: Thursday, December 28, 2006 9:52 AM
To: Wessam Aly
Cc: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Listing files in a backup image or media ID
On 12/28/06, Wessam Aly <WAly at mobinil.com> wrote:
>
> The verify process actually reads the tape to verify the backup
> images/files. I DO NOT have the tape, its missing. I need to list all
the
> files which should reside on that tape (from the media and netbackup
> database) so I can replace the tape by recreating the backup again.
1. Get a list of images that should be on the tape:
bpimmedia -mediaid <mediaID> | grep IMAGE | cut -d" " -f4
2. Look up the file list for each image:
bpflist -l -client <clientname> -backupid <clientname_imagenumber> -d
01/01/70 -rl 999 | cut -d" " -f10
bpflist is very picky about it's arguments. Previous posts on this
list also indicate that the syntax has changed with the revisions.
I just tested this on my setup (Solaris 9, NB 5.1, MP6) and it works for
me.
Austin
-----Original Message-----
From: Sturgis, Grant [mailto:Grant.Sturgis at arraybiopharma.com]
Sent: Wednesday, April 18, 2007 3:48 PM
To: Jan Pramann; veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Correlate backup_ID to files
Bingo! Thanks so much, I appreciate it.
Grant
----------
Jan Pramann wrote:
>
> Grant,
>
> Would this command work for you? I ran it on a master 6.0 MP4 system
> and it gave the list of files for the image I supplied.
>
> bpflist -l -client <clientname> -backupid <clientname_imagenumber> -d
> 01/01/70 -rl 999 | cut -d" " -f10
>
> Jan
>
> -----Original Message-----
> From: veritas-bu-bounces at mailman.eng.auburn.edu
> [mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of
Sturgis,
> Grant
> Sent: Wednesday, April 18, 2007 3:14 PM
> To: veritas-bu at mailman.eng.auburn.edu
> Subject: [Veritas-bu] Correlate backup_ID to files
>
> Greetings List,
>
> I asked a question the other day and got no responses, so I am going
to
> try to ask a slightly different question that may still solve our
> problem.
>
> Using the Media Contents report, I can figure out what backup_ID is on
a
>
> tape.
>
> How can I correlate that backup_ID with file names? Is it even
> possible?
>
> Thanks,
>
> Grant
> ------------
>
>
> This electronic message transmission is a PRIVATE communication which
> contains
> information which may be confidential or privileged. The information
is
> intended
> to be for the use of the individual or entity named above. If you are
> not the
> intended recipient, please be aware that any disclosure, copying,
> distribution
> or use of the contents of this information is prohibited. Please
notify
> the
> sender of the delivery error by replying to this message, or notify
us
> by
> telephone (877-633-2436, ext. 0), and then delete it from your system.
>
>
> _______________________________________________
> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
|