Subject Re: [firebird-support] Backup result
Author Alexandre Benson Smith
Alberto Pesce wrote:

>Hi all,
> there is any method for verifing the result of a backup. like
>FbBackup backupSvc = new FbBackup();
>if (backupSvc."result")
> Console.writeln("OK");
> Console.writeln("Failure Backup");
>Thank's a lot
> AP
gbak return errocodes to the OS, or you could look on the output, if it
has the following stirng
"Finishing closing and goig home"

if it has, then the restore is ok, else it failed

(ATTENTION: run a restore to see the exact message, maybe there is some
missing commas in the text I supplied)

see you !

Alexandre Benson Smith
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil