Veritas-bu

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

2008-03-28 16:21:04
Subject: Re: [Veritas-bu] Quarterly Backups and Calendar Schedule [NC]
From: Bryan Bahnmiller <bryan.bahnmiller AT managedmail DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Fri, 28 Mar 2008 15:01:21 -0500
   This is one of those rare edge cases where I have to admit that the 
scheduling software is very nice to use. I had to do this previously, 
and we used Autosys to do these oddball schedules - first Monday of the 
month unless the 1st of the month falls on Saturday or Sunday, then use 
the second Monday of the Month....

   Of course, if you don't have one of those available...

-- 
Bryan Bahnmiller
"You can have it fast, cheap, reliable - pick any two."

> That's doing exactly what Randy wanted not to do: specifying specific
> days in a schedule. That means you will, eventually, have to go run that
> script again for another year.
> 
> Randy: no, there's no better way to do this within NetBackup's
> scheduling mechanism. Automating the schedule updates with something
> along the lines of what Misha describes reduces the irritation, but you
> just can't say things like "X day of a quarter" or "first Sunday after
> the last Friday in a month" with what NBU gives you. 
> 
> 
> --
> gabriel rosenkoetter
> Radian Group Inc, Unix/Linux/VMware Sysadmin / Backup & Recovery
> gabriel.rosenkoetter AT radian DOT biz, 215 231 1556 
> 
> 
> -----Original Message-----
> From: misha.pavlov AT sgcib DOT com [mailto:misha.pavlov AT sgcib DOT com] 
> Sent: Friday, March 28, 2008 10:44 AM
> To: Randy Samora
> Cc: VERITAS-BU AT mailman.eng.auburn DOT edu;
> veritas-bu-bounces AT mailman.eng.auburn DOT edu
> Subject: Re: [Veritas-bu] Quarterly Backups and Calendar Schedule [NC]
> 
> 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
> 
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu