Subject | Re: [firebird-support] Re: Capture the output of GBAK console process and display on your GUI applicati |
---|---|
Author | Helen Borrie |
Post date | 2007-12-08T05:07:27Z |
At 03:44 PM 8/12/2007, you wrote:
Describe exactly what it is that you are trying to do.
./heLen
>> If you are using Delphi, why on earth are you trying to run gbak?Now you've lost me. The backup/restore routines of the Services Manager and gbak.exe are the same code and they do the same things.
>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.
Describe exactly what it is that you are trying to do.
./heLen