Veritas-bu

[Veritas-bu] Backup Audit script...

2005-03-29 17:21:58
Subject: [Veritas-bu] Backup Audit script...
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Tue, 29 Mar 2005 15:21:58 -0700
So you want a script that says on what day a backup runs?

It's no so easy to generate.  It's really a function of when the window is
open AND the frequency of the backup.  My archived-redo backups are 7x24
windows (with a few 1x168's I think) and a two-hour frequency.  It runs 12
times a day based on this window.  Still others have two open windows per
week but the frequency keeps it to running only once per week (unless
there's a backup failure the first attempt).  I call these "second chance"
schedules.

You might just print the policy for them: 

  bppllist <policy_name> -U

... or, perhaps, all policies for a given client:

  bppllist -byclient <clientname> -U

and the schedule windows & frequency are there:

  Schedule:          Incr
    Type:            Differential Incremental Backup
    Frequency:       every 1 day
    Maximum MPX:     4
    Synthetic:       0
    PFI Recovery:    0
    Retention Level: 4 (2 months)
    Number Copies:   1
    Fail on Error:   0
    Residence:       (specific storage unit not required)
    Volume Pool:     (same as policy volume pool)
    Daily Windows:
          Sunday     04:00:00  -->  Sunday     16:00:00
          Monday     04:00:00  -->  Monday     16:00:00
          Tuesday    04:00:00  -->  Tuesday    16:00:00
          Wednesday  04:00:00  -->  Wednesday  16:00:00
          Thursday   04:00:00  -->  Thursday   16:00:00
          Saturday   04:00:00  -->  Saturday   16:00:00

...It's a start.  Other than that, if you've got different ideas, lots of
things are possible but you'll have to detail your question a little more.

-M



-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of ZIMMER, 
RANDY K
[AG/1000]
Sent: Tuesday, March 29, 2005 10:26 AM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Backup Audit script...


Has anyone written a script to do a backup audit?  We have something in
place to get information about our backups but the hardest thing to get is
the days of the week the backup runs. The user comes back and says I see my
backup is active but when does it run?  Can anybody help on this?
Randy Zimmer
Unix System Administrator
Monsanto Enterprise Infrastructure Team
Office:  314-694-3109
Pager:  314-294-7966
rkzimm AT monsanto DOT com