Firebird 12 Common Mistakes While Backing Up Databases
Firebird 12 Common Mistakes While Backing Up Databases
Firebird 12 Common Mistakes While Backing Up Databases
IBSurgeon, 2015
IBSurgeon, 2015
Recommendation: never overwrite the file of a working database without a written directive
from your management.
Recommendation for Firebird: Use FBDataGuard because it never overwrites the database
file.
IBSurgeon, 2015
is second-level summary monitoring with the help of the Control Center tool that allows you to
see the statuses of all monitored servers and databases on one page.
6. No backup validation
The fact that backup copies are stored somewhere does not mean that they can be read from
there.
That is why you must regularly verify backup copies you create in order to make sure that they
are not corrupted or copied to /dev/null.
Recommendation for Firebird: you can automate backup validation with the help of
FBDataGuard.
IBSurgeon, 2015
IBSurgeon, 2015
You can learn more about this in the article "Peculiarities of Working with Databases on Virtual
Machines".
For Firebird, it is necessary to lock the main file of the database with the help of nbackup before
the backup process starts and unlock it after the process is over. For other DBMSs there are
similar tools for switching the corresponding modes on/off.
Some database administrators are sure that they can safely back up their databases with the
help of standard file backup tools if the DBMS has a transaction log because only this log will be
corrupted at most. It is a dangerous misconception that DBMS developers do not support.
The roots of this misconception are clear: aggressive advertising by the developers of virtual
machines and backup tools usually fails to mention that databases as well as other intensively
updated files require advanced configuration. Do not believe the hype - not all yogurts have
equal benefits.
Recommendations: do not use file and VM backup tools without the corresponding automation
tools.
Recommendation for Firebird: use FBDataGuard (from the HQbird distribution package), it
provides integration with VSS-aware backup tools.
Summary
It is not that easy to configure backup for your favourite DBMS so usually database
administrators from organizations where they value their data usually use professional backup
tools that allow them to take into account the issues mentioned above and prevent the
problems.
For Firebird (pardon for advertising) there is a package called
HQbird that includes FBDataGuard.
Also, our company provide complete backup and maintenance
support for Firebird and other databases, this is a good choice for
those who are not aware about all technical details of backups.
And, of course, keep cherishing your admin paranoia, for instance, get up and check your
backup copies right now :)
Contacts
Please feel free to ask any questions: support@ib-aid.com.