Hi all.
I recently updated our core bacula servers from bacula 7.4.4 to 9.4.2,
running Debian 9 (I used the packages in stretch-backports).
Since doing that I am now recieving the following messages:
20-Aug 07:29 backup-sd JobId 130613: JobId=130613, Job
web1-(redacted)-backups.2019-08-20_03.00.02_05 waiting to reserve a device.
The backups complete as they should, and in the timeframe they normally
did, but now we're seeing a number of jobs running into this. I did not
make any config changes from 7.4 to 9.4. I reviewed the Bacula
documentation and ran through a number of Google searches but i have not
turned anything up that explains the behavior or how to fix it. The most
I have figured out is that apparently the Max Wait Time function was
deprecated since it wasn't doing anything (or what people thought it
was) anyway, but we were not setting that anywhere so it would have been
using the defaults.
The messages appear whether it is using our ASIC Scalar 100 (used for
diffs and fulls) or the disk shelf (used for incremental's).
Previously the only time we received messages like that for jobs was
when there weren't any available tapes or the shelf had become full. Now
it seems to be doing it simply while waiting for time on a device.
I did just notice that I'm not seeing the spool messages for
differential and full jobs that we normally would see, however for the
incremental's using the shelf we do not use spooling, so I don't think
that is the issue. We have 70+ jobs that run each night. Incremental's
are daily, diffs every weekened except the first weekend which are fulls.
Example of output we used to see vs what we are seeing now (all output
and the client config below are for the same client, all identifiable
and sensitive information has been redacted for security).
Scalar 100:
Post upgrade:
18-Aug 17:49 backup-dir JobId 130434: Start Backup JobId 130434,
Job=(REDACTED)-files-backups.2019-08-18_14.28.04_53
18-Aug 18:03 backup-sd JobId 130434: JobId=130434, Job
(REDACTED)-files-backups.2019-08-18_14.28.04_53 waiting to reserve a device.
18-Aug 18:08 backup-sd JobId 130434: JobId=130434, Job
(REDACTED)-files-backups.2019-08-18_14.28.04_53 waiting to reserve a device.
18-Aug 18:13 backup-sd JobId 130434: JobId=130434, Job
(REDACTED)-files-backups.2019-08-18_14.28.04_53 waiting to reserve a device.
18-Aug 18:16 backup-dir JobId 130434: Using Device "LTO-3-4" to write.
18-Aug 18:53 backup-sd JobId 130434: Elapsed time=00:36:30, Transfer
rate=33.69 M Bytes/second
18-Aug 18:53 backup-sd JobId 130434: Sending spooled attrs to the
Director. Despooling 596,080 bytes ...
<snip>
Shelf:
Post Upgrade:
20-Aug 03:18 backup-dir JobId 130574: Start Backup JobId 130574,
Job=(REDACTED)-files-backups.2019-08-20_03.00.01_26
20-Aug 03:32 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:35 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:40 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:45 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:49 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:54 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 03:59 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:04 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:09 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:14 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:19 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:24 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:29 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:34 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:39 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:44 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:49 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:54 backup-sd JobId 130574: JobId=130574, Job
(REDACTED)-files-backups.2019-08-20_03.00.01_26 waiting to reserve a device.
20-Aug 04:59 backup-dir JobId 130574: Using Device "FileStorage-1" to write.
20-Aug 05:52 backup-sd JobId 130574: End of medium on Volume "Daily0824"
Bytes=107,374,180,371 Blocks=1,664,407 at 20-Aug-2019 05:52.
20-Aug 05:52 backup-dir JobId 130574: There are no more Jobs associated
with Volume "Daily1020". Marking it purged.
20-Aug 05:52 backup-dir JobId 130574: All records pruned from Volume
"Daily1020"; marking it "Purged"
20-Aug 05:52 backup-dir JobId 130574: Recycled volume "Daily1020"
20-Aug 05:52 backup-sd JobId 130574: Recycled volume "Daily1020" on File
device "FileStorage-1" (/storage/bacula), all previous data lost.
20-Aug 05:52 backup-sd JobId 130574: New volume "Daily1020" mounted on
device "FileStorage-1" (/storage/bacula) at 20-Aug-2019 05:52.
20-Aug 06:07 backup-sd JobId 130574: Elapsed time=01:08:37, Transfer
rate=17.92 M Bytes/second
20-Aug 06:07 backup-sd JobId 130574: Sending spooled attrs to the
Director. Despooling 596,080 bytes ...
Here are the configs we are currently running:
-----------------------------------------------------------------------------------------
Director:
# Default Bacula Director Configuration file
#
# The only thing that MUST be changed is to add one or more
# file or directory names in the Include directive of the
# FileSet resource.
#
# For Bacula release 5.2.6 (21 February 2012) -- debian 7.0
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
# directives in the Messages resource.
Director { # define myself
Name = backup-dir
DIRport = 9101 # where we listen for UA connections
DirAddress = (REDACTED)
QueryFile =
"/etc/bacula/scripts/query.sql"
WorkingDirectory =
"/var/lib/bacula"
PidDirectory =
"/var/run/bacula"
Maximum Concurrent Jobs =
20
Password = "(REDACTED)" # Console
password
Messages =
Daemon
TLS Enable =
yes
TLS Require =
yes
TLS Verify Peer =
yes
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS Allowed CN =
"(REDACTED)"
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
FileSet {
Name = "Main"
Include {
Options {
signature = MD5
}
File = /storage/
}
Exclude {
File = /.snap
}
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Client = (REDACTED)
FileSet = "Main"
Storage = Shelf-1
Messages = Standard
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
SpoolData = no
# Spool Size = 10737418240 #10G
Spool Size = 5368709120 #5G
Maximum Concurrent Jobs = 2
}
# Standard Restore template, to be changed by Console program
# Only one such job is needed for all Jobs/Clients/Storage ...
Job {
Name = "RestoreFiles"
Type = Restore
Client = (REDACTED)-fd
FileSet="Main"
Storage = Shelf-1
Pool = Monthly
Messages = Standard
Where = /storage/tmp
}
# When to do the backups, full backup on first sunday of the month,
# differential (i.e. incremental since full) every other sunday,
# and incremental backups other days
Schedule {
Name = "MonthlyCycle-1"
Run = Level=Full Pool=Yearly jan 1st sat at 3:00
Run = Level=Full Pool=Monthly feb-dec 1st sat at 3:00
Run = Level=Differential SpoolData=yes Pool=Weekly 2nd-5th sat at 3:00
Run = Level=Incremental Pool=Daily sun-fri at 3:00
}
# new schedule for (REDACTED)
Schedule {
Name = "MonthlyCycle-2-8wk-weekly"
Run = Level=Full Pool=Yearly jan 1st sat at 3:00
Run = Level=Full Pool=Monthly feb-dec 1st sat at 3:00
Run = Level=Differential SpoolData=yes Pool=Weekly 2nd-5th sat at 3:00
Run = Level=Differential Pool=8wk-Weekly 1st-5th sun at 3:00
Run = Level=Incremental Pool=Daily mon-fri at 3:00
}
# Definition of file storage device
Storage {
Name = Shelf-1
# Do not use "localhost" here
Address = (REDACTED) # N.B. Use a fully qualified name here
SDPort = 9103
Password = "(REDACTED)"
Device = FileStorage-1
Media Type = File
Maximum Concurrent Jobs = 20
TLS Enable = yes
TLS Require = yes
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
# Definition of tape storage device
Storage {
Name = "Scalar ADIC 100"
Address = (REDACTED) # N.B. Use a fully qualified name here
SDPort = 9103
Password = "(REDACTED)" # password for Storage daemon
Device = "Scalar ADIC 100" # 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 = 8
# TLS Config / use Client certificate for outbound connections
TLS Enable = yes
TLS Require = yes
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = "(REDACTED)"; DB Address = ""; dbuser = "(REDACTED)";
dbpassword = "(REDACTED)"
}
# 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 '[email protected]', is better since that tends to
# tell (most) people that its coming from an automated source.
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = (REDACTED) = all, !skipped
operator = (REDACTED) = 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/log/bacula/bacula.log" = all, !skipped
catalog = all
}
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\"
-s \"Bacula daemon message\" %r"
mail = [email protected] = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
}
# Scratch pool definition
Pool {
Name = Scratch
Storage = "Scalar ADIC 100"
Pool Type = Backup
}
# Daily pool definition
Pool {
Name = Daily
Storage = Shelf-1
Pool Type = Backup
AutoPrune = yes
Recycle = yes
Recycle Oldest Volume = yes
Maximum Volume Bytes = 100G
LabelFormat = "Daily"
Volume Retention = 21d
File Retention = 21d
Job Retention = 21d
}
# Weekly pool definition
Pool {
Name = Weekly
Storage = "Scalar ADIC 100"
Pool Type = Backup
AutoPrune = yes
Recycle = yes
Recycle Oldest Volume = yes
Volume Retention = 30d
File Retention = 30d
Job Retention = 30d
}
# new pool for (REDACTED)
# 8 week retention Weekly pool definition
Pool {
Name = 8wk-Weekly
Storage = Shelf-1
Pool Type = Backup
AutoPrune = yes
Recycle = yes
Recycle Oldest Volume = yes
Maximum Volume Bytes = 100G
LabelFormat = "8wk-weekly"
Volume Retention = 56d
File Retention = 56d
Job Retention = 56d
}
# Monthly pool definition
Pool {
Name = Monthly
Storage = "Scalar ADIC 100"
Pool Type = Backup
AutoPrune = yes
Recycle = yes
Recycle Oldest Volume = yes
Volume Retention = 365d
File Retention = 365d
Job Retention = 365d
}
# Yearly pool definition
Pool {
Name = Yearly
Storage = "Scalar ADIC 100"
Pool Type = Backup
AutoPrune = no
Recycle = no
Recycle Oldest Volume = no
Volume Retention = 35y
File Retention = 35y
Job Retention = 35y
}
# Restricted console used by tray-monitor to get the status of the director
Console {
Name = (REDACTED)
Password = "(REDACTED)"
CommandACL = status, .status
}
# Include subfiles associated with configuration of clients.
# They define the bulk of the Clients, Jobs, and FileSets.
# Remember to "reload" the Director after adding a client file.
@|"sh -c 'for f in /etc/bacula/clientdefs/*.conf ; do echo @${f} ; done'"
-----------------------------------------------------------------------------------------
Shelf SD:
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 5.2.6 (21 February 2012) -- debian 7.0
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = (REDACTED)
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Heartbeat Interval = 300
TLS Enable = yes
TLS Require = yes
TLS Verify Peer = no
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = (REDACTED)
Password = "(REDACTED)"
TLS Enable = yes
TLS Require = yes
TLS Verify Peer = yes
TLS Allowed CN = "(REDACTED)"
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = (REDACTED)
Password = "(REDACTED)"
Monitor = yes
}
#
# Note, for a list of additional Device templates please
# see the directory <bacula-source>/examples/devices
# Or follow the following link:
#
http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
#
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = FileStorage-1
Media Type = File
Archive Device = /storage/bacula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Maximum Concurrent Jobs = 10;
}
## Reserved for restores (autoselect=no)
#Device {
# Name = FileStorage-2
# Media Type = File
# Archive Device = /storage/bacula
# LabelMedia = yes; # lets Bacula label unlabeled media
# Random Access = Yes;
# AutomaticMount = yes; # when device opened, read it
# RemovableMedia = no;
# AlwaysOpen = no;
# Maximum Concurrent Jobs = 1;
# Autoselect = no;
#}
# Send all messages to the Director,
# mount messages also are sent to the email address
Messages {
Name = Standard
director = (REDACTED) = all
}
-----------------------------------------------------------------------------------------
Scalar 100 SD:
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 5.2.6 (21 February 2012) -- debian 7.0
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = (REDACTED)
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Heartbeat Interval = 300
TLS Enable = yes
TLS Require = yes
# Peer certificate is not required/requested -- peer validity
# is verified by the storage connection cookie provided to the
# File Daemon by the director.
TLS Verify Peer = no
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
#
# List Directors who are permitted to contact Storage
daemon
#
Director
{
Name = (REDACTED)
Password =
"(REDACTED)"
# TLS
Config
TLS Enable =
yes
TLS Require =
yes
TLS Verify Peer =
yes
TLS Allowed CN =
"(REDACTED)"
TLS CA Certificate File =
/etc/bacula/ssl/(REDACTED).pem
TLS Certificate =
/etc/bacula/ssl/(REDACTED).crt
TLS Key =
/etc/bacula/ssl/(REDACTED).key
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = (REDACTED)
Password = "(REDACTED)"
Monitor = yes
}
#
# Note, for a list of additional Device templates please
# see the directory <bacula-source>/examples/devices
# Or follow the following link:
#
http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
#
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
#Device {
# Name = FileStorage
# Media Type = File
# Archive Device = /nonexistant/path/to/file/archive/dir
# LabelMedia = yes; # lets Bacula label unlabeled media
# Random Access = Yes;
# AutomaticMount = yes; # when device opened, read it
# RemovableMedia = no;
# AlwaysOpen = no;
#}
Autochanger {
Name = "Scalar ADIC 100"
Device = LTO-3-0
Device = LTO-3-1
Device = LTO-3-2
Device = LTO-3-3
Device = LTO-3-4
Device = LTO-3-5
Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg8
}
Device {
Name = LTO-3-0
Media Type = LTO-3
Drive Index = 0
Archive Device = /dev/nst4
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
Device {
Name = LTO-3-1
Media Type = LTO-3
Drive Index = 1
Archive Device = /dev/nst5
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
Device {
Name = LTO-3-2
Media Type = LTO-3
Drive Index = 2
Archive Device = /dev/nst2
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
Device {
Name = LTO-3-3
Media Type = LTO-3
Drive Index = 3
Archive Device = /dev/nst3
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
Device {
Name = LTO-3-4
Media Type = LTO-3
Drive Index = 4
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
Device {
Name = LTO-3-5
Media Type = LTO-3
Drive Index = 5
Archive Device = /dev/nst1
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Device = /dev/sg8
AutoChanger = yes
Alert Command = "sh -c 'smartctl -H -l error %c'"
Spool Directory = /mnt/bacula-spool/
Maximum Concurrent Jobs = 1
# Maximum Spool Size = 10737418240 #10G
# Maximum Job Spool Size = 10737418240 #10G
Maximum Spool Size = 5368709120 #5G
Maximum Job Spool Size = 5368709120 #5G
}
#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
Name = Standard
director = (REDACTED) = all
}
-----------------------------------------------------------------------------------------
Example Client config:
Client {
Name = (REDACTED)-files-fd
Address = (REDACTED)
FDPort = 9102
Catalog = MyCatalog
Password = "(REDACTED)" # password for FileDaemon
Maximum Concurrent Jobs = 3
# TLS Config / use Client certificate for outbound connections
TLS Enable = yes
TLS Require = yes
TLS CA Certificate File = /etc/bacula/ssl/(REDACTED).pem
TLS Certificate = /etc/bacula/ssl/(REDACTED).crt
TLS Key = /etc/bacula/ssl/(REDACTED).key
}
Job {
Name = "(REDACTED)-files-backups"
JobDefs = "DefaultJob"
Client = (REDACTED)-files-fd
Schedule = "MonthlyCycle-1"
FileSet = "(REDACTED)-files-fileset"
Pool = "Weekly"
}
FileSet {
Name = "(REDACTED)-files-fileset"
Include {
Options {
signature = MD5
xattrsupport = yes
}
# File = /shared/
File = /storage/backups/
}
Exclude {
File = /.snap
}
}
--
Paul Allen
Inetz Sr. Systems Administrator
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users