How to correctly migrate from Firebird 2.5.1 to Firebird 3.0?

May12 picture May12 · May 17, 2016 · Viewed 7.2k times · Source

I'am trying to migrate Firebird 2.5.1 to Firebird 3.0 What is done:

  1. Back up on Firebird 2.5.1
  2. Restore on Firebird 3

The problem is that not all tables were migrated; procedures, triggers and views are not recovered.

Why? Is anywhere manual how to migrate correctly?

Answer

Lucas Bonomo picture Lucas Bonomo · Jul 9, 2018

In my case, I backed with gbak in Firebird 2.5 and then restored in Firebird 3 with -FIX_FSS_METADATA UTF8

gbak -c -v -user SYSDBA -password thepass /home/lbonomo/ssp.fdb.t.bk  localhost:ssp -FIX_FSS_METADATA UTF8