Subject Re: [firebird-support] Copying DB
Author Helen Borrie
At 11:47 AM 5/11/2008, you wrote:
>Hi Ann
>
>I knew that, unfortunately I can guarantee other people are using the DB
>(the multi threaded app that is doing the backup for one !). I was
>really wondering if there was a switch for Gbak that could be used to
>say, dont backup just copy or something else I hadn't thought of :)

Gbak isn't a file-copy program; but even if were, you wouldn't use it to try to get a "copy" of a running database, for several well-documented reasons.

Gbak is a client application, even when its code is run internally by the service manager. Gbak never gives you an image of the database file so there's no such animule as "don't backup just copy". As a client, it starts a snapshot transaction, does its thing (which is to read stuff and write it out to a text file) and finally commits its transaction. So the data you get is a text representation of the latest committed version of each record at the time gbak started the transaction.

./heLen