Subject Re: [firebird-support] Database restore fails!
Author Alexey Kovjazin
Dear Wilhelm,

It looks like your database is corrupted.
BLR is not changed during backup/restore, so to fix this error you need to
run gfix on original database and try to fix errors, and then perform
backup/restore again.

Sincerely yours,
Alexey Kovyazin
www.ibsurgeon.com


I'm running Firebird 1.5.1 superserver on Windows XP Professional.
I have a database (dialect 3) that has a few UDFs defined.
After a backup, when I try to do a restore, gbak ends prematurely with the
following message:

--------------------------------------------------
gbak: committing metadata for table DELEGATI
gbak: restoring table DEPARTAMENTE
gbak: restoring column COD
fmRestoreDB.RestoreService:
Invalid token.
invalid request BLR at offset 25.
function ROUND is not defined.

Restore completed
---------------------------------------------------

Here's the DDL for the ROUND function:


DECLARE EXTERNAL FUNCTION ROUND
DOUBLE PRECISION,
INTEGER
RETURNS DOUBLE PRECISION BY VALUE
ENTRY_POINT 'fn_round' MODULE_NAME 'rfunc';

rfunc.dll is located in C:\Program Files\Firebird\Firebird_1_5\UDF and it's
WORKING


What can I do?

Thanks


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


Yahoo! Groups Sponsor
ADVERTISEMENT






Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/

To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.