# # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 5.0.1 (24 February 2010) -- ubuntu 10.04 # # You might also want to change the default email address # from root to your address. See the "mail" and "operator" # directives in the Messages resource. # Director { # define myself Name = rm-bac-1-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 10 Password = "removed" Messages = Daemon DirAddress = 127.0.0.1 } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = rm-bac-1 FileSet = "Full Set" #Schedule = "WeeklyCycle" Pool = Full # this default storage shold not be used, provided only beecause a defalt is required Storage = rm-nas-1-catalog Messages = Standard Full Backup Pool = Full Incremental Backup Pool = Incremental Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } # # Define the main nightly save backup job # By default, this job will back up to disk in /nonexistant/path/to/file/archive/dir #Job { # Name = "rm-bac-1" # JobDefs = "DefaultJob" #} Job { Name = "wd-server-user-shares" Client = wd-server FileSet = "wd-server-users-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-wd-server" } Job { Name = "em-fap-user-shares" Client = em-fap FileSet = "em-fap-users-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-em-fap" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/var/lib/bacula/%n.bsr" Priority = 11 # run after main backup } Job { Name = "rg-server-user-shares" Client = rg-server FileSet = "rg-server-users-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-rg-server" } Job { Name = "ep-server-user-shares" Client = ep-server FileSet = "ep-server-users-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-ep-server" } Job { Name = "fr-server-user-shares" Client = fr-server FileSet = "fr-server-users-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-fr-server" } Job { Name = "rov-impac-1-tshome" Client = rov-impac-1 FileSet = "rov-impac-1-tshome-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-rov-impac-1" } Job { Name = "zevon-home" Client = zevon FileSet = "zevon-home-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-zevon" } Job { Name = "rov-citrix-cs-documents" Client = rov-citrix-cs FileSet = "rov-citrix-cs-documents-fileset" Type = Backup JobDefs = "DefaultJob" Schedule = "WeeklyCycle-rov-citrix-cs" } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = "RestoreFiles" Type = Restore Client = rm-bac-1 FileSet="Full Set" # default is required, this would not work for most restores, as it is overridden Storage = rm-nas-1-catalog Pool = Default Messages = Standard Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } # # Put your list of files here, preceded by 'File =', one per line # or include an external list with: # # File = \" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h mail.ROV -f \"\(Bacula\) \\" -s \"Bacula: Intervention needed for %j\" %r" mail = admin@ROV = all, !skipped operator = admin@ROV = mount console = all, !skipped, !saved # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # append = "/var/lib/bacula/log" = all, !skipped catalog = all } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/lib/bacula/bsmtp -h mail.ROV -f \"\(Bacula\) \\" -s \"Bacula daemon message\" %r" mail = admin@ROV = all, !skipped console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } # File Pool definition Pool { Name = Full Pool Type = Backup Recycle = no AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Use Volume Once = yes LabelFormat = "Full-" } Pool { Name = Incremental Pool Type = Backup Recycle = no AutoPrune = yes # Prune expired volumes Volume Retention = 28 days Use Volume Once = yes LabelFormat = "Incr-" } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = rm-bac-1-mon Password = "removed" CommandACL = status, .status }