Veritas-bu

Re: [Veritas-bu] Need help in scripting

2011-07-07 11:18:06
Subject: Re: [Veritas-bu] Need help in scripting
From: nbuser <nbuser AT live DOT com>
To: Nic Solomons <Nic.Solomons AT attenda DOT net>
Date: Thu, 7 Jul 2011 08:10:30 -0700
Thanks Nic thats exactly what i needed.

On Thu, Jul 7, 2011 at 1:38 AM, Nic Solomons <Nic.Solomons AT attenda DOT net> wrote:

You’re just looking in the policy name for ndmp, right? (bpdbjobs without modifiers doesn’t include policy type).

 

Why not just use:

 

“bperror –backstat –hoursago 24 | grep –i ndmp | grep –i “EXIT STATUS 1”

 

Cheers,

Nic

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of NBU
Sent: 22 June 2011 15:56
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Need help in scripting

 

Hello folks,

I have a requirement where we need to check NDMP backups which completed with status code 1 (Partial backups) in last 24 hours.

I usually run below command to check the output

bpdbjobs | grep -i ndmp | grep -i "Done 1"

I am not good in scripting, so can someone help me make a script which should check the current date and get the output just 24 hours ago.

Thanks in advance,

Saran

Image removed by sender.


Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye!


The information contained in this e-mail and its attachments is confidential. It is intended only for the named address(es) and may not be disclosed to anyone else without Attenda's consent.

_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>