Subject | Re: [firebird-support] FB 1.5 gbak problem |
---|---|
Author | Stefano Iraci |
Post date | 2003-09-15T07:33:21Z |
"Helen Borrie" <helebor@...> ha scritto nel messaggio
news:5.2.0.9.2.20030913104728.09fdd008@......
Thanks for the help.
Stefano
news:5.2.0.9.2.20030913104728.09fdd008@......
> At 06:17 PM 12/09/2003 +0200, you wrote:I als tried with the database name full path and I got the same error.
> >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.
> By the look of things, you have moved gbak.exe into D:\FBTest. This oughtNo I have created a new one for the test.
> 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.
> In any case, in real life, you wouldn't store gbak.exe, database files andbackups
> in the same directory - would you?Of course.
Thanks for the help.
Stefano