Subject Re: [firebird-support] Can not restore a database
Author Ann W. Harrison
Alexander Tabakov wrote:
> I am tryin to restore a database. Almost at the end, maybe after
> index creation I receive the following message:
> gbak: ERROR: invalid request BLR at offset 6
> gbak: ERROR: table id 323 is not defined
> gbak: Exiting before completion due to errors
> - Can anyone help me? What does it mean after all?
> - How can I find which table has ID 323?

select rdb$relation_name from rdb$relations
where rdb$relation_id = 323

But that's probably going to tell you that there is no such relation.
If the restore succeeded to the point of creating indexes, you can get
all the data back (I think) by using the -i (indexes inactive) switch.
That will leave the index definitions but not create the indexes. At
that point you can activate indexes and see where the error occurs.