Firebird Upkeep utility
FBUPKEEP is basically a task executor engine. Its primary purpose is to run maintenance tasks for Firebird ® servers and databases, but could be easily extended to run other tasks of various type.
Logical (gbak) database backup and restore.
Collection of database statistics (gstat).
Update index statistics in database.
Rebuild of user indices in database.
Removal of old files.
FBUPKEEP is designed to run on Python 3.5+, and uses FDB Firebird driver.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.