Subject Re: [firebird-support] Re: Problems with security2.fdb on vista and windows 2008
Author Helen Borrie
At 11:55 PM 30/10/2008, you wrote:
>Hmm. Maybe it's got to do with Vista's way of hiding to "real path" of
>files. Actually/physically the database is in "c:\program
>files\firebird\security2.fdb". But you can also "find it" via
>"c:\programme\firebird\security2.fdb". But I assume that firebird's
>got a problem with that. Firebird maybe "thinks" that it is a
>different database.
>I remember the "old InterBase times" when you could corrupt a database
>by accessing it via two different paths.

Indeed. But Firebird completely disallows it. And the rule still stands: you can not access databases through shares, forwards, etc.

Why not use an alias?

In aliases.conf I have

sec = c:\Program Files\Firebird\Firebird_2_1\security2.fdb

Then, in your conventional gbak call, replace the database path with 'sec'.

(Note that you can't use an alias for the backup file name, since this is a filesystem object.)

./heLen