Subject | Re: End of Restore notification? |
---|---|
Author | prairiedechien |
Post date | 2006-11-22T14:09:21Z |
Hello Nando,
What do you mean by "fetching restore information items"? To be
connected to the restoring database and counting the restored records?
I think it is dangerous and may lead to DB corruption. What do you
think?
Is there any possibility to ask the server if the resore is finished?
Thanks
Christophe.
--- In firebird-support@yahoogroups.com, Nando Dessena <nando@...>
wrote:
What do you mean by "fetching restore information items"? To be
connected to the restoring database and counting the restored records?
I think it is dangerous and may lead to DB corruption. What do you
think?
Is there any possibility to ask the server if the resore is finished?
Thanks
Christophe.
--- In firebird-support@yahoogroups.com, Nando Dessena <nando@...>
wrote:
>with
> Christophe,
>
> p> I execute a restore on a DB through the API (starting a service
> p> isc_action_svc_restore).program)
>
> p> Once the operation is started on the server, the client (my
> p> automatically receives the control back and is able to continue
> p> processing. The restore is started asynchronously on the server.
>
> you should keep fetching restore information items (possibly on a
> separate thread); when they are over, then the restore is finished.
> That's how FlameRobin does it.
>
> Ciao
> --
> Nando Dessena
> ======================================================
> I support Firebird, I am a Firebird Foundation member!
> Join today at http://www.firebirdsql.org/ff/foundation
> ======================================================
>