---
title: GBAK
description: In-Synch
---

[Skip to content](https://kb.arms.com/in-synch/gbak#main-content)

English

Show submenu for translations

![](https://kb.arms.com/hubfs/ARMS-Logotype_horizontal-transparent_background-light_mode.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [In-Synch](https://kb.arms.com/in-synch?hsLang=en)
2. [Knowledge base3](https://kb.arms.com/in-synch/knowledge-base3?hsLang=en)
3. [How To](https://kb.arms.com/in-synch/knowledge-base3?hsLang=en#how-to)

# GBAK

No recent searches

 Popular Articles

![](https://kb.arms.com/hubfs/Knowledge%20Base%20Import/no-results-Apr-16-2026-03-59-21-5202-PM.png)

Sorry! nothing found for

### GBAK

 Created by Russ Hartle, Modified on Tue, 11 Nov, 2025 at 10:27 AM by Russ Hartle

### GBAK — Firebird Backup and Restore

GBAK is Firebird’s command line tool for online backup and restore of a complete database.

GBAK is able to perform a backup while the database is running. There is no need to shut down the database during a GBAK backup. GBAK will create a consistent snapshot of the database at the time it starts running. You will, however, notice a perfomance degradation during the backup, so it is a good idea to backup at night. As GBAK visits all pages of the database, it will also perform a garbage collection on the database.

You can find the official Firebird GBAK documentation here.

### How Backup works

GBAK will create a consistent snapshot (or dump) of a database. This snapshot/dump will contain the contents of the database of the point in time when the backup is started. For that, it will create an (one) isolated transaction that is used to read the entire database and write it to the snapshot/dump file (which ususally has the .fbk filename extension).

During the backup, the database can be used regularly. All transactions that run after the backup has started, will be separated from the backup. Depending on the size of the database, the duration of the backup and the number and duration of parallel transactions, this can more or less reduce the performance of the database while the backup is running (remember that Firebird has to handle all the data so that new data is isolated from the currently running backup). But it will work and after the backup is finished (the transaction is committed), the database will come back to its usual performance.

### General Syntax

gbak `<options>` -user `<username>` -password `<password>` `<source>` `<destination>`

**Backup**

For backups, `<source>` is the database (= database string) you want to back up, `<destination>` is the path and file name of the backup file. The usual extension for the backup file is .fbk for Firebird and .gbk for InterBase.

Only SYSDBA or the database owner can perform a backup. For multi-file databases, specify only the name of the first file as the database name.

**Restore**

For restores,

is the backup path file name and is the name of the database (= database string) that is to be built up from the backup file. You will have to specify the -C option for restore.

### General Options

**Tables can't be imported directly. Please insert an image of your table which can be found [here](https://kb.arms.com/in-synch/gbak).**

### Backup Options

**Tables can't be imported directly. Please insert an image of your table which can be found [here](https://kb.arms.com/in-synch/gbak).**

### Restore Options

**Tables can't be imported directly. Please insert an image of your table which can be found [here](https://kb.arms.com/in-synch/gbak).**

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article! \*

<iframe width="640" height="360" src="https://insynch.freshdesk.com/support/recaptcha#6LdvejUUAAAAAEn6wjOFcPVRyQr4KtAJ03ltA1SQ" allowfullscreen></iframe>

Feedback sent

We appreciate your effort and will try to fix the article

**X**<https://kb.arms.com/in-synch/gbak>

- [Release Notes](https://kb.arms.com/in-synch/release-notes?hsLang=en#main-content)

    - [Version 4.8](https://kb.arms.com/in-synch/release-notes?hsLang=en#version-4-8)
- [Knowledge base3](https://kb.arms.com/in-synch/knowledge-base3?hsLang=en#main-content)

    - [How To](https://kb.arms.com/in-synch/knowledge-base3?hsLang=en#how-to)
- [Knowledge base2](https://kb.arms.com/in-synch/knowledge-base2?hsLang=en#main-content)

    - [Modules](https://kb.arms.com/in-synch/knowledge-base2?hsLang=en#modules)
- [Knowledge base1](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#main-content)

    - [State Reporting](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#state-reporting)
    - [Internal Wiki](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#internal-wiki)
    - [State Specific Modules](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#state-specific-modules)
    - [Release Notes](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#release-notes)
    - [In-Synch RMS QuickStart Video Series](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#in-synch-rms-quickstart-video-series)
    - [Error Messages](https://kb.arms.com/in-synch/knowledge-base1?hsLang=en#error-messages)
- [Knowledge base](https://kb.arms.com/in-synch/knowledge-base?hsLang=en#main-content)

    - [Interfaces](https://kb.arms.com/in-synch/knowledge-base?hsLang=en#interfaces)

[![](https://kb.arms.com/hubfs/ARMS-Logotype_horizontal-transparent_background-light_mode.svg)](http://arms.com)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, End2End Public Safety