Actually I haven't attempted to make concurrent backups yet. I have been running the jobs individually. But thanks for the suggestion.
bbaker >Frank Brodbeck wrote: > > Hi, > > > > I'm stuck here trying to bring bacula to backup 2 clients concurrently. > > I googled, read the manual and searched the archive but still don't get > > the point. So I decided to stop trial-and-error and ask for help. > > > > What I want (at the moment) is my clients to back up into different > > pools using different devices but no more than 1 backup job per device. > > > > The clients I want to backup are server-fd and workstation-fd, the > >The problem is that you have different priorities for them >(Priority = 5 vs Priority = 10 ). You have to give them the same >priority to make concurrent backups work. > > > > configs are boiled down to what I think is neccessary, passwords and > > hostnames are 'faked'. Bacula version is 1.38.11 on Solaris 10. > > > > Here's my bacula-dir: > > # 09/13/06 > > # [EMAIL PROTECTED] > > > > # > > # Specs for the director himself > > # > > Director { > > Name = my-dir > > # where we listen for UA connections > > DIRport = 9101 > > QueryFile = "/etc/local/bacula/query.sql" > > WorkingDirectory = "/var/local/bacula/dr" > > PidDirectory = "/var/run" > > Maximum Concurrent Jobs = 5 > > Password = "" > > Messages = Daemon > > } > > > > # > > # Jobs > > # > > Job { > > Name = "server" > > #Enabled = no > > Client = server-fd > > JobDefs = "srvDefs001" > > } > > > > Job { > > Name = "workstation" > > #Enabled = no > > Client = workstation-fd > > Jobdefs = "wsDefs001" > > } > > > > Job { > > Name = "RestoreFiles" > > Type = Restore > > Client = workstation-fd > > FileSet = "wsFiles" > > Storage = "ws001" > > Where = /srv/backup/restores > > Messages = Standard > > Pool = wsINC > > } > > > > # > > # JobDefs > > JobDefs { > > Name = "srvDefs001" > > Enabled = yes > > Type = Backup > > FileSet = "srvFiles" > > Messages = Standard > > Pool = "srvINC" > > Full Backup Pool = "srvFULL" > > Schedule = "srvWeekly" > > Storage = "srv001" > > Priority = 5 > > } > > > > JobDefs { > > Name = "srvDefs002" > > Enabled = yes > > Type = Backup > > FileSet = "srvFiles" > > Messages = Standard > > Pool = "srvINC" > > Full Backup Pool = "srvFULL" > > Schedule = "srvWeekly" > > Storage = "srv002" > > Priority = 5 > > } > > > > JobDefs { > > Name = "srvDefs003" > > Enabled = yes > > Type = Backup > > FileSet = "srvFiles" > > Messages = Standard > > Pool = "srvINC" > > Full Backup Pool = "srvFULL" > > Schedule = "srvWeekly" > > Storage = "srv003" > > Priority = 5 > > } > > > > JobDefs { > > Name = "srvDefs004" > > Enabled = yes > > Type = Backup > > FileSet = "srvFiles" > > Messages = Standard > > Pool = "srvINC" > > Full Backup Pool = "srvFULL" > > Schedule = "srvWeekly" > > Storage = "srv004" > > Priority = 5 > > } > > > > JobDefs { > > Name = "wsDefs001" > > Enabled = yes > > Type = Backup > > FileSet = "wsFiles" > > Messages = Standard > > Pool = "wsINC" > > Full Backup Pool = "wsFULL" > > Schedule = "wsWeekly" > > Storage = "ws001" > > Priority = 10 > > } > > > > JobDefs { > > Name = "wsDefs002" > > Enabled = yes > > Type = Backup > > FileSet = "wsFiles" > > Messages = Standard > > Pool = "wsINC" > > Full Backup Pool = "wsFULL" > > Schedule = "wsWeekly" > > Storage = "ws002" > > Priority = 10 > > } > > > > JobDefs { > > Name = "wsDefs003" > > Enabled = yes > > Type = Backup > > FileSet = "wsFiles" > > Messages = Standard > > Pool = "wsINC" > > Full Backup Pool = "wsFULL" > > Schedule = "wsWeekly" > > Storage = "ws003" > > Priority = 10 > > } > > > > JobDefs { > > Name = "wsDefs004" > > Enabled = yes > > Type = Backup > > FileSet = "wsFiles" > > Messages = Standard > > Pool = "wsINC" > > Full Backup Pool = "wsFULL" > > Schedule = "wsWeekly" > > Storage = "ws004" > > Priority = 10 > > } > > > > # > > # Schedules > > Schedule { > > Name = "srvWeekly" > > Run = Full 1st-5th sat at 22:00 > > Run = Incremental sun-fri at 22:00 > > } > > > > Schedule { > > Name = "wsWeekly" > > Run = Full 1st-5th mon at 02:00 > > Run = Incremental tue-sun at 02:00 > > } > > > > [ ... ] > > > > # > > # Clients > > # > > Client { > > Name = server-fd > > Address = server.domain.tld > > FD Port = 9102 > > Catalog = "belwueCatalog" > > Password = "" > > AutoPrune = yes > > File Retention = 2 weeks > > } > > > > Client { > > Name = workstation-fd > > Address = workstation.domain.tld > > FD Port = 9102 > > Catalog = "belwueCatalog" > > Password = "" > > AutoPrune = yes > > File Retention = 2 weeks > > } > > > > # > > # Storage > > # > > Storage { > > Name = srv001 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "srv1" > > Media Type = "srv001" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = srv002 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "srv2" > > Media Type = "srv002" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = srv003 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "srv3" > > Media Type = "srv003" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = srv004 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "srv4" > > Media Type = "srv004" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = ws001 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "ws1" > > Media Type = "ws001" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = ws002 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "ws2" > > Media Type = "ws002" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = ws003 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "ws3" > > Media Type = "ws003" > > Maximum Concurrent Jobs = 4 > > } > > > > Storage { > > Name = ws004 > > Address = storage.domain.tld > > SD Port = 9103 > > Password = "" > > Device = "ws4" > > Media Type = "ws004" > > Maximum Concurrent Jobs = 4 > > } > > > > # > > # Pools > > # > > Pool { > > Name = srvINC > > Pool Type = Backup > > # Make a volume not any larger than a DVD-R could hold... > > Maximum Volume Bytes = 4831838208000 > > AutoPrune = yes > > VolumeRetention = 1 week > > Recycle = yes > > Label Format = "srvI" > > } > > > > Pool { > > Name = srvFULL > > Pool Type = Backup > > # Make a volume not any larger than a DVD-R could hold... > > Maximum Volume Bytes = 4831838208000 > > AutoPrune = yes > > VolumeRetention = 1 month > > Recycle = yes > > Label Format = "srvF" > > } > > > > Pool { > > Name = wsINC > > Pool Type = Backup > > # Make a volume not any larger than a DVD-R could hold... > > Maximum Volume Bytes = 4831838208000 > > AutoPrune = yes > > VolumeRetention = 1 week > > Recycle = yes > > Label Format = "wsI" > > } > > > > Pool { > > Name = wsFULL > > Pool Type = Backup > > # Make a volume not any larger than a DVD-R could hold... > > Maximum Volume Bytes = 4831838208000 > > AutoPrune = yes > > VolumeRetention = 1 month > > Recycle = yes > > Label Format = "wsF" > > } > > > > # > > # Catalog > > # > > Catalog { > > Name = belwueCatalog > > dbname = bacula > > user = bacula > > password ="" > > } > > > > [ ... ] > > > > # > > # EOF > > > > bacula-sd: > > Storage { # definition of myself > > Name = storage-sd > > SDPort = 9103 # Director's port WorkingDirectory > > = "/var/local/bacula/sd" > > Pid Directory = "/var/run" > > Maximum Concurrent Jobs = 20 > > } > > > > # > > # List Directors who are permitted to contact Storage daemon > > # > > Director { > > Name = my-dir > > Password = "" > > } > > > > Device { > > Name = ws1 > > Device Type = File > > Media Type = ws001 > > Archive Device = /srv/backup/workstations > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = ws2 > > Device Type = File > > Media Type = ws002 > > Archive Device = /srv/backup/workstations > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = ws3 > > Device Type = File > > Media Type = ws003 > > Archive Device = /srv/backup/workstations > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = ws4 > > Device Type = File > > Media Type = ws004 > > Archive Device = /srv/backup/workstations > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = srv1 > > Device Type = File > > Media Type = srv001 > > Archive Device = /srv/backup/server > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = srv2 > > Device Type = File > > Media Type = srv002 > > Archive Device = /srv/backup/server > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = srv3 > > Device Type = File > > Media Type = srv003 > > Archive Device = /srv/backup/server > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > Device { > > Name = srv4 > > Device Type = File > > Media Type = srv004 > > Archive Device = /srv/backup/server > > LabelMedia = yes; # lets Bacula label unlabeled media > > Random Access = Yes; > > AutomaticMount = yes; # when device opened, read it > > RemovableMedia = no; > > AlwaysOpen = no; > > } > > > > [ ... ] > > > > # > > # EOF > > > > > > > > ------------------------------------------------------------------------- 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