Networker

[Networker] Extracting information from Networker

2005-08-04 14:19:56
Subject: [Networker] Extracting information from Networker
From: "Dean, James" <jdean AT SANZ DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 4 Aug 2005 12:06:47 -0600
We are in the process of building a restore interface and have been able 
collect some basic data from Networker, but we are looking to get some other 
information out of Networker that I know is available, I just dont know how to 
get it.

We are collecting file level information to feed to a command line recover 
command (basically we are recreating the restore interface with security 
wrappers for a web interface) using mminfo in combination with nsrinfo.  We 
have been able to collect save set id  information for a specific client, 
feeding that to nsrinfo to get a listing of files and the file size.  What we 
are looking to get the date created and date modified property for each file.

Is this possible, what command would that information come with, and or what 
flags/options do I need to use.

Here is what we have currently.

This give use the SSID for a client or a specified period(please forgive the 
variables:

mminfo -q "client=$client, !incomplete, savetime>=01/01/01"

then we are getting the file list, size, savetime, out of this command.

nsrinfo -xc, -Vt $nsavetime $client

Maybe I don't understand what information is being captured.

Colums included in the output:

objects,client,savetime2,savetime1,name-space,file-name,size,off,app1,app2

Deffinitions:
Object: Number of objects/files in the saveset
Client: Duh!!
Savetime2:      date and time backed up in Ctime
Savetime1:      date and time backed up in standard format
Names-Space:    Not sure
File-Name:      Path and name for directories and files
Size:           Size of file
Off:            Not sure.  I know the deffinition is offset within the saveset. 
 Offset of what?

App1 & App2:    Don't care!!!

I know we are not the first to do this, any help would be appriciated.

Thanks,
James Dean

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>