Subject | Re: Capture the output of GBAK console process and display on your GUI applicati |
---|---|
Author | Chau Chee Yang |
Post date | 2007-12-08T04:44:07Z |
> If you are using Delphi, why on earth are you trying to run gbak?Using a Services API, you can use a purpose-built component, to run
the backup or restore and watch the verbose output in a TMemo...
Yes. I know there are components in Delphi support Services API.
However, there is a problem with using Service API.
To restore a database on network, I have to find a way to transfer my
file from client to firebird host. Only then I can use the service
manager API to perform restore process. If I use GBAK, I can perform
the operation directly without transfer the file to firebird host:
gbak.exe -c -v -user sysdba -pas masterkey c:\mybackup.fbk
myhost:/tmp/mydb.fdb
It would be great if there are ways to use service manager API to
perform such remote restore operation.
The problem is same for backup operation. After I backup the database
using service API, how could I get the file from my firebird host to
my local pc? Using GBak save me from setup addition service to
retrieve files.