Subject Re: [firebird-support] Cannot restore mend-ed database
Author Ann W. Harrison
On 11/17/2010 8:22 AM, Milan Babuskov wrote:
>
> I have a corrupt database, which I cannot backup. I run gfix -mend, it
> seems to report that it's ok, but I get a weird error message when
> trying to backup:
>
> root@datafields:/baze# /opt/firebird/bin/gbak -b fix.fdb fix.fbk
> gbak: ERROR:I/O error for file "/baze/fix.fdb"
> gbak: ERROR: Error while trying to read from file
> gbak: ERROR: No such file or directory
> gbak:Exiting before completion due to errors
>

Is it possible this is a multi-file database? A gstat of the
header page might give hints. Also, when working with dicey
databases, I tend to use the -g switch on backup to avoid
running into problems on back versions that I don't care about.

Good luck,

Ann