Networker

Re: [Networker] Need to create a report that tells me exactly what is on a tape

2004-10-06 14:20:59
Subject: Re: [Networker] Need to create a report that tells me exactly what is on a tape
From: Shawn Cox <shawn.cox AT PCCA DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 6 Oct 2004 13:22:43 -0500
Here is what I use on windowz to report files on a specific volume:
Pass it a volume name.  I keep these lisings along with the tapes at offsite
in the rare event I couldn't get an index back, at least I would be able to
tell which tape a file is on.



-----------------------------------------------------
md %1
cd %1
REM Dump the SSIDs of savesets on the given volume
mminfo -av -r ssid -q volume=%1 > %1-ssids.txt
REM for each ssid get the savetime and client
for /F %%i in (%1-ssids.txt) do mminfo -av -q ssid=%%i -r "nsavetime,client"
>> %1-nsavetime-client.txt
grep -v "save time client" %1-nsavetime-client.txt >
%1-nsavetime-client-clean.txt
for /F "tokens=1,2" %%i in (%1-nsavetime-client-clean.txt) do nsrinfo -V -t
%%i %%j > %%j-%%i-fileinfo.txt
------------------------------------------------------

I'm not sure how to do this without the aid of the media database.

--Shawn

----- Original Message -----
From: "Maine, Daniel" <DEM AT DELTAFAUCET DOT COM>
To: <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>
Sent: Wednesday, October 06, 2004 11:36 AM
Subject: [Networker] Need to create a report that tells me exactly what is
on a tape


I have Enron to thank for this one.  We are being required to test the
validity of each backup.  We must produce a report that shows what is
exactly on the tape, the exact files.

Can anyone help me with a command or something that would produce such a
report?

Thank you in advance for all your help!

Dan Maine, LCNA

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage
caused
by any virus transmitted by this email.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=


--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=