Subject | Re: Can I copy the embedded database file on the fly? |
---|---|
Author | Adam |
Post date | 2006-05-30T03:00:21Z |
--- In firebird-support@yahoogroups.com, "Jeff Lynn" <jmlynn@...> wrote:
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
>Yes, you read it wrong.
> 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.
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