BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} belog2bb.cmd on Windows 2003 & Veritas V9.1
- To: <bb@bb4.com>
- Subject: {bb} belog2bb.cmd on Windows 2003 & Veritas V9.1
- From: "Andrew Clarke" <andrew@bccit.co.uk>
- Date: Tue, 23 Aug 2005 13:10:03 +0100
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset="us-ascii"
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- Thread-index: AcVddPh64/OaMMlBEdmNBwBQBFVWxBKXCphQ
- Thread-topic: belog2bb.cmd on Windows 2003 & Veritas V9.1
Has anyone updated the belog2bb external script for Veritas BackupExec
V9 (which logs into XML files) and Windows 2003?
I've had a go but my DOS Batch skills are very rusty!
The main problems I've found so far (after altering the job to look for
BEX*.xml instead of BEX*.txt files) are:
1) The script seems to be expecting the "DATE /T" command to return the
day of the week. On our server it just returns dd/mm/yyyy
2) There's a nasty FOR line in the POST section that should return a
zero but is actually coming back with an errorlevel of 1 (causing the
script to abort). I've pulled this line out & run it in a small test
script & it returns zero :-
REM Check if there is a BEX*.xml file from today
FOR /F "Tokens=2" %%f IN ('DATE /T') DO DIR
"%BEDIR%\BEX*.xml"|FIND /I "%%f"
IF %ERRORLEVEL% GTR 0 GOTO LOGFILENOTFOUND
3) The xml format of the log files also seems to cause problems - the
findstr for "Job completion status:" fails - If I set it to look for
"J", I get - "J.o.b. .c.o.m.p.l.e.t.i.o.n. .s.t.a.t.u.s.: - but looking
for "J.o.b (etc)" also fails.
So, I'm hoping there's a Brother out there who has updated this script
already ...
Many thanks,
Andrew
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index