cancel
Showing results for 
Search instead for 
Did you mean: 

What tapes have been used for the full backup???

Charles_campbel
Level 3
I’m new to netbackup 6.5.3.1. I’m looking for an easy way to run a report that will tell me what tapes have been used for the full backups. 
Under reports I don’t see an option for that, unless I’m missing it.
1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified
Try this:
C:\>bpimagelist -media -hoursago 48 -st FULL -U
Media ID   Last Written       Server
--------   ----------------   ----------
A00012     10/21/2009 19:24   media1
A00039     10/20/2009 19:31   media1


View solution in original post

8 REPLIES 8

rjrumfelt
Level 6
One way is to run an "Images on Media" report.  Once you get your results, just sort by the Schedule type column, and then just ctrl+c and ctrl+v into a spreadsheet and then just extract the media column

Claudio_Veronez
Level 6
Partner Accredited
Hi there.

if U put some tapes in a pool named P_FULL for example and set at the police to use that pool you will know that

a god idea is to create 4 pool

one pull for a sunday full backup   - 3 months
one pull for mon - thu   diff              - 1 month
one pull for tue - fri        diff             - 1 month
one pull for wed - sat    diff            -  1 month

if u have a pool for mon tue   in case of tape failure u will lost 2 days.

in case of tape faillure it is a good pratice.


I hope it helps


see ya

:wq!

stu52
Level 5
Use the command line....the bpimagelist command will provide you with the information that you need. 

Something like this:

bpimagelist -hoursago 24 -st FULL -U


If you are not comfortable with using the command line, then the "Images on Media" report can be run from the GUI.

Charles_campbel
Level 3
Thanks for the help.  
I ran the command and i received this output...

[root@corebu01 bin]# bpimagelist -hoursago 48 -st FULL -U
Backed Up         Expires       Files       KB  C  Sched Type   Policy
 
The GUI seems to work.  I have to copy and paste into Excel.  

stu52
Level 5
Charles,

did you get any actual output or did you just delete that from the example you sent?  If you didn't get anything, then I suggest you try going back further (like -hoursago 168).

Marianne
Level 6
Partner    VIP    Accredited Certified
Try this:
C:\>bpimagelist -media -hoursago 48 -st FULL -U
Media ID   Last Written       Server
--------   ----------------   ----------
A00012     10/21/2009 19:24   media1
A00039     10/20/2009 19:31   media1


stu52
Level 5
yeah, you DO need that "-media" parameter for the bpimagelist command to return the tapes used.

You still need to be mindful of when your full backups are run so that you go back far enough with the '-hoursago' parameter.  If you only do your fulls once a week, then using 168 hours is going to catch the latest full backups because 168 hours is 24x7 hours.  There's also the date range method to get tapes between two dates using the '-d' & '-e' parameters.

Charles_campbel
Level 3
Thank you guys...
Works grate with the –media, exactly what I was looking for.

Media ID   Last Written       Server
--------   ----------------   ----------
000014     10/20/2009 20:38   corebu01
000003     10/19/2009 18:02   corebu01