Hi,

I'm trying to use cuncurrent jobs feature in bacule and have no success.
I even tried 1.36.2-pool.patch - not a chance.
Here is what director says:

Running Jobs:
 JobId Level   Name                       Status
======================================================================
    21 Full    Backup_eye.2005-04-17_22.13.03 is waiting on max Storage
jobs
    20 Full    Backup_clive.2005-04-17_22.13.02 is waiting on max
Storage jobs
    19 Full    Backup_california.2005-04-17_22.13.01 is running

An here goes the snips of configuration:

bacula-dir:
----------
Director {                            # define myself
  Name = smith-dir
  DIRAddress = <myip>
  DIRport = 9101
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  SubSysDirectory = "/var/run/subsys"
  Maximum Concurrent Jobs = 3
  Password = "pass"         # Console password
  Messages = Standard
}

Catalog {
  Name = MyCatalog
  DB Address = dbhost
  dbname = bacula; user = bacula; password = "pass"
}                                                                               
                             
Schedule {
  Name = "MonthlyCycle"
  Run = Level=Full Storage=File_Weekly 1st-5th sun at 1:35
  Run = Level=Incremental Storage=File_Daily mon-sat at 1:35
}
                                                                                
                              Schedule {
  Name = "WeeklyBackupCatalog"
  Run = Level=Full Pool=Pool_Catalog Storage=File_Catalog sun-sat at
14:10
}
                                                                                
                              JobDefs {
  Name = "Backup_defaults"
  Type = Backup
  Schedule = "MonthlyCycle"
  Storage = NullFile
  Messages = Standard
  Pool = NullPool
}
                                                                                
                              @/etc/bacula/clients/california.conf
@/etc/bacula/clients/clive.conf
@/etc/bacula/clients/eye.conf

Storage {
  Name = File_Weekly
  Address = myhost
  SDPort = 9103
  Password = "pass"
  Device = Dev_Weekly
  Media Type = File
  MaximumConcurrentJobs = 10
}

bacula-sd:
----------
Storage {                             # definition of myself
  Name = smith-sd
  SDAddress = myip
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/bacula"
  Pid Directory = "/var/run"
  Subsys Directory = "/var/run/subsys"
  MaximumConcurrentJobs = 10
}
                                                                                
                              
Director {
  Name = smith-dir
  Password = "pass"
}

Device {
  Name = Dev_Weekly
  Media Type = File
  Archive Device = /backup/weekly
  LabelMedia = yes; media
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

and the clients (clients/*.conf):
---------------------------------

Job {
  Name = "Backup_california"
  JobDefs = Backup_defaults
  Client=california-fd
  FileSet="Files_california"
  Pool = Pool_Monthly_california
  Full Backup Pool = Pool_Weekly_california
  Incremental Backup Pool = Pool_Daily_california
  Write Bootstrap = "/var/bacula/california.bsr"
  Priority = 20
}

FileSet {
  Name = "Files_california"
  Include = compression=GZIP signature=MD5 {
    </etc/bacula/filesets/files.california.inc
  }
  Exclude = { </etc/bacula/filesets/files.exc 
</etc/bacula/filesets/files.california.exc }
}
                                                                                
                              
Client {
  Name = california-fd
  Address = california
  FDPort = 9102
  Catalog = MyCatalog
  Password = "pass"          # password for FileDaemon
  File Retention = 2w                 # 3 months
  Job Retention = 2w                  # 3 months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Pool {
  Name = Pool_Weekly_california
  Volume Use Duration = 6d
  Pool Type = Backup
  Recycle Oldest Volume = yes
  Maximum Volumes = 1                 # (was 3)
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 6d               # 1 weeks (was 4)
  Accept Any Volume = yes             # write on any volume in the pool
  LabelFormat = week_california_
}
                                                                                
                              
other clients configs are identical.

and bacula-fd.conf on clients:
california.conf:
------------------------------
Director {
  Name = smith-dir
  Password = "pass"
}
                                                                                
                              
#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = california-fd
  FDAddress = ip
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/bacula
  Pid Directory = /var/run
}

clive.conf:
---------- 
Job {
  Name = "Backup_clive"
  JobDefs = Backup_defaults
  Client=clive-fd
  FileSet="Files_clive"
  Pool = Pool_Monthly_clive
  Full Backup Pool = Pool_Weekly_clive
  Incremental Backup Pool = Pool_Daily_clive
  Write Bootstrap = "/var/bacula/clive.bsr"
  Priority = 20
}

FileSet {
  Name = "Files_clive"
  Include = compression=GZIP signature=MD5 {
    </etc/bacula/filesets/files.clive.inc
  }
  Exclude = { </etc/bacula/filesets/files.exc 
</etc/bacula/filesets/files.clive.exc }
}
                                                                                
                              
Client {
  Name = clive-fd
  Address = clive
  FDPort = 9102
  Catalog = MyCatalog
  Password = "pass"          # password for FileDaemon
  File Retention = 2w                 # 3 months
  Job Retention = 2w                  # 3 months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Pool {
  Name = Pool_Weekly_clive
  Volume Use Duration = 6d
  Pool Type = Backup
  Recycle Oldest Volume = yes
  Maximum Volumes = 1                 # (was 3)
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 6d               # 1 weeks (was 4)
  Accept Any Volume = yes             # write on any volume in the pool
  LabelFormat = week_clive_
}
                                                                                
                           
bacula-fd.conf on other clients are identical.


Please, help!

-- 
Sincerely,
Alexander Kolesnik



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to