1
I am trying to recover a corrupted database using Firebird’s own utilities. When logging in to the bank you have the following error:
database file appears Corrupt ()
bad checksum
checksum error on database page 21708
I tried some procedures by gfix and gbak :
gfix -v -f -i DADOS
gfix -m -i DADOS
gbak -g -b -z -l -v DADOS
I was unsuccessful in any case.
I just had this return of different :
Wrong page type
page 21708 is of Wrong type (expected 3, found 69)
Has anyone ever tried to recover banks with this kind of mistake? I use Firebird 2.5
Friend, these are the commands I’ve tried. Even by this link you passed. Thank you
– Bruno Ferreira
https://www.devmedia.com.br/forum/reparar-bd-firebird-corrompido/59054
– DbaAlone
See if this helps
– DbaAlone
I found a similar error, but there is no success in restoring.
– DbaAlone
https://edn.embarcadero.com/article/25136
– DbaAlone
I did the procedures of the links but always get the same result. I thank for the effort, but I believe that it will not be possible to recover this bank. I read something about changing the value of the page with error by a hex editor, but I could not locate the record with error.
– Bruno Ferreira
Didn’t you ever make a bakcup that you can recover? because apparently this error/ corruption has no way back :(
– DbaAlone
I have a backup but a little old. It was due to hard drive failure that suffered a fall.
– Bruno Ferreira