Subject | Database corruption with FB 1.5 on Linux... Please help |
---|---|
Author | vladman992000 |
Post date | 2013-02-08T18:35:56Z |
We have a Firebird 1.5 Super Server database on Linux running that decided last week to stop successfully completing a backup with GBAK.
After running for about an hour, it fails with the following error:
gbak: ERROR: database file appears corrupt ()
gbak: ERROR: wrong page type
gbak: ERROR: page 12726 is of wrong type (expected 7, found 5)
gbak: ERROR: gds_$receive failed
gbak: Exiting before completion due to errors
I can shutdown the Firebird server, successfully copy the FDB file to another name. The original FDB file seems to be working perfectly well for normal operations, other than this backup problem.
When attempting to run GFIX on it, with a -v option, it finds one index page that is bad. When running GFIX with -full option, it returns:
Number of record level errors : 5
Number of index page errors : 5
Number of database page errors : 52117
What is the best approach to address this corruption?
Thanks in advance for any assistance.
Myles
After running for about an hour, it fails with the following error:
gbak: ERROR: database file appears corrupt ()
gbak: ERROR: wrong page type
gbak: ERROR: page 12726 is of wrong type (expected 7, found 5)
gbak: ERROR: gds_$receive failed
gbak: Exiting before completion due to errors
I can shutdown the Firebird server, successfully copy the FDB file to another name. The original FDB file seems to be working perfectly well for normal operations, other than this backup problem.
When attempting to run GFIX on it, with a -v option, it finds one index page that is bad. When running GFIX with -full option, it returns:
Number of record level errors : 5
Number of index page errors : 5
Number of database page errors : 52117
What is the best approach to address this corruption?
Thanks in advance for any assistance.
Myles