Помогите разобраться, пытаюсь настроить работу бакулы. Дано: директор и стораж на одной машине, клиент на Винде. Конфиги при проверке на ошибки молчат. При запуске джоба он висит в статусе запущен и прекращается с еррором. Также статус стоража гласит «Device is not open». В волюме статус пусто.
В логе работы пишет
FDTermination status: Error SDTermination status: Waiting on FD bacula-dir.conf
Director {
Name = center.domain.local-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "fghrty212vyt"
Messages = Daemon
DirAddress = 127.0.0.1
}
FileSet {
Name = "WinFileSet"
Include {
Options {
signature = MD5
compression = GZIP
portable = yes
noatime = yes
checkfilechanges = yes
Ignore Case = yes
wildfile = "*.avi"
wilddir = "System Volume Information"
exclude = yes
}
File = "*C:/Test"
}
Exclude {
File = "*.reg"
}
}
Job {
Name = "BackupWinFull"
Type = Backup
Level = Full
Storage = winsrv-nfs
FileSet = "WinFileSet"
Schedule = "WinDiff"
Pool = poolwinsrvnfs
Client = winsrv-fd
Messages = Standart
Where = /etc/bacula/backup
}
Job {
Name = "RestoreWinFull"
Type = restore
Storage = winsrv-nfs
Pool = poolwinsrvnfs
FileSet = "WinFileSet"
Client = winsrv-fd
Messages = Standart
Where = /etc/bacula/backup/restore
}
Schedule {
Name = "WinDiff"
Run = Full on sat at 04:05
Run = Differential on tue-fri at 23:05
Run = Incremental mon-sat at 23:05
}
Client {
Name = winsrv-fd
Address = 192.168.225.82
FDPort = 9102
Catalog = MyCatalog
Password = "fghrty212vyt"
File Retention = 60 days
Job Retention = 6 months
AutoPrune = yes
}
Storage {
Name = winsrv-nfs
Address = 127.0.0.1
SDPort = 9103
Password = "fghrty212vyt"
Device = winsrvFileStorage
Media Type = File
}
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = "fghrty212vyt"
}
Messages {
Name = Standart
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root = all, !skipped
operator = root = mount
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
catalog = all
}
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = root = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
}
Pool {
Name = poolwinsrvnfs
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 1 months
Maximum Volumes = 3
Maximum Volume Bytes = 3G
LabelFormat = "winvol"
}
Console{
Name = bacula-mon
Password = "fghrty212vyt"
CommandACL = status, .status
}
bacula-sd.conf
Storage { # definition of myself
Name = center-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
SDAddress = 127.0.0.1
Maximum Concurrent Jobs = 2
}
Director {
Name = center.domain.local-dir
Password = "fghrty212vyt"
}
Device {
Name = winsrvFileStorage
Media Type = File
Archive Device = /media/nfs_linbackup_v2/winsrv
LabelMedia = yes;
Random Access = yes;
RemovableMedia = no;
AutomaticMount = yes;
AlwaysOpen = yes;
}
Messages {
Name = Standart
Director = center.domain.local-dir = all
}