Firebird On-Disk-Structure (ODS) converter

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,203
Credits
4,034
Firebird On-Disk-Structure (ODS) converter

Firebird "ODS 11 to 12" is a scripting tool that converts Firebird database in ODS 11 structure to ODS 12. In practice it means that the tool converts the database file from Firebird 2.x to a form compatible with Firebird 3.x.
It is worth noting that Firebird 3.x does not support ODS 11 format, it requires ODS 12 to work. Therefore, when migrating to Firebird 3.x server, database files must be updated.

The tool uses files extracted from the Firebird 2.5.9 and 3.0.7 server, mainly the gbak tool, but also many other files, necessary for gbak operation.

To perform the database conversion you do not need to install Firebird server, neither version 2.x nor version 3.0. You can run them on a "clean" computer.

The scripts were written in two versions, under Windows (batch script) and under Linux (bash script).

In the Linux version, the tool requires root privileges to work, this is due to the needs of gbak itself.
Copyright © Для просмотра ссылки Войди или Зарегистрируйся
 

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,203
Credits
4,034
Firebird ODS converter v2020-11-21
Скрытое содержимое могут видеть только пользователи групп(ы): Premium, Местный, Свои
 

kouvaev

Местный
Регистрация
23 Мар 2009
Сообщения
28
Реакции
4
Credits
55
Firebird On-Disk-Structure (ODS) converter

Firebird "ODS 11 to 12" is a scripting tool that converts Firebird database in ODS 11 structure to ODS 12. In practice it means that the tool converts the database file from Firebird 2.x to a form compatible with Firebird 3.x.
Уже писал где-то: штатная утилита gbak:
на версии 2.5 делаем переносимый бэкап базы: gbak.exe -b -t -user sysdba -pas masterkey ?.fdb ?.fbk (имя базы подставить самим)
затем ресторнуть на третьей версии Firebird: gbak.exe -R -REP -z -c -P 4096 -user sysdba -pas masterkey ?.fbk ?.fdb
и все дела!