Subject Re: [firebird-support] Problem with GBAK.exe and Firebirs 1.5 and Interbase 6
Author Helen Borrie
At 07:31 PM 26/02/2004 +1100, you wrote:
> > >a client has Firebird 1.5 over Win2k and Interbase 6 over NT4. So I am
> > >trying to backup all databases from 1 .batch
> > >The problem is that gbak (from firebird\bin) works only for Firebirds
> > >databases, but when I try to backup the database from interbase it fails,
> > >so I had to copy gbak.exe from interbase into a "temp" directory to be
> > >able to backup that database. Is it possible to make it work with
> > >firebird's gbak.exe?
>
>
> > It wouldn't solve your problem. Firebird's gbak will make a backup file
> > that has to be restored by Firebird's gbak, and Firebird's gbak makes
> > Firebird (not InterBase) databases. InterBase 6 server wouldn't be able to
> > read the backup file if you needed to restored the database.
>
>
>mmm, but I am actually using Interbase's GBAK.exe to create the backup file,
>and then using Firebird's gbak.exe to restore it to the Firebird Server,

Yes, that is the correct way to upgrade an IB 6 database to Firebird.

>and
>it works ok, so does this means that I can not use Firebird's gbak to read
>intebase's DBs,

No. It means you can't use IB's gbak to read Firebird's fbk/gbk files.

>but the .gbk file is 100% compliant?, and that is why I can
>restore it with a different gbak.exe?

Hmmmm....

You can restore an IB gbk using Firebird's gbak, to make a Firebird database.
You can not back up a Firebird 1.5 database with IB's gbak at all.
You can not restore a Firebird fbk of your IB database using IB's gbak, in
order to make it into an IB database again.

Does that clear it up?

/heLen