# Client (File Services) to backup
Client {
  Name = spamfix4.infracom.se
  Address = spamfix4.infracom.se
  FDPort = 9102
  Catalog = ICCatalog
  Password = "d2de2a7046281ccb03b2c1697f499913"          # password for FileDaemon
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

# Backup the catalog database (after the nightly save)
Job {
  Name = "spamfix4.infracom.se"
  Type = Backup
  #JobDefs = "spamfix4.infracom.se"
  Level = Full
  FileSet="spamfix4.infracom.se"
  Client = spamfix4.infracom.se 
  Schedule = "WeeklyCycle"
  Storage = spamfix4.infracom.se-Stor
  Messages = Standard
  Pool = spamfix4.infracom.se-Pool
  Write Bootstrap = "/usr/local/bacula/working/BackupCatalog.bsr"
  Priority = 20                   # run after main backup

}


#
# Define the main nightly save backup job
#   By default, this job will back up to disk in 
#JobDefs {
#  Name = "spamfix4.infracom.se"
#  Type = Backup
#  Level = Incremental
#  Client = spamfix4.infracom.se 
#  FileSet = "spamfix4.infracom.se"
#  Schedule = "WeeklyCycle"
#  Priority = 20
#}

# This is the backup of the catalog
FileSet {
  Name = "spamfix4.infracom.se"
  Include {
    Options {
      signature = MD5
    }
    File = /backups

  }
}

# Default pool definition
Pool {
  Name = spamfix4.infracom.se-Pool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 21 days         # 3 weeks
  Volume Use Duration = 7 days
  Maximum Volumes = 6
  LabelFormat = "spamfix4.infracom.se"
}

Storage {
	Name = spamfix4.infracom.se-Stor
	Address = storage3.infracom.se
	SDPort = 9103
	Password = "d2de2a7046281ccb03b2c1697f499913"
	Device = FileStorage
	Media Type = File
}
