Networker

Re: [Networker] Identifying backups, policies, and tapes

2004-12-15 15:09:59
Subject: Re: [Networker] Identifying backups, policies, and tapes
From: "Fields, David" <David.Fields AT ACS-INC DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 15 Dec 2004 15:07:53 -0500
Glad to know I'm not the only one that would like to be able to do this.  I
could always pull the nsrinfo/mminfo/nsrls info like you are doing and put
it into some kind of database which could track this, but as you said, it
will probably never be right because our logic probably won't match
Networker's logic on how they track that stuff.  You would think that this
would be easy to do, but it's not.

Thanks for your reply.  If I come up with something, I'll let you know as
well.

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU] 
On
Behalf Of Faidherbe, Thierry
Sent: Tuesday, December 14, 2004 3:23 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Identifying backups, policies, and tapes

David,

I already seriously reverse-engineered mminfo/nsrinfo/nsrls
to gather/retrieve to which FULL-SSID an differential
SSID may refer to or which parent SSID an
incremental or other level differential may have
(It's another wording to your original question).

Up to now, I always failed in getting valid result : It's not always
last full bkp an uncremental/differential may rely on, you can
easily give save command a different nsavetime your last full may have.

I am still working on it. If I find a way, I will let you know.

HTH,

Th



Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions 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/MSN : thierry.faidherbe AT hp DOT com
                             Internet  : http://www.hp.com/
________________________________________________________________________

MOBISTAR SA/NV

CSO/CTO/CEO/SSD/SBI
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: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Fields, David
Sent: Monday, December 13, 2004 10:51 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Identifying backups, policies, and tapes

Does anyone know how to write script that can tell me what tapes are
required based on the browse and retention polices for any given server
at
any specified point in time?  For example, if you use Full/incremental
backups for all backups, and a browse/retention policy of say, 4 weeks
as
our working parameters (in this case, there's no reason for the
retention
policy to exceed the retention policy).  If you run a backup on the
following schedule:

   1     2    3    4     5    6   7    8    9   10   11   12
  Mon  Tues  Wed  Thur  Fri  Sat Sun  Mon  Tue  Wed  Thu  Fri
  Full Incr  Incr Incr  Incr Skp Skp  Incr Full Incr Incr Incr

Then, the Full that was taken on the first Monday can't expire until all
of
the incrementals that it depends on expire, in this case the
incrementals on
steps 2-8.

Basically, what this means is that the tapes used in these backups also
share these dependencies (and usually others).   However, I can't seem
to
find a way to see a list of what tapes are needed in a report so that I
can
verify when a tape is supposed to be expiring.  I can write a script to
infer the information by figuring out what tapes were used for a the
full
and incremental backups, but I would like for the report to be based on
what
Networker thinks the are the dependencies involved.  I suppose I could
go to
the Networker User program and see what times it would require to
perform a
"full restore" on the date of the last incremental of the chain since
that
should show me the same tapes, but again, that is not really what I'm
wanting to do.

If anyone knows how to do this, please let me know.  I've poured over
the
mminfo and nsrinfo commands, but I don't see anything that can generate
this
type of report.

Thanks

David

--
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. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
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. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
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. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=