Re: [firebird-support] Query server about backup service
Author
Rony Cesana
Post date
2006-02-28T09:29:58Z
----- Original Message -----
From: "Christophe Brunin" <Christophe.Brunin@...>
To: <firebird-support@yahoogroups.com>
Sent: Tuesday, February 28, 2006 9:48 AM
Subject: [firebird-support] Query server about backup service
> Hello,
>
> I want to reorganize a database with a backup and a restore. I do this
> in a program. My problem is that the server is still backuping the
> database when my program tries to start the restore. This prevents the
> restore to complete because the backup file is locked (of course...).
> Do you know if it is possible to query the server about a task running?
> How? Thanks
>
> Christophe Brunin.
I suppose it depends on HOW you run the backup... if you're doing it with
the Services API I think you could call isc_service_query, providing
isc_info_svc_running in the request buffer...