Solved

Bacula concurrent jobs don't work

Posted on 2014-01-06
2
675 Views
Last Modified: 2014-01-06
Server: ubuntu 12.04 LTS
Bacula version: 5.2.6
Backup device: C2 LTO-3 changer (with LTO-2 tapes but it shouldn't matter)

I try to configure Bacula to run two jobs simultanously: different clients, same storage. I *think* I followed the documentation but something must still be missing since the jobs keep being queued one after the other.

What I would like to achieve is that if there are two jobs scheduled for same time (i.e. BackupFiona and BackupDonkey) or started manually in fast succession, and one is e.g. 100G while the other one is 1G then the first one won't block the second one from being saved at the same time, thus finishing well in time.

Director config: (stripped to relevant parts)
Director {                            # define myself
  Name = fiona-dir
  Maximum Concurrent Jobs = 4
  ...
}

JobDefs {
  Storage = "C2 changer"
  Pool = Default
  Priority = 10
  SpoolData = yes
  SpoolSize = 512M
  ...
}

Job {
  Name = "BackupFiona"
  JobDefs = "DefaultJob"
}

Job {
  Name = "BackupDonkey"
  Client = donkey-fd
  FileSet = "Full Set Donkey"
  JobDefs = "DefaultJob"
}

# Client (File Services) to backup
Client {
  Name = fiona-fd
  Address = fiona
  ...
}

Client {
  Name = donkey-fd
  Address = donkey
  ...
}

Storage {
  Name = "C2 changer"
  Address = fiona
  Device = "C2 changer"                     # must be same as Device in Storage daemon
  Media Type = LTO-3                  # must be same as MediaType in Storage daemon
  Autochanger = yes                   # enable for autochanger device
  Maximum Concurrent Jobs = 4
}

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
}

Open in new window


Storage config: (also stripped)
Storage {                             # definition of myself
  Name = fiona-sd
  Maximum Concurrent Jobs = 20
}

Autochanger {
  Name = "C2 changer"
  Device = "C2 LTO-3"
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg1
}

Device {
  Name = "C2 LTO-3"
  Media Type = LTO-3
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Maximum File Size = 4GB
  AutoChanger = yes
  Alert Command = "sh -c 'smartctl -H -l error %c'"
  SpoolDirectory = "/var/spool/bacula"
}

Open in new window


FD config for client1: (client2 is pretty much the same)
FileDaemon {                          # this is me
  Name = fiona-fd
  Maximum Concurrent Jobs = 20
  ...
}

Open in new window

0
Comment
Question by:Surrano
  • 2
2 Comments
 
LVL 8

Accepted Solution

by:
Surrano earned 0 total points
ID: 39759380
Somehow solved... Not sure what made the trick but the most prominent change is that I added Maximum Concurrent Jobs to the Device in SD conf as well. I have the feeling that it had to be followed by a series of restarts / config reloads for some reason.
0
 
LVL 8

Author Closing Comment

by:Surrano
ID: 39759385
0 points for myself :)
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Acronis Backup and Recovery 11.5 13 67
Netapp and Vcenter report 9 63
Ransom.CRYPTXXX Activity 2 9 92
vsphere 6.-0 limits 7 65
Life is full of imperfections – we all know it. Sometimes bad things happen to people for no particular reason. As they say: “it happens”. All we can do is to find a way to make some unavoidable situations… avoidable. Every kind of hardware has i…
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now