Networker

Re: [Networker] How to determine savesets that have not been cloned?

2003-10-02 16:22:37
Subject: Re: [Networker] How to determine savesets that have not been cloned?
From: Itzik Meirson <imeirson AT MBI.CO DOT IL>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 3 Oct 2003 00:18:37 +0300
George,
Add to your query the condition "copies=1". This will provide you only
those that have no clones (copies).
Itzik

> -----Original Message-----
> From: George Sinclair [mailto:George.Sinclair AT noaa DOT gov]
> Sent: Thursday, October 02, 2003 20:59
> To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
> Subject: [Networker] How to determine savesets that have not been
cloned?
> 
> Hi,
> 
> Is there a way I can generate a list of savesets that have no clones?
I
> was running the following command to see all the savesets belonging to
> the DB2 pool:
> 
> mminfo -s server -av -q 'pool=DB2'
> 
> This shows me all the savesets from the DB2 pool, but not whether or
not
> they have been cloned to the clone pool: DB2_c. I want to generate a
> list of ssids to pass to the nsrclone command without having to
manually
> go and look them all up.
> 
> I want to clone all the savesets in the DB2 pool that have not yet
been
> cloned to the DB2 Clone pool. I'm thinking I might have to write a
> script that will run two mminfo commands: one to get the savesets in
the
> first pool and another to get the savesets in the clone pool and then
> parse against both lists to determine what's in one and not in the
other
> and have it return the list.
> 
> Is there an easier way?
> 
> Thanks.
> 
> George
> 
> --
> 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.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to any one or make copies.

MBI - System Team
**************************************************************************************************

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