Subject Re: [firebird-support] gbak error
Author Helen Borrie
At 10:30 AM 13/04/2004 +0000, you wrote:
>Hi all,
>
>I want to restore a database from a backup I've
>made using gbak on another machine.
>The strange thing is, on some machines it works,
>on other machines it doesn't.
>If the backup doesn't work I get the following error:
>
>gbak: opened file c:\jumu\fb\mcm3.1.fbk
>gbak: transportable backup -- data in XDR format
>gbak: backup file is compressed
>gbak: ERROR: unavailable database
>gbak: ERROR: failed to create database c:\firebird\databases\x.fdb
>gbak: Exiting before completion due to errors
>
>My backup command:
>gbak -b -user sysdba -pas masterkey -v -y C:\x\backup.log c:
>\firebird\databases\mcm3.1.fdb C:\y\mcm3.1.fbk
>
>My restore command:
>gbak -r -user sysdba -pas masterkey -v -y c:\x\restore.log C:
>\temp\mcm3.1.fbk c:\firebird\databases\mcm3.1.fdb
>
>On each machine, FB 1.5 is running and works fine...
>
>Any ideas?

My guess is that the disk on which you did backup has data compression,
while some of the disks to which you are trying to restore do not. I don't
run compression on any of my disks to try it out but I have often wondered
whether compression would cause problems for transportable backups...

/heLen