Subject Re: [firebird-support] gbak error: page of wrong type
Author Mohammad Jeffry
I also had this problem. I've documented on how I fix it at my blog. Excuse
the "broken english". I did lost some data though ( reported by my uses)
http://linuxlah.blogspot.com/2006/03/my-bird-is-on-fire-and-my-balls-is.html

On 2/8/06, Ann W. Harrison <aharrison@...> wrote:
>
> kapsee wrote:
> > When trying to create a database from an fbk file, I am getting the
> > 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
>
> That one is really strange. How big is the .fbk file? The problem
> 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
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


--
And whoever does an atom's weight of evil will see it.


[Non-text portions of this message have been removed]