<commit_before># This is the header of the configuration file that lives on the director.

Director {                # define myself
  Name                    = <%= fqdn %>-dir
  DIRport                 = <%= port %>  # where we listen for UA connections
  QueryFile               = "/etc/bacula/scripts/query.sql"
  WorkingDirectory        = "<%= working_directory %>"
  PidDirectory            = "<%= pid_directory %>"
  Maximum Concurrent Jobs = 1
  Password                = "<%= password %>"  # Console password
  Messages                = Daemon
  DirAddress              = 127.0.0.1
}

# Only one restore job?
Job {
  Name     = "RestoreFiles"
  Type     = Restore
  Client   = <%= fqdn %>-fd
  FileSet  = "PuppetLabsOps"
  Storage  = File
  Where    = /tmp/bacula-restores
  Messages = Standard
  Pool     = Default
}

JobDefs {
  Name     = "PuppetLabsOps"
  Type     = Backup
  Schedule = "WeeklyCycle"
  Messages = Standard
  Priority = 10
}

FileSet {
  Name = PuppetLabsOps
  Include {
    Options {
      signature = MD5
      compression=gzip
  }
    File = /etc
    File = /opt
    File = /var/www
    File = /var/lib/bacula/mysql
  }
  Exclude {
    File = /var/www/puppetlabs.com/downloads
  }
}<commit_msg>remove PuppetLabsOps fileset, since its not used anywhere<commit_after># This is the header of the configuration file that lives on the director.

Director {                # define myself
  Name                    = <%= fqdn %>-dir
  DIRport                 = <%= port %>  # where we listen for UA connections
  QueryFile               = "/etc/bacula/scripts/query.sql"
  WorkingDirectory        = "<%= working_directory %>"
  PidDirectory            = "<%= pid_directory %>"
  Maximum Concurrent Jobs = 1
  Password                = "<%= password %>"  # Console password
  Messages                = Daemon
  DirAddress              = 127.0.0.1
}

# Only one restore job?
Job {
  Name     = "RestoreFiles"
  Type     = Restore
  Client   = <%= fqdn %>-fd
  FileSet  = "PuppetLabsOps"
  Storage  = File
  Where    = /tmp/bacula-restores
  Messages = Standard
  Pool     = Default
}

JobDefs {
  Name     = "PuppetLabsOps"
  Type     = Backup
  Schedule = "WeeklyCycle"
  Messages = Standard
  Priority = 10
}
{'fraction_non_alphanumeric': 0.10031347962382445, 'fraction_numerical': 0.00850873264666368, 'mean_word_length': 1.8863049095607236, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '949000', 'n_tokens_mistral': 754, 'n_tokens_neox': 690, 'n_words': 184}