Subject | Re: Query server about backup service |
---|---|
Author | Christophe Brunin |
Post date | 2006-02-28T12:42:12Z |
I run backup with isc_service_start and isc_action_svc_backup
I already tried to query the service with isc_info_svc_running but it
always returns TRUE even when the backup is finished.
Any other suggestion?
Tx.
Christophe.
--- In firebird-support@yahoogroups.com, "Rony Cesana" <r.cesana@...>
wrote:
I already tried to query the service with isc_info_svc_running but it
always returns TRUE even when the backup is finished.
Any other suggestion?
Tx.
Christophe.
--- In firebird-support@yahoogroups.com, "Rony Cesana" <r.cesana@...>
wrote:
>this
> ----- 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
> > in a program. My problem is that the server is still backuping theprevents the
> > database when my program tries to start the restore. This
> > restore to complete because the backup file is locked (ofcourse...).
> > Do you know if it is possible to query the server about a taskrunning?
> > How? Thanksit with
> >
> > Christophe Brunin.
>
>
> I suppose it depends on HOW you run the backup... if you're doing
> the Services API I think you could call isc_service_query,providing
> isc_info_svc_running in the request buffer...
>
> Rony
>