Networker

Re: [Networker] Scripting clones from adv_file devices

2006-03-30 13:41:18
Subject: Re: [Networker] Scripting clones from adv_file devices
From: Marcelo Bartsch <mbartsch AT UNIX911.ATH DOT CX>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 30 Mar 2006 14:39:31 -0400
this is what i run inside my script.

mminfo -q pool=<POOLNAME>,written=0 -r client,group,name

so i get all client, groupname and saveset name on the given pool.
then the script do some other things. if some one is interested on the
monster (AKA The Script) i can send off list ,but is just a Works for
Me(tm) script.


On Thu, 2006-03-30 at 09:44 -0800, Darren Dunham wrote:
> > > > What i use is
> > > > -q 'written=0,etc,etc,etc'
> 
> > Darren
> > 
> > It works on ADV_FILE on the ReadOnly mirror of the adv_file. 
> > as is a readonly device it is never written. so written is always 0
> 
> I see.  There should still be a 'copies<3' or such in the etc part and
> the written=0 was just to select the disk volume?  I thought the lack of
> the copies stuff was signficant and there was some cool trick
> happening.  Never mind..
> 

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
wit 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