bpflist will give you files in a backupid.

-M

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Austin
Murphy
Sent: Wednesday, March 29, 2006 12:42 PM
To: Rob Haig
Cc: Veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] command-line way to get vol_id from filespec
and date range?


If you have the Date Range and Client name, try this:

  bpmedialist -media -U -d mm/dd/yy -e mm/dd/yy -client <Client Name>

Foreach media id returned, lookup the images on it:

  bpimmedia -L -media <media ID>

It's funny you mention this, because I would like to know how to get
the list of files in a backup image.  I usually end up loading too
many tapes for a restore.

Austin


On 3/29/06, Rob Haig <[EMAIL PROTECTED]> wrote:
>
>
>
> I'm trying to determine through a command-line interface what piece of media
> a file is on given a hostname, file-spec, and date range.
>
>
>
> I suspect I'll have to start with a backup_id and get the media_id from that
> with bpimmedia or something like that.  I'm not shy of scripting, and given
> a backup_id (hostname_timestamp) I can derive the piece(s) of media it is
> on.  I just don't know how to go from the date-range and filespec to the
> backup_id.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to