Subject | Re: [ib-support] Automatic Backup & Validation Procedure |
---|---|
Author | Helen Borrie |
Post date | 2002-03-22T02:10:03Z |
At 12:12 AM 22-03-02 +0000, Artur Anjos wrote:
you won't get these on any platform but Windows.
<g>...in any case, unless you choose the -v(erbose) -y switches, and push
the output into a file which you later parse somehow, you won't be able to
isolate the problem that caused errorlevel 1.
of some kind, since all of the gbak verbose output is in English and some
of those messages are REALLY obscure (even to a native English speaker with
an Honours degree in Descriptive Linguistics!!) I guess all I can
recommend right now is that you look at the BURP source and check this. I
would *really* appreciate someone doing this and, if it's there, to donate
their work to the Cause, so that I can document it.
effort? I *do* recall seeing _somewhere_ a Linux shell script that someone
made for an automated backup...I really-really want this stuff.
cheers
Helen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________
>a) Anyone knows if GBak produces some Errorlevel output?Yes: Errorlevel 0 for success, Errolevel 1 for failure. Unfortunately,
you won't get these on any platform but Windows.
>b) It's ok to use the gbak error messages on pages 168...173 from OperationsIf any new messages were added in Firebird, I don't know about them yet
>Guide, or is there any other messages that were append/eliminated in
>Firebird?
<g>...in any case, unless you choose the -v(erbose) -y switches, and push
the output into a file which you later parse somehow, you won't be able to
isolate the problem that caused errorlevel 1.
>(Nothing related in Release Notes from Helen). And are thisIt would be _proper_ if the gbak messages were identified by a number code
>messages ok? In this kind of parsing I'm sure I will have some error related
>to some string not exactly as the manual...
of some kind, since all of the gbak verbose output is in English and some
of those messages are REALLY obscure (even to a native English speaker with
an Honours degree in Descriptive Linguistics!!) I guess all I can
recommend right now is that you look at the BURP source and check this. I
would *really* appreciate someone doing this and, if it's there, to donate
their work to the Cause, so that I can document it.
>c) I don't know if this is the best approach for this problem. Is someoneIf so, again, may I request that it be donated to the documentation
>doing some kind of automatic verification of backup operation in some
>different way? I'm re-inventing the wheel here?
effort? I *do* recall seeing _somewhere_ a Linux shell script that someone
made for an automated backup...I really-really want this stuff.
cheers
Helen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
_______________________________________________________