Networker

Re: [Networker] NSRCLONE

2007-08-22 09:05:32
Subject: Re: [Networker] NSRCLONE
From: Francis Swasey <Frank.Swasey AT UVM DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 22 Aug 2007 08:57:33 -0400
Keeping in mind that if the savesets are on AFTD's that they automatically have 2 copies (thanks to the .RO side counting as a copy).

Frank

On 8/22/07 2:14 AM, Darren Dunham wrote:
mminfo -r ssid -q "savetime>last friday" >c:\SSID.TXT
nsrclone -b ACHCLONES -S -f c:\SSID.TXT

basically i pipe a list of all savesets created since the last friday then tell 
nsrclone to clone those savesets but i just thought of something

If i have already cloned a saveset then rerun the mminfo won't my
clones get cloned?[/u]

Yes.  So either don't run it more than once a week (and your savetime
will only match once), or further limit your mminfo query to savesets
with copies=1.


--
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
  "I am not young enough to know everything." - Oscar Wilde (1854-1900)

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>