Subject | AW: [firebird-support] gbak Huge problem |
---|---|
Author | Steffen Heil |
Post date | 2004-07-17T09:59:55Z |
Hi
Is this reliable? What, if backup fails with exitcode != 0, couldn't it in
theorie result in an incomplete but syntactically correct fbk file? That
would result in a correct restore without neccesarry information?
Therefor I wanted to check both.
Primary my question was: Can I rely on exit codes being != 0 if anything
happend?
Regards,
Steffen
> You should always restore your backup to a temporary file and check theexit code for the restore operation. Rely on this, not the backup exit code.
Is this reliable? What, if backup fails with exitcode != 0, couldn't it in
theorie result in an incomplete but syntactically correct fbk file? That
would result in a correct restore without neccesarry information?
Therefor I wanted to check both.
Primary my question was: Can I rely on exit codes being != 0 if anything
happend?
Regards,
Steffen