Director { # define myself Name = bacula-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/var/spool/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "XXXXX" # Console password Messages = Daemon } # Definition of clients and jobs @/etc/bacula/bacula-dir-clients-and-jobs.conf # Definition of filesets @/etc/bacula/bacula-dir-filesets.conf # Definition of pools @/etc/bacula/bacula-dir-pools.conf # Backup schedules Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } # Catalog backup schedule Schedule { Name = "WeeklyCycleAfterBackup" Run = Full sun-sat at 23:10 } # Definition of file storage device Storage { Name = Interno Address = 192.168.23.3 SDPort = 9103 Password = "XXXXX" Device = Interno Media Type = File } Storage { Name = Externo Address = 192.168.23.3 SDPort = 9103 Password = "XXXXX" Device = Externo Media Type = File } # Generic catalog service Catalog { Name = "MyCatalog" # Uncomment the following line if you want the dbi driver # dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport = dbdriver = "dbi:mysql"; dbname = "bacula"; dbuser = "bacula"; dbpassword = "" } Messages { Name = Standard mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = root@localhost = all, !skipped operator = root@localhost = mount console = all, !skipped, !saved append = "/var/log/bacula/bacula.log" = all, !skipped catalog = all } Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" mail = root@localhost = all, !skipped console = all, !skipped, !saved append = "/var/log/bacula/bacula.log" = all, !skipped } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = bacula-mon Password = "XXXXX" CommandACL = status, .status }