Hello, erm, a question for the manual writers first: Should this problem be discussed in the manual, or even in the book? It comes up quite often recently.
On 2/12/2007 9:06 AM, Holden Hao wrote: > I am trying to backup several PCs (Linux and Windows) into a backup > server which runs the director and the storage daemon. When running > individual test jobs, Bacula performs well. But what I am trying to > do is have Bacula director order a daily backup to all FDs at 12 NN. > However, when one PC is not connected to the network, Bacula seems to > hang and I can not get into bconsole. And when I am in bconsole when > the schedule is run, it becomes unresponsive. I am using Bacula > 1.36.3 on Ubuntu. > > Am I correct to assume that when all of my FDs are ordered to backup, > the director will queue them up and waits for the first FD to finish > the backup then goes to the next and so on up the queue? Unless you set up Bacula to run jobs in parallel, you are correct. > What happens > when a defined FD is not on the network? The DIR waits for quite a while before it decids the client can not be reached. > > I would appreciate if anyone can point me to a direction leading to a > solution. Thanks. The best solution, IMO, consists of two parts: - Run jobs in parallel. Maximum Concurrent Jobs is the kyword you need to search in the manual. - Have a Run Before Job that checks if the client is available, for example by pinging it. A return code of anything but 0 will cause the job to fail. This can be combined with setting retries for the jobs. Arno > > > Holden > ---------------------------------------------- > > I already have > > FDConnectTimeout = 1 minutes > SDConnectTimeout = 1 minutes > > in the Director resource in my bacula-dir.conf > > I also have > > SD Connect Timeout = 5 minutes > > in my FileDaemon resource in $clients-fd.conf > > Here are some relevant settings in my bacula-dir.conf > > Client { > Name = $client-fd # I have 15 clients (similar config) > Address = $clienthostname > FDPort = 9102 > Catalog = MyCatalog > Password = "password" > File Retention = 30 days > Job Retention = 6 months > AutoPrune = yes > > } > > JobDefs { > Name = "DefaultJob" > Type = Backup > Level = Incremental > FileSet = "Linux Set" > Schedule = "WeeklyCycle" > Storage = File > Messages = Standard > Pool = Default > Full Backup Pool = Full-Pool > Incremental Backup Pool = Inc-Pool > Differential Backup Pool = Diff-Pool > Priority = 10 > Reschedule on Error = yes > Reschedule Interval = 1 hours > Reschedule Times = 3 > } > > Job { > Name = "$client-job" #again 15 of these > JobDefs = "DefaultJob" > Client = $client-fd > Write Bootstrap = "/var/lib/bacula/$client.bsr" > > Schedule { > Name = "WeeklyCycle" > Run = Level=Full 1st sun at 12:05 > Run = Level=Differential 2nd-5th sun at 12:05 > Run = Level=Incremental mon-sat at 11:05 > } > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users