Subject Re: [firebird-support] invalid request BLR at offset 27, on restore FB 3 database to 2.5
Author Mr. John
based application is written for 2.5,just some test are done for Fb 3,in case something goes wrong, must go back to 2.5 until a fix is done,so that restore is need.

On Wednesday, June 12, 2019, 1:00:33 PM GMT+3, Michel LE CLEZIO mlcvista@... [firebird-support] <> wrote:



I know that FB2.5 to F3.0 is possible :
First do backup under FB2.5 and after restore under FB3...

But I may not understand your problem : do you want to do an FB3 -> FB2.5 restore ?
IF yes I may presume this is impossible… I'm right ?

With best Regards,

Le mercredi 12 juin 2019 à 11:50:55 UTC+2, 'Mr.. John' mr_johnmr@... [firebird-support] <> a écrit :


I'm trying to restore a FB 3 database to 2.5
Before fb3 backup,I copy from 2.5 gbak.exe to gbak2.exe into FB3 folder
then run 

gbak2.exe -v -b "d:\db3.fdb" "d:\dbbk.gbk"  -user SYSDBA -pass "mypass"

backup is done with no erorrs

I can restore it again to fb3 with no error but when I restore it to Fb2.5 I got this:
 Starting restore. Current time: 12:25:06 PM
 Invalid token.
     invalid request BLR at offset 27.
     BLR syntax error: expected valid BLR code at offset 28, encountered 210.
     Exiting before completion due to errors.
   Restore completed. Current time: 12:25:08 PM. Elapsed time: 00:00:01

restore is done from IBExpert