Veritas-bu

[Veritas-bu] schedule list?

2006-02-27 16:48:33
Subject: [Veritas-bu] schedule list?
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Mon, 27 Feb 2006 14:48:33 -0700
No, bppllist can be used for freq-based, either:

bppllist -allpolicies -U

...and visually sort for "Saturday" being listed, or:

bppllist -allpolicies & look for an open window on a Saturday.

Here's an awk script to find all unix & window policies that have a saturday
full backup (not counting calendar-based scheduling):

bppllist -allpolicies | awk '
{if($1=="CLASS"){p=$2}
 if($1=="INFO") {if($2==0||$2==13){good=1}else{good=0}}
 if($1=="SCHED"){if($3==0){set=1;s=$2}else{set=0}}
 if($1=="SCHEDWIN" && set==1 && $15>0 &&
good==1){printf("%25s\t%s\n",p,s)}}'


-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 Ed Wilts
Sent: Monday, February 27, 2006 1:08 PM
To: Barber, Layne (Contractor)
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] schedule list?


On Mon, Feb 27, 2006 at 12:54:06PM -0600, Barber, Layne (Contractor) wrote:
> Is there any command line prog I can use to list the schedules of ALL
> policies at once? I'm trying to find what policies are set to run fulls
> on Saturday.

bppllist only helps if you only use calendar-based scheduling.  If you're
using frequency-based scheduling, which most of us do, then it's next to
impossible to figure out.

So yes, you answer your first question, but it likely won't help you
determine what you're looking for.

        .../Ed

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>