Veritas-bu

Re: [Veritas-bu] Quarterly Backups and Calendar Schedule [NC]

2008-03-28 11:02:11
Subject: Re: [Veritas-bu] Quarterly Backups and Calendar Schedule [NC]
From: misha.pavlov AT sgcib DOT com
To: "Randy Samora" <Randy.Samora AT stewart DOT com>
Date: Fri, 28 Mar 2008 10:44:23 -0400
Define the "easier way", please. Scripting ?

What's the stubmling block - figuring out last friday of the quarter ? - 
wouldn't that be last Friday of the last month of the quarter, which is 
actually known in advance.
I.e. last last Fridays of Mar, Jun, Sep, Dec - correct ?
Jan, Feb, Mar
Apr, May, Jun
Jul, Aug, Sep
Oct, Nov, Dec

In this case:

for month in 3 6 9 12 ; do
        day=$(last_friday_of $month)
        /usr/openv/netbackup/bin/admincmd/bpplschedrep POLICY 
QUARTER_END_SCHEDULE -incl $day
done

Where last_friday_of is your script/function you have mentioned saying "I 
can do last Friday of the month"

Or I am missing smthng ?


--
Misha Pavlov
This message uses only 100% recycled electrons.



"Randy Samora" <Randy.Samora AT stewart DOT com> 
Sent by: veritas-bu-bounces AT mailman.eng.auburn DOT edu
03/28/2008 10:00 AM


To
<VERITAS-BU AT mailman.eng.auburn DOT edu>
cc

Subject
[Veritas-bu] Quarterly Backups and Calendar Schedule






Does anyone know of an easier way to configure a Quarterly backup
schedule to run on the last Friday of the Quarter other than going in
and manually selecting those 4 dates in the year for each policy?  I can
do last Friday of the month but not last Friday of the Quarter.  Just
wondering if there was an easier way.

Thanks,
Randy

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


*************************************************************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration.   
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates 
shall be liable for the message if altered, changed or falsified. 

*************************************************************************
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu