Subject Re: [firebird-support] Re: FB 3.0
Author Carlos H. Cantu
Re: [firebird-support] Re: FB 3.0 Hello!

If gbak reported problems only in data, you should not use -fix_fss_metadata

Also note that the -fix options will work correctly only if all your metadata/data was created using the same character set. More information at misc\upgrade\metadata directory.

>Have also tried to create a .gbk file using FB 3, but got the following:
>gbak: ERROR:unsupported on-disk structure for file /opt/db/mis.gdb; found 11.2, support 12.0

You must backup in 2.5 and restore in 3.0. FB 3 cannot access databases created in older Firebird versions.

I think you might find my "Migration Guide to Firebird 3" eBook useful:
http://www.firebirdnews.org/migration-guide-to-firebird-3/

HTH,
Carlos
www.firebirdnews.org - www.FireBase.com.br





Hi,

Can anyone help? I'm trying to upgrade to FB 3 from 2.5.2 (classic) on a Centos 6.3 virtual machine.

Attempting to use gbak (FB 3) to restore the .gdb file (FB 2.5.2) but getting the following error:

gbak: ERROR:Malformed string
gbak: ERROR:Invalid data detected. Use -FIX_FSS_DATA option.

Tried to fix this by doing
/usr/bin/gbak -r -fix_fss_metadata ISO8859_1 -fix_fss_data ISO8859_1 mis_FB2.gbk mis_fixed.gdb

But ended up with the same "Malformed string" error.

Have also tried to create a .gbk file using FB 3, but got the following:
gbak: ERROR:unsupported on-disk structure for file /opt/db/mis.gdb; found 11.2, support 12.0

How to I migrate our FB2 database to using FB3??

Thanks,
Dave