cancel
Showing results for 
Search instead for 
Did you mean: 

How to know the contents of tape

Imran1
Level 3

Hello,

Do we have any Netbackup command that displays data written to a tape please?

Thanks,

Imran.

1 ACCEPTED SOLUTION

Accepted Solutions

Giroevolver
Level 6

You can do it from the gui if you want to.

Go to Netbackup Managment and then Reports.

Select Images on Tape and select the media id on the right hand side and then click search.

This will show you all the images on the tape that are in the catalog.

Hope this helps

View solution in original post

4 REPLIES 4

vinods
Level 5
Partner

Which data i.e. ( database or file & folder) want you check ?

Anonymous
Not applicable
  1. Identify the tape label ID you want to show data on it.
  2. get the Backup ID's written on that tape
  3. use bpflist command to show what was backed up each backup ID

 

Extra help here as you might need to use the -client switch on bpflist

http://www.symantec.com/business/support/index?page=content&id=TECH24216

 

A script to do it.

#!/bin/ksh
media=$1
NBADM=/usr/openv/netbackup/bin/admincmd
echo "Media $media contains following files:"
$NBADM/bpimmedia -l -mediaid $media | grep "^IMAGE" | awk {'print $4'} | 
while read BID
do
ctime=`echo $BID | sed 's/^.*_//'`
$NBADM/bpflist -l -backupid $BID -ut $ctime | awk {'print $10'}
done

Giroevolver
Level 6

You can do it from the gui if you want to.

Go to Netbackup Managment and then Reports.

Select Images on Tape and select the media id on the right hand side and then click search.

This will show you all the images on the tape that are in the catalog.

Hope this helps

Imran1
Level 3

thank you everyone, bpflist command needs bit tweaking i guess but gui in windows is straight forward. thank you :)