Subject Re: [ib-support] gbak issue
Author Helen Borrie
At 11:44 PM 02-12-02 +0000, you wrote:
>Hello,
>
>I'm having a funny issue with gbak.
>
>When I try and backup a database I get the following:
>gbak: ERROR: unavailable database
>gbak: Exiting before completion due to errors
>
>However the database defintely exists and is available (I can
>connect to it via ibconsole).
>
>Command line is as follows:
>"c:\program files\firebird\bin\gbak" -
>backup "d:\database\marketinfo.gdb" "d:\dbbackup\marketinfo.gbk" -
>user sysdba -password masterkey
>
>I can't understand why it won't work. Has anyone got any ideas?
>
>I'm using Firebird 1.0

Ben,
I've just performed a backup using your exact syntax here, on a NT4 SP 6a
server, no problems. I'm logged in as Administrator and I'm not connected
to the database with any other application (such as IBConsole).

I don't know the answer; but if you are connected with ibconsole, perform
an explicit disconnect and exit from the program before attempting your
gbak. It's possible that ibconsole is already connected using a different
path string format, which will cause any other connection to find an
unavailable database if its connection string format is not the same.

heLen