Running manually (bconsole, run) the following options are listed:
Run Copy job
JobName: Copia Semanal
Bootstrap: *None*
FileSet: xxxxx_files
Pool: Semanal (From Job resource)
NextPool: Copia-Semanal (From Job Pool's NextPool resource)
Read Storage: Disco-Semanal (From Pool resource)
Write Storage: Autochanger (From Job Pool's NextPool resource)
JobId: *None*
When: 2015-08-03 21:16:41
Catalog: MyCatalog
Priority: 10
I can run the copy, but only one Job at a time:
* status dir
Running Jobs:
Console connected at 03-Aug-15 21:16
JobId Type Level Files Bytes Name Status
======================================================================
4777 Copy Full 0 0 Copia Semanal is waiting execution
4778 Copy Full 0 0 Copia Semanal is running
4779 Back Full 0 0 ddddd_files is running
4780 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4781 Back Full 0 0 aaaa_files is waiting on Storage "Autochanger"
4782 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4783 Back Full 0 0 bbbb_files is waiting on Storage "Autochanger"
4784 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4785 Back Full 0 0 cccc_files is waiting on Storage "Autochanger"
4786 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4787 Back Full 0 0 dddd_files is waiting on Storage "Autochanger"
4788 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4789 Back Full 0 0 eeee_files is waiting on Storage "Autochanger"
4790 Copy Full 0 0 Copia Semanal is waiting on Storage "Disco-Semanal"
4791 Back Full 0 0 ffff_files is waiting on Storage "Autochanger"
how to run simultaneous Jobs in this case?
Device and Storage settings:
Autochanger {
Name = Autochanger
Device = Drive-1, Drive-2
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg5
}
Device {
Name = Drive-1
Drive Index = 0
Media Type = LTO5
Archive Device = /dev/st1
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Maximum Concurrent Jobs = 50
# Alert Command = "sh -c 'smartctl -H -l error %c'"
}
Device {
Name = Drive-2
Drive Index = 1
Media Type = LTO5
Archive Device = /dev/st0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
Maximum Concurrent Jobs = 50
# Alert Command = "sh -c 'smartctl -H -l error %c'"
Storage {
Name = "Autochanger"
Address = xxxx.com.br # N.B. Use a fully qualified name here SDPort = 9103
Password = "Lnouwl2LIZ2/alZpV2bVFhs6ZqOWn9/vr7zHmX7AMCil" # password for Storage daemon
Device = "Autochanger" # must be same as Device in Storage daemon
Media Type = LTO5 # must be same as MediaType in Storage daemon
Autochanger = yes # enable for autochanger device
Maximum Concurrent Jobs = 100
}