Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tape/SaveSet Report

Status
Not open for further replies.

mykul71

IS-IT--Management
Jun 20, 2001
20
US
Is there a way to run a report to tell which save sets are on which tapes? It would be nice to have this.
 
Hello,

try the follwing command :

mminfo -avot -r "name" tape1 tape2...
 
Let me rephrase that. When I look in the Networker admin console is see all my tapes listed in under volumes. How would I be able to see a list of all the save sets that are listed on those tapes\volumes? Thanks!
 
double-click on a volume and you will see savesets contained on that tape...
 
But is there a way to export the save set information?
 
I don't think so, the better way is to perform the mminfo command given before.
 
Read the manual section on MMINFO in the Command Line Reference Guide... you can tune the following as you see fit:

[tt] mminfo -q "volume=000123" -r "volume(8),client(14),name(16),level,totalsize(8),ssflags,sscomp,ssbrowse,ssretent"[/tt]

The above will show all saveset info for volume 000123:

[tt] volume client name lvl total ssflags completed browse retent
000123 webserv8 / incr 4327 KB vF 12/29/08 01/29/09 01/29/09
000123 webserv8 / incr 4331 KB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /export/home incr 4 B vF 12/29/08 01/29/09 01/29/09
000123 webserv8 /export/home incr 4 B vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /u01 incr 59 MB vF 12/29/08 01/29/09 01/29/09
000123 webserv8 /u01 incr 60 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /u02 incr 6261 MB vF 12/29/08 01/29/09 01/29/09
000123 webserv8 /u02 incr 6261 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /u03 incr 4842 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /u04 incr 854 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /u05 incr 3646 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /usr incr 156 MB vF 12/29/08 01/29/09 01/29/09
000123 webserv8 /usr incr 156 MB vF 12/30/08 01/30/09 01/30/09
000123 webserv8 /var incr 13 MB vF 12/29/08 01/29/09 01/29/09
000123 webserv8 /var incr 13 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 / full 510 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 / incr 4944 KB vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /export/home full 1842 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 /export/home incr 4 B vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /opt full 510 KB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 /opt incr 4 B vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /u01 full 105 GB vF 12/31/08 01/30/09 01/31/09
000123 dbserver4 /u01 incr 972 MB vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /usr full 1412 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 /usr incr 4 B vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /usr/local full 1627 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 /usr/local incr 62 MB vF 12/31/08 01/31/09 01/31/09
000123 dbserver4 /var full 1030 MB vF 12/30/08 01/30/09 01/30/09
000123 dbserver4 /var incr 55 MB vF 12/31/08 01/31/09 01/31/09
[/tt]

You'll have to craft a script to do each and every volume you wish to list.

Read up on the "-o" option if you want to sort the resulting data.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top