Subject | Re: [firebird-support] backup via API |
---|---|
Author | Martijn Tonies |
Post date | 2004-04-14T09:35:39Z |
Hi,
and going home" or something like that, if the backup has been
completed. when an error occurs, this line isn't in the output.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com
> I have created for our customers (no experienced computer users) aAs far as I know, the last line should contain "complete, closing
> backup utility, which can be scheduled at a specific time.
>
> I am not using gbak.exe directly. Instead I am using the api (calling
> sevice_start to start the backup and calling service_query to get a
> line of output from the backup thread).
>
> When no error occurs, everything works fine. When some error occurs
> (i.e. disk is full) I don't get a return code or error message from
> service_query. So the backup just stops, IB server deletes the
> incomplete backup file and my application can't distinguish between
> success and failure.
>
> Can anyone help me?
and going home" or something like that, if the backup has been
completed. when an error occurs, this line isn't in the output.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com