Subject | Re: [firebird-support] FB 1.5 gbak problem |
---|---|
Author | Helen Borrie |
Post date | 2003-09-13T00:59:55Z |
At 06:17 PM 12/09/2003 +0200, you wrote:
-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 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. In any
case, in real life, you wouldn't store gbak.exe, database files and backups
in the same directory - would you?
heLen
>Hi all,As Olivier pointed out, make sure you put hyphens on the -user and
>
>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
-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 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. In any
case, in real life, you wouldn't store gbak.exe, database files and backups
in the same directory - would you?
heLen