Subject Re: [ib-support] Re: How to assure backup is OK
Author Artur Anjos
Hi Ivan

Yes, it returns a errorlevel, but no numeric error messages. If you need to
parse a text file (such as the log that gbka creates) it's much easy to
parse a error code than to parse a string code.


----- Original Message -----
From: "Ivan Prenosil" <prenosil@...>
To: <>
Sent: Wednesday, August 14, 2002 11:53 AM
Subject: Re: [ib-support] Re: How to assure backup is OK

> > From: Artur Anjos
> > Problem: even if GBak ends ok, we are not sure that we have a workable
> > backup. We must restore the file, and check for any error in that
> >
> > One of my problems is that gbak does not return any numeric error codes
> > use to post this problem often in firebird-devel, but no single soul
> > take a moment to answer me yet). It's very difficult to parse the result
> > file for a restore searching for a list of errors, so I check the result
> > just for 'Going Home' at the end.
> But GBAK does return errorcode. On Windows you can test it like
> GBAK -C ....
> Ivan
> Yahoo! Groups Sponsor
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.