Networker

Re: [Networker] Specifying mminfo -t times older than 30 days

2002-12-04 15:25:56
Subject: Re: [Networker] Specifying mminfo -t times older than 30 days
From: "Faidherbe, Thierry" <Thierry.Faidherbe AT HP DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 4 Dec 2002 21:24:27 +0100
Robert,

You could do it like the following:

mminfo -s server -q "savetime >= x months ago, copies=1, !incomplete"
....
and replace x by the amount of months you prefer.

You will, doing such a way just get a list of complete 
and valid Savesets (not incomplete) that haven't be cloned (copies=1).

Use mminfo -s server -q "copies=1,!incomplete" ....
to get all not cloned yet but valid savesets.
It will avoid you to try to clone invalid SS.

Have fun,

Thierry

Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HPCI - Storage & Server Integration Practice 
Tru64 Unix and Legato EBS Consultant
                                   
 *********       *********   HEWLETT - PACKARD
 *******    h      *******   1 Rue de l'aeronef/Luchtschipstraat
 ******    h        ******   1140 Bruxelles/Brussel/Brussels
 *****    hhhh  pppp *****   
 *****   h  h  p  p  *****   100/102 Blv de la Woluwe/Woluwedal
 *****  h  h  pppp   *****   1200 Bruxelles/Brussel/Brussels
 ******      p      ******   BELGIUM
 *******    p      *******                              
 *********       *********   Phone :    +32 (0)2  / 729.85.42   
                             Mobile :   +32 (0)498/  94.60.85 
                             Fax :      +32 (0)2  / 729.88.30   
     I  N  V  E  N  T        Email :    thierry.faidherbe AT hp DOT com
                             Internet : http://www.hp.com/
________________________________________________________________________

MOBISTAR SA/NV 

SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2  / 745.75.81  
Avenue Jean Mermoz, 32          Fax :   +32 (0)2  / 745.89.56  
6041 GOSSELIES                  Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM                         Web :   http://www.mobistar.be/
________________________________________________________________________

  


-----Original Message-----
From: Robert L. Harris [mailto:Robert.L.Harris AT RDLG DOT NET] 
Sent: Wednesday, December 04, 2002 3:52 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Specifying mminfo -t times older than 30 days


We currently use:

/usr/sbin/mminfo -s $legatoserver -t 'last month' -q
'level=full,pool=ONSITE' \
  -v -o tR -r 'client,name,ssid,ssflags,nsavetime,copies,totalsize

to get a list of save sets to clone to offsites.  The problem is there
are files from 2+ months ago that didn't get cloned off for various
reasons.  Is there an option to pass for "last month or older" that can
be put into the scripts?  I've read up the mminfo and the nsr_getdate
man pages but they doesn't give anything I can use.

Thoughts?
  Robert




:wq!
------------------------------------------------------------------------
---
Robert L. Harris                     | PGP Key ID: FC96D405

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

--
Note: To sign off this list, send a "signoff" 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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff" 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>