|
From: Alex P. <pe...@in...> - 2004-04-11 12:20:20
|
Hello, Leonel! <<< From: fir...@li... [mailto:fir...@li...] On Behalf Of Leonel Sent: Wednesday, March 03, 2004 6:52 AM To: fir...@li... Subject: [Firebird-devel] Firebird 1.5 on Linux fails to restore a Database Hi all, Firebird 1.5, on Linux, is not able to restore a database backup it has just created. I've been able to reproduce this behaviour on fresh installations of FB on two different machines. I used a new database created by our application and filled with sample data. Note that the database works fine before the backup, and it backups and restores without problems on Windows. The backup file generated on Linux also restores without problems on Windows. Here's the error I've been getting: [leonel@server leonel]$ /opt/firebird/bin/gbak DataBase.fdb DataBase.fbk -user SYSDBA -pass masterkey [leonel@server leonel]$ /opt/firebird/bin/gbak DataBase.fbk DataBase.fdb -user SYSDBA -pass masterkey -C -R gbak: ERROR: I/O error for file "" gbak: ERROR: Error while trying to open file gbak: ERROR: Permission denied gbak: Exiting before completion due to errors The restore stops there, and the database is now corrupt. The database backup created by the first step is available here: ftp://ftp.supersoft.com.br/DataBaseFbk.zip (~450kb) The original database is avalaible here: ftp://ftp.supersoft.com.br/DataBaseFdb.zip (~1150kb) All this with Firebird 1.5 Final on Conectiva Linux 9. Successfull tests of the same scenario on Firebird 1.5 Final on Windows XP. Thanks in advance. -- Leonel >>> I could not reproduce this bug for firebird 1.5.1 on RedHat 9.0 with 2.6.2 kernel. Database restores without any problems. Alex. |