Subject RE: [firebird-support] gbak Huge problem
Author Alan McDonald
> After both calls, I would like to check ERRORLEVEL result values.
> Usually 0 means "everything fine". And values != 0 mean "some errors".
> Is this the case for gbak? Can I RELY on that behavior?
> I mean, am I totally save to only have the fbk, if my fdb is
> lost, but gbak
> returned 0 both times?
> Regards,
> Steffen

You should always restore your backup to a temporary file and check the exit
code for the restore operation. Rely on this, not the backup exit code.