Subject Re: [firebird-support] Backup
Author Ann W. Harrison
andre_fogelman wrote:
> I am trying to do a backup on a Firebird 1.5 file. win xp sp2
> I receive the following error message for the command.
>
> gbak -b d:\dados\dados.fdb d:\dados\dados.fbk
>
> gbak: ERROR: message length error (encountered 272, expected 264)
> gbak: ERROR: gds_$receive failed
> gbak: Exiting before completion due to errors
>
> I am lost. What should I do. How to proceed.

That looks like a possible database corruption. I'd start by
using the -v switch in gbak to establish which table contains
the error, then verify with isql (or an equivalent query tool)
that there is a problem with that table. If those tests show
a problem, then I'd copy the database and run gfix on the copy
to see if it corrects the problem.

I'd also check the server logs for indications of problems
and get back to the list with whatever information you find.

Regards,


Ann