Be aware - the hoursago default is 24 hours - If you do not have it you get 24,
you may need to extend that to 48 or 72 depending on your longest running
backup. The date is based on backup START time, so if your backup started more
than 24 hours ago you MUST put extended time.
I set up aliases on my unix master for last 72 hours incomplete and a separate
one that I run on Monday that goes back a week just to check.
There is a nbstlutil command option that will list incomplete jobs (nbstlutil
stlilist -image_incomplete), but the bpimagelist -stl_incomplete has better
information and depending on your NB version can be much faster.
nbstlutil stlilist -image_incomplete
V6.5 I inorap04-backup_1320951118 LTO5-NORA4-8wk-Vault03 2
V6.5 C med03np-LTO5 2
V6.5 I inorap02-backup_1320971367 LTO5-NORA2-8wk-Vault04 1
V6.5 C med04np-LTO5 1
V6.5 I cbcseagull01wd.cbc.local_1320975294 LTO5-VM-8wk-Vault03 2
bpimagelist -L -idonly -hoursago 72 -stl_incomplete | sort +3r +4r +5rn
Time: Thu Nov 10 20:39:58 2011 ID: cbcweb01wd.cbc.local_1320975598 FULL (0)
Time: Thu Nov 10 20:34:54 2011 ID: cbcseagull01wd.cbc.local_1320975294 FULL
Time: Thu Nov 10 19:29:27 2011 ID: inorap02-backup_1320971367 UBAK (2)
Time: Thu Nov 10 13:51:58 2011 ID: inorap04-backup_1320951118 UBAK (2)
Be careful around month end, since the sorting can put last month at the top.
Date: Tue, 8 Nov 2011 18:15:59 +0200
From: Bahadir Kiziltan <bahadir.kiziltan AT gmail DOT com>
Subject: Re: [Veritas-bu] Script to Monitor SLP Status?
To: Rusty Major <rusty.major AT sungard DOT com>
Cc: VERITAS-BU AT mailman.eng.auburn DOT edu
<CAH843aKH9Gf-EA7nzHbA_G=aWE9YpmyBFMV4V2DEHBJAvHuT9g AT mail.gmail DOT
Content-Type: text/plain; charset="utf-8"
bpimagelist -L -idonly -hoursago 24 -stl_incomplete | sort +3r +4r +5rn
On Tue, Nov 8, 2011 at 5:59 PM, Rusty Major <rusty.major AT sungard DOT com>
> Does anyone have a script to monitor the status of SLP backlog? I need to
> implement this but thought I?d check here first instead of reinventing the
> *Rusty Major, MCSE, BCFP, VCS* ? Sr. Storage Engineer ? SunGard
> Availability Services ? 757 N. Eldridge Suite 200, Houston TX 77079 ?
> Keeping People and Information Connected? ?
> P *Think before you print*
> CONFIDENTIALITY: This e-mail (including any attachments) may contain
> confidential, proprietary and privileged information, and unauthorized
> disclosure or use is prohibited. If you received this e-mail in error,
> please notify the sender and delete this e-mail from your system.
> Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu