Subject Re: [firebird-support] Problem with GBAK.exe and Firebirs 1.5 and Interbase 6
Author Helen Borrie
At 05:36 PM 26/02/2004 +1100, you wrote:
>Hi Guys,
>
>a client has Firebird 1.5 over Win2k and Interbase 6 over NT4. So I am
>trying to backup all databases from 1 .batch
>The problem is that gbak (from firebird\bin) works only for Firebirds
>databases, but when I try to backup the database from interbase it fails,
>so I had to copy gbak.exe from interbase into a "temp" directory to be
>able to backup that database. Is it possible to make it work with
>firebird's gbak.exe?

It wouldn't solve your problem. Firebird's gbak will make a backup file
that has to be restored by Firebird's gbak, and Firebird's gbak makes
Firebird (not InterBase) databases. InterBase 6 server wouldn't be able to
read the backup file if you needed to restored the database.

>The instruction is:
>
>gbak -b -user SYSDBA -pas masterkey -SE Server1:service_mgr -T
>c:\databases\TheIB6DB.gdb d:\BCK_IB6.gbk
>
>and the error message:
>
>gbak: ERROR: Unable to complete network request to host "Server1".
>gbak: ERROR: Error reading data from the connection.
>gbak: ERROR: An existing connection was forcibly closed by the remote
>host.

Well, the cause of that is that each gbak works with its *own* version of
services manager. The one can not access the other's service - they are
incompatible. So, at the time you ran Firebird's gbak.exe, you were trying
to access the InterBase server manager and he didn't like it so he punched
your nose. :->

/heLen