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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mminfo querey 1

Status
Not open for further replies.

jaredk2780

IS-IT--Management
Nov 15, 2002
2
US
I would like an easy way to find out what tapes were used for a full backup.

I think the right way to do is with mminfo but I am not sure. Currently I have been looking at the expiration date to find out what tapes to send off-site and this has proven not to be very effective.

Any help would be much appreciated.

Thanks.
Jared
 
how about:

mminfo -q 'level=full' -om -r 'volume'

This will display any volumes that has savesets that are level=full. It will report volume names in ascendiing order.

Note: this will report any volumes that has *any* savesets that are level=full; i.e. there could be some savesets on that volume that are not level=full. You should confirm what is on the volume with:

mminfo -av -ot <volume_name>

The only real way to make sure that yoou only have full backups on a particular pool is by setting up your pool to only accept full backups. For example, NetWorker comes with a predefined Full pool.
 
Thank you for your reply.

I have decided to run the following command:
mminfo -s (backup server name) -t `date +&quot;%m/%d/%y&quot;` -q 'level=full' -r volume,client,name

I have set this up as a cron job to e-mail our team so that we can keep track of tapes that have been sent off-site permanently, and that have been removed from the index.

Thanks,
Jared
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top