Re: [Networker] Get file list from saveset number? - Solution
2004-04-23 10:57:38
Many thanks to all for your suggestions. Posted for the benefit of others
and for inclusion in the archives.
Here's the script that got me what I needed. Beware of line wrap. The
script is for windows, but the networker commands are the same.
md %1
cd %1
mminfo -av -r ssid -q volume=%1 > %1-ssids.txt
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
--Shawn
----- Original Message -----
From: "Byron Servies" <bservies AT PACANG DOT COM>
To: <NETWORKER AT LISTMAIL.TEMPLE DOT EDU>
Sent: Thursday, April 22, 2004 7:23 PM
Subject: Re: [Networker] Get file list from saveset number?
> On April 22, 2004 at 11:42, Tim Mooney wrote:
> > In regard to: Re: [Networker] Get file list from saveset number?,
Darren...:
> >
> > >> Is there a way to get a savetime for a particular saveset? or get a
file
> > >> list directly by saveset?
> > >
> > >Yes. Try this..
> > >
> > >mminfo -av -q 'ssid=<saveset>' -r 'nsavetime,client'
> > >
> > >Then feed the savetime and clientname to nsrinfo...
> >
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|