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();
>...
>backupSvc.Execute();
>
>if (backupSvc."result")
>
> Console.writeln("OK");
>
>else
>
> Console.writeln("Failure Backup");
>
>
>
>Thank's a lot
>Bye
> 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
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br