I have a tape library (VXA Autopak) with two tape drives. I am trying to
get bacula setup to run 2 backup jobs at once so that one job goes to
one drive and the other job is handled by the second drive.

It seems like Max Concurrent Jobs is what I need to be looking at but
the manual reads like that is for splitting a single backup process over
multiple storage devices. I just want to run multiple jobs onto multiple
devices individually.

I have the following stuff set up in bacula-dir.conf:

Job {
  Name = "alice"
  JobDefs = "WindowsJob"
  Client = alice
  Prefer Mounted Volumes = No
  Maximum Concurrent Jobs = 1
  Schedule = "WeeklyCycle"
}

Director {                            # define myself
  Name = backupdir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 2
  Password = "*************"         # Console password
  Messages = Daemon
}

Client {
  Name = alice
  Address = 192.168.1.25
  FDPort = 9102
  Catalog = MyCatalog
  Maximum Concurrent Jobs = 1
  Password = "************"          # password for FileDaemon
  File Retention = 8 days            # 30 days
  Job Retention = 8 days            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Storage {
  Name = "autopak"
  Device = VXA1a, VXA1b
  Media Type = VXA1
  Password = "tapedrive"
  SDPort = 9103
  Address = backups
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
} 
  
Storage {
  Name = VXA1a
  Device = VXA1a
  Password = "tapedrive"
  SDPort = 9103
  Maximum Concurrent Jobs = 1
  Address = backups
  Media Type = VXA1
}

Storage {
  Name = VXA1b
  Device = VXA1b
  Password = "tapedrive"
  SDPort = 9103
  Maximum Concurrent Jobs = 1
  Address = backups
  Media Type = VXA1
}


-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<[EMAIL PROTECTED]>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to