Hi,
I'm trying to setup backups to disk and I'd like to have some degree of
parallelism here. I was reading
http://www.bacula.org/5.2.x-manuals/en/main/main/Basic_Volume_Management.html#SECTION002320000000000000000
and idea seams quite clear, however I couldn't make it work on my server.
On my test setup I have two clients, one job per client, each job has
different pool. Storage devices and respective media types are different.
However, when I schedule both jobs to run at the same time, only one of
them runs at a given moment, second one waits for the first one to finish.
It seems to me I'm missing something trivial, but I cannot find it.
Relevant configuration part is included below. Any ideas what may be wrong?
Thanks,
Marius
# bacula-sd.conf
Storage {
Name = bacula-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/spool/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}
### Jobs start ###
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = bacula-local
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = DefaultFile
Priority = 10
Write Bootstrap = "/var/spool/bacula/%c.bsr"
}
Job {
Name = "Backup_client1"
JobDefs = "DefaultJob"
Client = client1
Pool = FilePool1
Storage = FileStg1
FileSet = "Windows test"
Schedule = "WeeklyCycle2200"
Accurate = yes
}
Job {
Name = "Backup_client2"
JobDefs = "DefaultJob"
Client = client2
Pool = FilePool2
Storage = FileStg2
FileSet = "Windows test"
Schedule = "WeeklyCycle2200"
Accurate = yes
}
### Jobs end ###
### Clients start ###
Client {
Name = client1
Address = client1.domain.com
FDPort = 9102
Catalog = MyCatalog
Password = "ABCD"
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = client2
Address = client2.domain.com
FDPort = 9102
Catalog = MyCatalog
Password = "DCBA"
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
### Clients end ###
### Pools start ###
Pool {
Name = FilePool1
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 180 days
Maximum Volume Bytes = 5G
#LabelFormat = "${Pool}_${NumVols}"
LabelFormat = "FilePool1_${NumVols}"
}
Pool {
Name = FilePool2
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 180 days
Maximum Volume Bytes = 5G
#LabelFormat = "${Pool}_${NumVols}"
LabelFormat = "FilePool2_${NumVols}"
}
### Pools end ###
### Storage start ###
Storage {
Name = FileStg1
Address = 10.17.1.105
SDPort = 9103
Password = "XXXXXX"
Device = Dev1
Media Type = Type1
Maximum Concurrent Jobs = 5
}
Storage {
Name = FileStg2
Address = 10.17.1.105
SDPort = 9103
Password = "XXXXXX"
Device = Dev2
Media Type = Type2
Maximum Concurrent Jobs = 5
}
### Storage end ###
### Devices start ###
Device {
Name = Dev1
Media Type = Type1
Archive Device = /backups/dev1
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = Dev2
Media Type = Type2
Archive Device = /backups/dev2
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
### Devices end ###
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users