Networker

Re: [Networker] Re: [Networker] fragflags values for cloning ??

2003-07-18 14:03:48
Subject: Re: [Networker] Re: [Networker] fragflags values for cloning ??
From: Giles Malet - IST <gdmalet AT IST.UWATERLOO DOT CA>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 18 Jul 2003 14:03:41 -0400
On Thu, 17 Jul 2003, Andrew McGeorge wrote:
> mminfo -s servername -r ssid -q
> "!incomplete,copies<2,any_other_selection_criteria" | nsrclone -s servername
> -v -S -f -

"Shelley L. Shostak" <sls AT QSTECH DOT COM> writes:
> Cloners beware... I have sent a kill signal to "nsrclone", but copies is still
> set to 2 for the SSID. [...]
> 'copies<2,pssid=0,!incomplete,!ssrecycle,!ndmp'

The `copies' field counts copies, whether they are incomplete or not,
in error, expired, etc., so there is no point in using the condition
`copies<2' as you'll miss SSIDs you should clone. Also, the `pssid=0'
contraint does not work on anything less than a more recent version
Notworker.

It's better to run -r'ssid,cloneid,pssid,ssflags,clflags' -q`some time
contraint, etc.' and then "manually" exclude non-zero pssid records,
exclude error / incomplete savesets (check all flags),.... then count
the number of unique cloneids (you can get duplicate records in a
listing for various reasons) you have for an ssid. If it's only one
you should clone it.

We discovered this problem in our clone scripts and thus a large
number of missed clones, due to our habit of killing clones when we
need a tape or drive, assuming the clone would be re-done if
incomplete....

gdm

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

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