Networker

Re: [Networker] Export group detail file

2007-06-18 06:54:02
Subject: Re: [Networker] Export group detail file
From: Conrad Macina <conrad.macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 18 Jun 2007 06:45:52 -0400
I'm not quite sure what you need and I'm not familiar with netreport but
I'll give it a shot:

To get basic group information to a text file:
echo "print type:nsr group" | nsradmin -i - > myfile.txt

For more detailed information (the equivalent of selecting View/Details in
the Customize/Groups window):
echo "option hidden \n print type:nsr group" | nsradmin -i - > myfile.txt

To get just the last start and end times plus the completion messages:
echo "show name;last start;last end;completion \n print type:nsr group" |
nsradmin -i - > myfile.txt

You can use the "show ..." clause to print the contents of any fields you want.

Two disclaimers:

1. You would have to do some inline editing to parse the output into .csv
format, if that's what you need; and

2. These are for NetWorker on Solaris; Windows and other platforms should be
similar but may require some changes.

HTH,

Conrad Macina
Pfizer, Inc.



On Thu, 14 Jun 2007 09:32:11 -0700, Killerloop
<networker-forum AT BACKUPCENTRAL DOT COM> wrote:

>Hello everyone,
>
>I need your help, I would like to export the group detail files in a
comprehensive file to be used with the software netreport. I think that a
file *.csv or *txt would be enough. Do you know a module or a software which
convert that ?By default the name file is pr000xx with no extension ?
>
>Do you understand my problem or do you need more explaination ?
>
>Thanks
>
>+----------------------------------------------------------------------
>|This was sent by killerlooparmy AT yahoo DOT fr via Backup Central.
>|Forward SPAM to abuse AT backupcentral DOT com.
>+----------------------------------------------------------------------
>
>To sign off this list, send email to listserv AT listserv.temple DOT edu and 
>type
"signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
>via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
>=========================================================================

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

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