|
From: Julien C. <jul...@mn...> - 2012-06-08 11:43:58
|
Le 08/06/2012 11:21, Uwe Schuerkamp a écrit :
> Hello Julien,
>
> what are your settings for "Maximum Concurrent Jobs" for storage, sd,
> director, fd's and so on? What exactly is Bacula waiting for (the
> output of "stat dir" during a backup run should give you an idea
> what's blocking).
>
> All the best& HTH,
>
> Uwe
>
>
Hello Uwe,
I have this element nowhere, where should I put it?
My director has only include links, see below.
I saw many posts about this parameter but it appears sometimes in
device, sometimes in storage, sometimes in client...
I thought I didn't need it as I want to make only on 1 job / 1 client /
1 device / 1 storage
#Configuration du director
Director { # define myself
Name = rddm503serveur-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "***" # Console password
Messages = Daemon
}
# Filesets definition files
@/etc/bacula/conf.d/filesets.conf
# Jobs definition files
@/etc/bacula/conf.d/jobs.conf
# Storages definition files
@/etc/bacula/conf.d/storages.conf
# Clients definition files
@/etc/bacula/conf.d/clients.conf
# Pools definition files
@/etc/bacula/conf.d/pools.conf
# Pools definition files
@/etc/bacula/conf.d/full-pools.conf
# Pools definition files
@/etc/bacula/conf.d/inc-pools.conf
# Pools definition files
@/etc/bacula/conf.d/diff-pools.conf
# Schedules definition files
@/etc/bacula/conf.d/schedules.conf
#Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; DB Address = "127.0.0.1"; dbuser = "bacula";
dbpassword = "***"
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
# to replace the %r in the from field (-f part) with a single valid
# email address in both the mailcommand and the operatorcommand.
# What this does is, it sets the email address that emails would display
# in the FROM field, which is by default the same email as they're being
# sent to. However, if you send email to more than one address, then
# you'll have to set the FROM address manually, to a single address.
# for example, a 'no-...@my...', is better since that tends to
# tell (most) people that its coming from an automated source.
#
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = mount
console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle from
# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
append = "/var/lib/bacula/log" = all, !skipped
catalog = all, !skipped, !saved
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = rddm503serveur-mon
Password = "***"
CommandACL = status, .status
}
|