Subject Re: [firebird-support] Re: Embedded Server 2.5 - how to get the file locking back
Author Ann W. Harrison
On 1/5/2011 5:10 PM, somusque wrote:
> Hello,
>
> many thanks! Can 2.1.3 use the same binary database format of databases created by 2.5? In other words can I just go back? My databases are very simple. No stored procedures.
>

No, even if everything you used in 2.5 exists in 2.1, the
format of the database (On Disk Structure or ODS) is different.
The database is marked with its ODS version and an older
server won't open a newer database to avoid corrupting something
it doesn't know about.

What you can do is use the gbak from 2.1.3 and the 2.5 engine
(embedded, classic, super-classic, or superserver) to create
a backup of your database, then replace the 2.5 engine with
a 2.1 engine and restore the backup. Like databases, backups
are tagged with the backup format version and an older gbak
won't restore a backup created by a newer one.


Good luck,

Ann