Subject [firebird-support] Error while trying to backup database uder Firebird 1.5
Author Iliya Iliev
I'm using Firebird 1.5 Classic Server on a machine with Windows XP
Professional. I'm also using Delphi 5.0 and either Interbase Express or
FIBPlus components but I don't think that matters because they both make the
same call to isc_service_start.

I found a problem in the follwoing situation:

When trying to backup a database with non 8.3 compatible full filename (for
example: D:\Temp\Big test.gdb) the backup process fails
I get the following error:

----
gbak: ERROR: I/O error for file "D:\Temp\Big"
gbak: ERROR: Error while trying to open file
gbak: ERROR: The system cannot find the file specified.

gbak: Exiting before completion due to errors
----


From the given error I decided to pass the quoted full filename as the
database name ("D:\Temp\Big test.gdb") and gues what - everything worked
fine.
I then tried the same with the BackupFileName and this also worked. So I
decided that this was one of the differences from Firebird 1.0.3 and
Firebird 1.5 but I was wrong.
:(
Firebird 1.5 SuperServer gave me the following error when I tried to pass
the same quated DatabaseName:

----
Unable to complete network request to host ""D".
Failed to locate host machine.
The specified name was not found in the hosts file or Domain Name Services
----

with the unquoted DatabaseName everything was OK

It was the same with Firebird 1.0.3 SuperServer (no quotes - OK; quotes -
Failed to locate host machine)


So am I doing something wrong or this is a bug in either the client DLL
files (both fbclient.dll and gds32.dll were tested) or the 1.5 Classic
server itself?

Is there a workaround for that problem? Is there a way to tell which server
is used (Classic or SuperServer)?


--
Best regards,
Iliya Iliev
mailto:iliev@...