Backup firebird databases
I'm was looking forward how to backup Firebird used by Microsip
gbak "remote-host:c:\Databases\Mytest.FDB" /dev/stdout -user SYSDBA -pass xxxx | gzip > $path/Mytest-$(date +%Y%m%d%H%M).fbk.gz
# Backup config database
gbak "remote-host:c:\Databases\System\CONFIG.FDB" /dev/stdout -user SYSDBA -pass xxxx | gzip > $path/Config-$(date +%Y%m%d%H%M).fbk.gz
# The only way to access the security database is via the Service Manager. As
# GBAK can also use the Service Manager (Option -se), you can run a backup
# using this option. However, the backup file will also be written to the
# server machine.
gbak -user sysdba -pass xxxx -service dbhost:service_mgr "C:\Archivos de programa\Firebird\Firebird_2_1\security2.fdb" "C:\Archivos de programa\Firebird\Firebird_2_1\security2-$(date +%Y%m%d%H%M).fbk"