Есть много bacula-клиентов, бэкапящих большие объёмы данных.
Не получается заставить выполнять job-ы от разных клиентов параллельно. Пока одна выполняется, по поводу других пишет:
<job> waiting on Storage «FileStorage»
Вроде все настройки, которые нужны, сделал. Сейчас покажу выдержки из конфигов.
#bacula-dir.conf
Director {
Name = bacula1-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 40
Password = "123"
Messages = Daemon
DirAddress = 0.0.0.0
}
JobDefs {
Name = "Generic JobDef"
Type = Backup
Storage = "FileStorage"
Messages = Standard
Level = Differential
Priority = 10
Accurate = yes
Write Bootstrap = "/var/lib/bacula/%c_%n.bsr"
}
Storage {
Name = FileStorage
Address = bacula1.example.com
SDPort = 9103
Password = "123"
Device = FileStorage
Media Type = File
Maximum Concurrent Jobs = 40
}
Pool {
Name = Bacula1Pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 28 days
Maximum Volume Bytes = 100G
LabelFormat = "Bacula1Vol"
Volume Use Duration = 6h
}
Job {
Name = "Client1_Job"
Enabled = yes
Client = Client1
FileSet = "Client1FileSet"
Schedule = "Generic Weekly Diff"
JobDefs = "Generic JobDef"
Pool = Bacula1Pool # На всех клиентов один Pool.
Spool Attributes = yes
}
#bacula-sd.conf
Storage {
Name = bacula1-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 40
SDAddress = 0.0.0.0
}
Device {
Name = FileStorage
Media Type = File
Archive Device = /var/bacula_archive
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
Maximum Concurrent Jobs = 40;
}
Запускаю одновременно два разных job-а от разных клиентов. Одна выполняетя, а другая waiting on Storage «FileStorage».