# # Default Bacula Director Configuration file # # Copyright (C) 2000-2018 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # # 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 @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@ # # 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 = @director_name@ DIRport = @director_port@ # where we listen for UA connections QueryFile = "@bin_dir@\\query.sql" WorkingDirectory = "@working_dir@" PidDirectory = "@working_dir@" Maximum Concurrent Jobs = @director_maxjobs@ Password = "@director_password@" # Console password Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = @client_name@ FileSet = "Test Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in C:/tmp Job { Name = "Client1" JobDefs = "DefaultJob" Write Bootstrap = "@working_dir@\\Client1.bsr" } #Job { # Name = "Client2" # Client = @client_name@2 # JobDefs = "DefaultJob" # Write Bootstrap = "@working_dir@\\Client2.bsr" #} # 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 RunBeforeJob = "\"@bin_dir@\\make_catalog_backup\" bacula bacula" # This deletes the copy of the catalog RunAfterJob = "\"@bin_dir@\\delete_catalog_backup\"" Write Bootstrap = "@working_dir@\\BackupCatalog.bsr" Priority = 11 # run after main backup } # # 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=@client_name@ FileSet="Test Set" Storage = File Pool = Default Messages = Standard Where = "C:\\tmp\\bacula-restores" } # # Note: Windows path separators do NOT work correctly in FileSets. # # List of files to be backed up FileSet { Name = "Test Set" Include { Options { signature = MD5 ignore case = yes } # # Put your list of files here, preceded by 'File =', one per line # or include an external list with: # # File =