If you know the backup-id then you can use the bpflist command. It's
undocumented but it's got a good "usage" statement if you run it with a "-?"
option. The option to display the files in a backup id is "-backupid".
Therefore, to find all files on a particular piece of media, if you want,
use bpimmedia to find all the backup id's on a particular piece of media and
then bpflist to find the files in each backupid.
Note, a single backup id can span to another tape and this method doesn't
take that into account. See the "FRAG" lines of bpimmedia to see if the
backup id spans to another tape.
If you need to separate the FRAG stuff out, I think you're going to be
parsing the .f files in ../netbackup/db/images/<client>/<timestamp> but
that's a seriously large piece of work.
-M
bpflist: [-l | -L | -U] [-v]
[-M master_server...]
[-d mm/dd/yyyy HH:MM:SS][-e mm/dd/yyyy HH:MM:SS]
[-ut <unixtime for start and end date>]
[-st sched_type]
[-policy policy_name][-client client_name]
[-keyword "keyword phrase"][-pattern fullpath]
[-pt policy_type]
[-user name][-group name][-raw mode]
[-backupid name][-force_print]
[-psep path_separator_character]
[-malgo match_algorithm (0 1 2 or 3)]
[-rl recursion_level (0..999)]
[-option <list of:
NONE ONE_PASS NO_HSHAKE GET_ALL_FILES
INCLUDE_TIR ONLY_TIR ONLY_DIRS FILESYSTEM_ONLY
ONE_CONNECT INCLUDE_RAW_INCR INCLUDE_BITMAP INCLUDE_FSMAP
INCLUDE_EDI IGNORE_CASE INCLUDE_EFI>]
bpflist: -complete -policy policy_name [-client client_name][-st
sched_type][-bt <unixtime>]
Valid values for sched_type:
FULL, INCR, CINC, UBAK, UARC, ANY, SCHED, USER, NOT_ARCHIVE
Valid values for policy_type:
Standard Apollo-wbak Oracle NetWare MS-Windows-NT
OS/2 FlashBackup AFS FlashBackup-Windows
-----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 laila aloui
Sent: Wednesday, May 04, 2005 5:54 AM
To: mailing list de netbacup
Subject: [Veritas-bu] Question about backup-ids
Hello all,
can i found out data that are backed up ( i mean files name) on a media if
Iknow tha backup id existing on this media ?
if so how can i do it
thank you in advance
Laila
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|