Subject RE: [firebird-support] Consistency Check When Backing Up
Author Alan McDonald
> Greets:
>
> I get the following error when attempting to back up:
> gbak: writing data for table EVENTS
> gbak: ERROR:internal gds software consistency check (decompression
> overran buffer (179), file: sqz.cpp line: 222)
> gbak: ERROR: gds_$receive failed
> gbak: Exiting before completion due to errors
> gbak: ERROR:internal gds software consistency check (can't continue
> after bugcheck)
>
>
> Can anyone tell me the cause of this? It appears to happen regularly
> on this one system; I am starting to wonder if it is a Disk issue.
>
> Is it possible to repair the DB and extract the data from it? We need
> the data to verify work.
>
> Thanks in advance.
> Kurt.

First, don't move the file or try to use it further. Copy it while no
connections to the server are current.
Then check the switches for gbak (ignoring whatever) and try them
If they still don't do anything, your best bet is to make another shell of
the database (make a metadata backup - this should work) and create this
shell. Then use a datapump (several available) to pump the data in all
tables to the new shell.
Alan