Subject Re: [ib-support] Re: How to assure backup is OK
Author Ivan Prenosil
> 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 restore.
> One of my problems is that gbak does not return any numeric error codes (I
> use to post this problem often in firebird-devel, but no single soul have
> 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 log
> just for 'Going Home' at the end.

But GBAK does return errorcode. On Windows you can test it like
GBAK -C ....