Subject | Re: [firebird-support] Backup result |
---|---|
Author | Alexandre Benson Smith |
Post date | 2005-12-19T19:15:29Z |
Alberto Pesce wrote:
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
>Hi all,gbak return errocodes to the OS, or you could look on the output, if it
> 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
>
>
>
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