by Wanderlei Huttel
In powershell as an administrator you need to run the command once:
And to set the Job Bacula (bacula- dir.conf):
# FileSet Firebird (database dump)
Name = "FileSet_Firebird"
signature = md5
compression = gzip
onefs = no
ignorecase = yes
File = "C:/sistema/backup/firebird.fbk"
File = "C:/sistema/backup/firebird.log"
# Job Backup Firebird
Name = "Backup_Firebird_FBK"
JobDefs = "Backup_Padrao"
Client = srv_firebird-fd
Schedule = "Agenda_GFS"
ClientRunBeforeJob = "powershell C:/'Program Files'/Bacula/scripts/make_firebird_backup.ps1"
ClientRunAfterJob = "powershell C:/'Program Files'/Bacula/scripts/delete_firebird_backup.ps1"
The dump generation and after job deletion scripts to download: