Forum Discussion

cimo's avatar
cimo
Level 4
10 years ago

tape content display

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

 

  • 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.

     

5 Replies

  • 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.

     

     

     

  • 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.

     

  • 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

  • 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.

  • 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