How to restore Firebird backup from the terminal?

Á

Álvaro Moura

Last updated on Jul 10, 2026

To restore the backup of your Firebird database, you must first access the Terminal through the cpanel in

"Advanced" and then click on "Terminal".


Once you have the Terminal open, you will enter the following commands:

  1. gbak -user YOUR_USER -pas YOUR_PASSWORD -r -p 8192 -o

  2. /home/SEU-USER/firebird/YOUR_BACKUP.FBK localhost:

  3. /home/YOUR_USER/firebird/YOUR_NEW_BANK.FDB

Note:

The command mentioned above is for examples only, substitute where you have

"YOUR_USER", "YOUR_PASSWORD" and "YOUR_NEW_BANK" for your respective name.

  • To upload the file you can check out this tutorial.