12-19-2014 04:01 AM
hello!
I need a report that display the tape content, in terms of saved file and not of backup image. This is not the same thing because these backups are huge and a single backup image resides on several LTO6 tapes.
Thank you very much!
Simone
Solved! Go to Solution.
12-19-2014 04:57 AM
You can't (as Revaroo say) display what filles are on a single tape when the backup image spans multiple tapes.
Netbackup register files in a backup image, that then is spread over multiple fragment. Fragments can be located on many diffrent tapes.
You can display what files are in a backup image using bpflist.
12-19-2014 04:28 AM
So you want to see what files were backed up to a specific tape?
you can't do that. You can however get a list of images on tape then cat_convert the image.f that resides in netbackup\db\images\ to display the files captured in that particular image.
12-19-2014 04:57 AM
You can't (as Revaroo say) display what filles are on a single tape when the backup image spans multiple tapes.
Netbackup register files in a backup image, that then is spread over multiple fragment. Fragments can be located on many diffrent tapes.
You can display what files are in a backup image using bpflist.
12-19-2014 05:43 AM
Ok thank you.
I already integrated in a custom script the following command to get the saved file list:
bpflist -backupid $i -d $YESTERDAY -e $TODAY -option GET_ALL_FILES -rl 999
In other words, if the image backup is spanned in more then one tape, we don't know wich tape are requested for a granular restore, or all tapes are requested?
Simone
12-19-2014 07:34 AM
The Netbackup usually telly you which tapes are needed in the GUI
But you are right - if you need to bring tapes back to the robot, you need to bring all of them. Netbackup might only need one but could also use all of them.
12-22-2014 03:18 PM
Simone:
You can get a report on the file contents for an individual piece of media. With the -mcontents argument, Netbackup mounts the tape and reads the file list from the tape:
bpmedialist -mcontents -m AEK802
The output will look something like this:
File number 1
Backup id = hat_0915786605
Creation date = 01/08/2007 03:10
Expiration date = 01/15/2007 03:10
Retention level = 0
Copy number = 1
Fragment number = 2
Block size (in bytes) = 65536
File number 2
Backup id = hat_0915809009
Creation date = 01/08/2007 09:23
Expiration date = 01/15/2007 09:23
Retention level = 0
Copy number = 1
Fragment number = 1
Block size (in bytes) = 65536
Example 4 - Produce a Media List report for master