Subject Re: [firebird-support] FB 1.5 gbak problem
Author Stefano Iraci
"Helen Borrie" <helebor@...> ha scritto nel messaggio
> At 06:17 PM 12/09/2003 +0200, you wrote:
> >Hi all,
> >
> >I heve downloaded FB 1.5.
> >Starting the first tests, usually I use IB 6.0.2, all seems OK. An
> >unexpected problem cames from GBAK.EXE.
> >Indeed I try to do a backup:
> >
> >D:\FBTest>gbak -b -v user sysdba pas masterkey sila.fdb sila.fbk
> >
> >and get this error:
> >
> >gbak: ERROR: unavailable database
> >gbak: Exiting before completion due to errors
> As Olivier pointed out, make sure you put hyphens on the -user and
> -password switches. At this point, gbak can't find a database called
> "user" - it hasn't got as far as your database name yet. You also need to
> include the full path (absolute, not relative) to the gbk file. Depending
> on how your DatabaseAccess is configured in firebird.conf, you may also
> need to do the same for the database file.

I als tried with the database name full path and I got the same error.

> By the look of things, you have moved gbak.exe into D:\FBTest. This ought
> to be possible but I don't know if it is. Anyway, it doesn't seem like a
> great idea. With the tightening up of filesystem security in Fb 1.5, it
> makes sense to keep the executables in their installed locations.

No I have created a new one for the test.

> In any case, in real life, you wouldn't store gbak.exe, database files and
> in the same directory - would you?

Of course.

Thanks for the help.