Networker

Re: [Networker] Clients in a SaveGroup

2004-12-06 16:04:50
Subject: Re: [Networker] Clients in a SaveGroup
From: Robert Maiello <robert.maiello AT PFIZER DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 6 Dec 2004 16:03:58 -0500
To simply find the present members in a group ask networker:

nsradmin -i - <<EOF
. type: NSR client
. group: "$1"
show name:
print
EOF

Where $1 is the group name off the command line.  The mediab would be
accurate though if looking for "who was in this group when it ran x days ago".

Robert Maiello
Pioneer Data Systems

On Mon, 6 Dec 2004 21:29:21 +0100, Faidherbe, Thierry
<thierry.faidherbe AT HP DOT COM> wrote:

>Ken,
>
>Have a try by probing the group : from the server, issue
>
>"savegrp -pnv <group name>"
>
>All clients and their savesets what whould be backuped
>by the savegroup will be listed and no backup will be
>started.
>
>Take care to not probe a running group, this may cause
>some backups to be restarted.
>
>Another way is to query mediadb like
>"mminfo -a -q "savetime>1 week ago" -r "group,client,name"
>and then grepping on the group name you want.
>
>HTH,
>
>Thierry
>
>
>
>Kind regards - Bien cordialement - Vriendelijke groeten,
>
>Thierry FAIDHERBE
>
>HP Services - Storage Division
>Tru64 Unix and Legato Enterprise Backup Solutions Consultant
>
> *********       *********   HEWLETT - PACKARD
> *******    h      *******   1 Rue de l'aeronef/Luchtschipstraat
> ******    h        ******   1140 Bruxelles/Brussel/Brussels
> *****    hhhh  pppp *****
> *****   h  h  p  p  *****   100/102 Blv de la Woluwe/Woluwedal
> *****  h  h  pppp   *****   1200 Bruxelles/Brussel/Brussels
> ******      p      ******   BELGIUM
> *******    p      *******
> *********       *********   Phone :    +32 (0)2  / 729.85.42
>                             Mobile :   +32 (0)498/  94.60.85
>                             Fax :      +32 (0)2  / 729.88.30
>     I  N  V  E  N  T        Email/MSN : thierry.faidherbe AT hp DOT com
>                             Internet  : http://www.hp.com/
>________________________________________________________________________
>
>MOBISTAR SA/NV
>
>CSO/CTO/CEO/SSD/SBI
>SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2  / 745.75.81
>Avenue Jean Mermoz, 32          Fax :   +32 (0)2  / 745.89.56
>6041 GOSSELIES                  Email : tfhaidhe AT mail.mobistar DOT be
>BELGIUM                         Web :   http://www.mobistar.be/
>________________________________________________________________________
>
>
>
>-----Original Message-----
>From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
>On Behalf Of Ciolek, Ken
>Sent: Monday, December 06, 2004 9:13 PM
>To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
>Subject: [Networker] Clients in a SaveGroup
>
>What command would I use to list all the clients in a particular
>Savegrp.
>
>
>
>
>
>
>--
>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
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

A probe sounds expensive if you have a lot of clients in the group.

--
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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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