Subject gbak Huge problem
Author mariposil
Hi.
i have three diferent firebird 1.5 servers. I have a nightly bash
script in every server that performs a database backup and restore.
Cron execute the script the first time and all was fine, but the
second time, i was unable to restore the resultant backup files
generated by gbak.
My script looks like:

gbak /opt/firebird/data/mydatabase.gdb mydatabase.bak
gbak -R mydatabase.bak /opt/firebird/data/mydatabase.gdb

For the first database, i can restore only metadata, not data.
For the second database, the previous day data is missing.
For the thirth database, stored procedures and triggers are missing.

it looks like a joke, but it isn't. This caused me a lot of
problems.

Please somebody can explain it?

Regards.