Subject Re: Can I copy the embedded database file on the fly?
Author Adam
--- In firebird-support@yahoogroups.com, "Jeff Lynn" <jmlynn@...> wrote:
>
> May be I read it wrong, I didn't go back to check previous postings.
> I thought "being embedded" I don't have the option of service API.

Yes, you read it wrong.

Gbak CAN NOT connect to your embedded database server.
Your application CAN connect to your embedded database server, and
there is no reason you can't access the services API from there.

Create a new thread, connect to the services API from that thread (in
its own dedicated connection) and run the backup. No semaphores, no
bottleneck.

Adam