Inline minor ODS upgrade
Dmitry Yemanov
Tracker ticket: #7397
This feature allows to upgrade the existing database to the newest ODS version without backup/restore, provided that the database belongs to the same major ODS version.
For example, a database created by Firebird 4.0 uses ODS 13.0 and thus can be upgraded to the ODS 13.1 used by Firebird 5.0.
-
The upgrade must be done manually, using gfix -upgrade command
-
It requires exclusive access to the database, an error is thrown otherwise
-
The system privilege
USE_GFIX_UTILITY
is required -
An upgrade is transactional, all changes are reverted if any error happens
-
After the upgrade, Firebird 4.0 can no longer open the database
gfix -upgrade <database>
See also ODS upgrade by gfix.
Caution
|
This is a one-way modification, downgrading backward is impossible.So please make a database copy before upgrading, just to have a recovery point if something goes wrong during the process. |