Upgraded a local server to Debian-13 and in the process also upgraded Bacula and moved to postgres-17.

Things work so far, but I decided to start over with the filestorage wizard and now I have the situation that this filestorage waits for a Mount ... where I expect it do that automatically.

you know, there are no slots etc ;-)

Could someone take a look and tell me what I have wrong?

I add the relevant(?) lines (I have 2 cloud-changers also in there but I skip these)

I include one client "ivy".


I am unsure if "Autochanger = yes" is correct in the "Device" part.

Thanks for any help here ...


# cat bacula-sd.conf
Director {
  Name = "tx100-dir"
  Password = "_swXHSgGz6DhqHOxS2PlmbAJks_LY6Gg0"
}
Director {
  Name = "tx100-mon"
  Password = "z89tFRzJPHD4UPyx8BCSbRhx9NwTmNoA2"
  Monitor = yes
}
Storage {
  Name = "tx100-sd"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/opt/bacula/working"
  MaximumConcurrentJobs = 20
  EncryptionCommand = "/etc/bacula/scripts/key-manager.py getkey"
}
Device {
  Name = "filestorage"
  Description = "local storage on tx100:/mnt/tera/bacula"
  MediaType = "File1"
  DeviceType = "File"
  ArchiveDevice = "/mnt/tera/bacula/file"
  RemovableMedia = no
  RandomAccess = yes
  AutomaticMount = yes
  LabelMedia = yes
  Autochanger = yes
  ReadOnly = yes
  MaximumConcurrentJobs = 5
  MaximumSpoolSize = 8000000000
  MaximumJobSpoolSize = 8000000000
  DriveIndex = 5
  VolumeEncryption = "Yes"
}
Messages {
  Name = "Standard"
  Director = tx100-dir = All
}
Autochanger {
  Name = "file_changer"
  Device = "filestorage"
  ChangerDevice = "/dev/null"
  ChangerCommand = "/dev/null"
}


# cat bacula-dir.conf
Director {
  Name = "tx100-dir"
  Messages = "Daemon"
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/opt/bacula/working"
  PidDirectory = "/opt/bacula/working"
  MaximumConcurrentJobs = 20
  Password = "yLPxQ448kSQdO2fa7wh4U_gARmkVIoSpW"
}
Client {
  Name = "ivy"
  Address = "ivy.loc.oops.co.at"
  FdPort = 9102
  Password = "0aw2ikL2Sp3RqjAZNKs3PUTBopueXqq9Z"
  Catalog = "MyCatalog"
}
Job {
  Name = "BackupCatalog"
  Level = "Full"
  Fileset = "Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  JobDefs = "DefaultJob"
  WriteBootstrap = "/opt/bacula/working/%n.bsr"
  Runscript {
    RunsWhen = "Before"
    RunsOnClient = no
    Command = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
  }
  Runscript {
    RunsWhen = "After"
    RunsOnClient = no
    Command = "/etc/bacula/scripts/delete_catalog_backup"
  }
  Priority = 11
}
Job {
  Name = "ivy-job-home-sgw"
  Type = "Backup"
  Storage = "filestorage"
  Client = "ivy"
  Fileset = "ivy-home-sgw"
  JobDefs = "DefaultJob"
  SpoolData = no
}
Storage {
  Name = "filestorage"
  Description = "local storage on tx100:/mnt/tera/bacula"
  SdPort = 9103
  Address = "tx100.loc.oops.co.at"
  Password = "_swXHSgGz6DhqHOxS2PlmbAJks_LY6Gg0"
  Device = "filestorage"
  MediaType = "File1"
  Autochanger = "filestorage"
  MaximumConcurrentJobs = 50
}
Catalog {
  Name = "MyCatalog"
  Password = "secret"
  User = "bacula"
  DbName = "bacula"
}
Schedule {
  Name = "WeeklyCycle"
  Run = Level="Full" 1st,3rd sun at 13:20
  Run = Level="Differential" 2nd,3rd,4th,5th sun at 23:05
  Run = Level="Incremental" mon,tue,wed,thu,fri,sat at 23:05
}
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Level="Full" at 23:10
}
Fileset {
  Name = "Catalog"
  Include {
    File = "/opt/bacula/working/bacula.sql"
    Options {
      Signature = "Md5"
    }
  }
}
Fileset {
  Name = "Full Set"
  Include {
    File = "/opt/bacula/bin"
    Options {
      Signature = "Md5"
    }
  }
  Exclude {
    File = "/opt/bacula/working"
    File = "/opt/bacula/archive"
    File = "/proc"
    File = "/tmp"
    File = "/sys"
    File = "/.journal"
    File = "/.fsck"
  }
}
Pool {
  Name = "File"
  PoolType = "Backup"
  LabelFormat = "Vol-"
  MaximumVolumes = 20
  MaximumVolumeBytes = 53687091200
  VolumeRetention = 1209600
  Storage = "filestorage"
  AutoPrune = yes
  Recycle = yes
}
Messages {
  Name = "Daemon"
MailCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r"
  Mail = root = All, !Skipped
  Append = /opt/bacula/log/bacula.log = All, !Skipped
  Console = All, !Skipped
}
Messages {
  Name = "Standard"
MailCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" OperatorCommand = "/opt/bacula/bin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r"
  Mail = root = All, !Skipped
  Append = /opt/bacula/log/bacula.log = All, !Skipped
  Console = All, !Skipped
  Operator = root = Mount
  Catalog = All
}
Console {
  Name = "tx100-mon"
  Password = "z89tFRzJPHD4UPyx8BCSbRhx9NwTmNoA2"
  CommandAcl = "status"
  CommandAcl = ".status"
}
JobDefs {
  Name = "DefaultJob"
  Type = "Backup"
  Level = "Incremental"
  Messages = "Standard"
  Storage = "filestorage"
  Pool = "File"
  Client = "tx100-fd"
  Fileset = "Full Set"
  Schedule = "WeeklyCycle"
  WriteBootstrap = "/opt/bacula/working/%c.bsr"
  SpoolAttributes = yes
  SpoolData = yes
  Runscript {
    RunsWhen = "After"
    RunsOnClient = no
    Console = ".bvfs_update jobid=%i"
  }
  Priority = 10
}




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to