Hi Leute,
ich finde einfach das Problem bei der Bacula Config nicht
Im Grunde laufen die Jobs garnicht an, obwohl ich die Stornage Deamons so normal ansprechen kann. Warscheinlich wieder eine kleinigkeit die ich vergessen habe
Code:Director { Name = Dir-Address_Server-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 1 Password = "geheim-:)" # Console password Messages = Daemon DirAddress = Dir-Address_Server } JobDefs { Name = DefaultJob Type = Backup Client = Dir-Address_Server-fd Storage = Dir-Address_Server Messages = Standard Pool = Standart_Automatic_Pool Priority = 10 Write Bootstrap = "/var/lib/bacula/%c.bsr" } #################################### # # Server-1 # #################################### Job { Name = "Server-1 Documents Incremental HC-Cluster" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-1 Dokumente" Schedule = "Jeden Tag um 22:00" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Documents Full-Backup HC-Cluster" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-1 Dokumente" Schedule = "Jeden Sonntag" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Documents Incremental Dir-Server_Address" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-1 Dokumente" Schedule = "Jeden Tag um 22:00" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Documents Full-Backup Dir-Server_Address" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-1 Dokumente" Schedule = "Jeden Sonntag" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } FileSet { Name = "Server-1 Dokumente" Include { Options { signature = MD5 } File = /doc } } ###################################### Job { Name = "Server-1 Daten Incremental HC-Cluster" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-1 Daten" Schedule = "Jeden Tag um 22:00" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Daten Full-Backup HC-Cluster" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-1 Daten" Schedule = "Jeden Sonntag" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Daten Incremental Dir-Server_Address" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-1 Daten" Schedule = "Jeden Tag um 22:00" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-1 Daten Full-Backup Dir-Server_Address" Client = Server-1-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-1 Daten" Schedule = "Jeden Sonntag" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } FileSet { Name = "Server-1 Daten" Include { Options { signature = MD5 } File = /daten } } #################################### # # Server-2 # #################################### Job { Name = "Server-2 Rechnungen Incremental HC-Cluster" Client = Server-2-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-2 Rechnungen" Schedule = "Jeden Tag um 22:00" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-2 Rechnungen Full-Backup HC-Cluster" Client = Server-2-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-2 Rechnungen" Schedule = "Jeden Sonntag" Storage = HC Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-2 Rechnungen Incremental Dir-Server_Address" Client = Server-2-fd JobDefs = "DefaultJob" Enabled = yes Level = Incremental FileSet = "Server-2 Rechnungen" Schedule = "Jeden Tag um 22:00" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } Job { Name = "Server-2 Rechnungen Full-Backup Dir-Server_Address" Client = Server-2-fd JobDefs = "DefaultJob" Enabled = yes Level = Full FileSet = "Server-2 Rechnungen" Schedule = "Jeden Sonntag" Storage = Dir-Address_Server Write Bootstrap = "/var/lib/bacula/LocalhostBackup.bsr" } FileSet { Name = "Server-2 Rechnungen" Include { Options { signature = MD5 } File = /Rechnungen } } #################################### # # Zeitpläne # #################################### Schedule { Run = Full daily at 22:00 Name = "Jeden Tag um 22:00" } Schedule { Run = Full daily at 06:00 Name = "Jeden Tag um 06:00" } Schedule { Name = "Jeden Sonntag" Run = Full sat at 22:00 } #################################### # # Systeme Allgemein # #################################### Client { Name = Dir-Address_Server-fd Address = localhost FDPort = 9102 Catalog = MyCatalog Password = "geheim-:)" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } Client { Name = Server-2-fd Address = Server-2-system.dyndns.org FDPort = 9102 Catalog = MyCatalog Password = "geheim-:)" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } Client { Name = Server-1-fd Address = Server-1 FDPort = 9102 Catalog = MyCatalog Password = "geheim-:)" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } #################################### # # Stornage # #################################### Storage { Name = Dir-Address_Server Address = Dir-Address_Server SDPort = 9103 Password = "geheim-:)" Device = FileStorage Media Type = File } Storage { Name = Secure-1 Address = Server3 SDPort = 9103 Password = "geheim-:)" Device = HDD-1 Media Type = File } Storage { Name = HC Address = HC-Server-Address SDPort = 9103 Password = "geheim-:)" Device = FileStornage Media Type = File } #################################### # # Extra # #################################### FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = "/var/lib/bacula/bacula.sql" } } Catalog { Name = MyCatalog dbname = "bacula"; dbuser = ""; dbpassword = "" } Messages { Name = Standard append = "/var/lib/bacula/log" = all, !skipped catalog = all } # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" mail = root@localhost = all, !skipped console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year } Pool { Name = Standart_Automatic_Pool Pool Type = Backup Recycle = yes Volume Use Duration = 23h UseVolumeOnce = yes AutoPrune = yes LabelFormat = "Automatical-Pool" Maximum Volumes = 10000 } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } Console { Name = Dir-Address_Server-mon Password = "geheim-:)" CommandACL = status, .status }
Error Log von heute
13-Aug 00:33 DIR-dir JobId 36: Using Device "FileStorage"
13-Aug 01:05 Server-fd JobId 36: Fatal error: Failed to connect to Storage daemon: DIR:9103
13-Aug 01:03 DIR-dir JobId 36: Fatal error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage
+ Antworten
Ergebnis 1 bis 1 von 1
Thema: Bacula Problem
- 13.08.12, 15:02 #1
Bacula Problem
Geändert von NiclasM (13.08.12 um 15:03 Uhr)

LinkBack URL
About LinkBacks

Zitieren