Networker

Re: [Networker] NSRCLONE

2007-08-22 02:18:38
Subject: Re: [Networker] NSRCLONE
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 21 Aug 2007 23:14:59 -0700
> 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.

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

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>