Subject | Re: [firebird-support] gbak error: page of wrong type |
---|---|
Author | Ann W. Harrison |
Post date | 2006-02-07T21:07:09Z |
kapsee wrote:
appears to be that gbak is reading an index (page type 7 is an index
page) and finding -1 which is a very bad page number.
Regards,
Ann
> When trying to create a database from an fbk file, I am getting theThat one is really strange. How big is the .fbk file? The problem
> following error. The fbk file should be fine (it used to work earlier)
> but gbak keeps complaining that the file is corrupt.
> /opt/firebird/bin/gbak -C TemplateDatabase.fbk RealData.fdb
> gbak: ERROR: database file appears corrupt ()
> gbak: ERROR: wrong page type
> gbak: ERROR: page -1 is of wrong type (expected 7, found 0)
> gbak: ERROR: failed to create database RealData.fdb
> gbak: Exiting before completion due to errors
appears to be that gbak is reading an index (page type 7 is an index
page) and finding -1 which is a very bad page number.
Regards,
Ann