Disabling forced writes on Linux
Linux servers are safer for running an operation with forced writes disabled temporarily.Still, do not leave it disabled once your large batch task is completed, unless you have a very robust fall-back power system.
Server configuration and management
Linux servers are safer for running an operation with forced writes disabled temporarily.Still, do not leave it disabled once your large batch task is completed, unless you have a very robust fall-back power system.
One of the restore options in the gbak
utility (gbak -rep[lace_database]
) allows you to restore a gbak file over an existing database.It is possible for this style of restore to proceed without warning while users are logged in to the database.Database corruption is almost certain to be the result.
Note
|
Notice that the shortest form of this command is These changes have been made because many users thought that the |
Warning
|
Be aware that you will need to design your admin tools and procedures to prevent any possibility for any user (including |
If is practicable to do so, it is recommended to restore to spare disk space using the gbak -c
option and test the restored database using isql
or your preferred admin tool.If the restored database is good, shut down the old database (you can use the gfix
command-line tool for this;see Firebird Database Housekeeping Utility (HTML) or Firebird Database Housekeeping Utility (PDF)).Make a filesystem copy of the old database just in case and then copy the restored database file(s) over their existing counterparts.
If you do not block access to users while performing a restore using gbak -rep
then users may be able to log in and attempt to do operations on data.Corrupted structures will result.
The community of willing helpers around Firebird goes a long way back, to many years before the source code for its ancestor, InterBase® 6, was made open source.Collectively, the Firebird community does have all the answers!It even includes some people who have been involved with it since it was a design on a drawing board in a bathroom in Boston.
Visit the official Firebird Project site at https://www.firebirdsql.org and join the user support lists, in particular firebird-support
.Look at https://www.firebirdsql.org/en/mailing-lists/ for instructions.
Use the Firebird documentation index at https://www.firebirdsql.org/en/documentation/.
Visit the Firebird knowledge site at https://www.ibphoenix.com to look up a vast collection of information about developing with and using Firebird.IBPhoenix also sells a Developer CD with the Firebird binaries and lots of documentation.
Order the official three-volume Firebird Book, Second Edition at https://www.ibphoenix.com/products/books/firebird_book, for more than 1200 pages jam-packed with Firebird information.(Notice: at the time of this writing, the Firebird Book is not yet up-to-date with Firebird 3 and higher.)
Read the Release Notes for your Firebird version!
Firebird exists, and continues to be improved, thanks to a community of volunteers who donate their time and skills to bring you this wonderful piece of software.But volunteer work alone is not enough to keep an enterprise-level RDBMS such as Firebird up-to-date.The Firebird Foundation supports Firebird development financially by issuing grants to designers and developers.If Firebird is useful to you, and you’d like to give something back, please visit the Foundation’s pages and consider making a donation or becoming a member or sponsor.