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
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
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.