Subject FB 1.0 and GBAK problems
Author Daniel Rail

I get this error message when performing a backup:

arithmetic exception, numeric overflow, or string truncation
gds_$receive failed

This error always occur when trying to restore the same table time and time
again. I verified my fields and the largest varchar field is 30
characters, there's numeric(15,2), double precision and integer
fields. Before replying here, look at the process below and you'll see why
it puzzles me.

This error pops up in an automated process at a given point that doesn't
make sense to me. Here are the steps of the process in question:
1. Backup database
2. Make a copy of the database by using the copy command
3. Restore the database
4. Apply any changes that needs to be made to the database
5. Backup database <<----- This is where the error occurs
6. Make a copy of the database by using the copy command
6. Restore database

This process is done by an application that I created and is distributed to
my clients when there's an application upgrade that requires a database

The initial database in step 1 was created with IB 6 and backup is made
transportable, then restored in FB 1.0 final release. Once the error
occurs once, it persists time and time again for that GDB file.

Does anybody know what can cause this error?

Thanks in advance.

Daniel Rail
Senior System Engineer
ACCRA Group Inc. (
ACCRA Med Software Inc. (