Hi,

How many files and total space on each client?  6 TB is not necessarily a huge total amount but you may want to consider splitting each client job into smaller chunks.  Also, what does the status of the jobs show?  Does it show that it is indeed backing up data?  Unfortunately, if they are not close to finishing, you most likely are going to run into the hard limit on job run time (6 days?) and the jobs will be canceled.  I'm assuming that this hard coded limitation is still in the 7.0.5 code base.

Also, to avoid queuing up additional backup runs for the same job, you may to look into the various options that allow one to cancel jobs of they are already running, already queued, etc.


--tom


On 1/27/20 2:11 PM, Jean Mark Orfali wrote:
Hello,

Thank you for your reply. Here is the missing information. My Bacula server and 
the four clients are on Linux Centos 7 servers. I use Webmin version 1.941 to 
access bacula. The bacula version is 7.0.5. The SQL server is a MariaDB version 
5.5.64. The server has 30TB of hard drive and 30GB of memory. Backups are saved 
in a directory directly on the backup server. No backup is kept on clients 
side. At the moment there is 6 TB of data to backup. On each of the 4 clients I 
have an incremental backup task schedule every day at 11 p.m. Right now I have 
4 backups running for 5 days and 14 waiting.

Here is the server configuration information:

Thank you so much!

Bacula-dir.conf

#
# 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 7.0.5 (28 July 2014) -- redhat Enterprise release
#
#  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 = bacula-dir
   DIRport = 9101
   QueryFile = "/etc/bacula/query.sql"
   WorkingDirectory = /var/spool/bacula
   PidDirectory = "/var/run"
   Maximum Concurrent Jobs = 100
   Password = "xxxx"         # Console password
   Messages = Daemon
}



#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp

#Job {
#  Name = "BackupClient2"
#  Client = bacula2-fd
#  JobDefs = "DefaultJob"
#}

#Job {
#  Name = "BackupClient1-to-Tape"
#  JobDefs = "DefaultJob"
#  Storage = LTO-4
#  Spool Data = yes    # Avoid shoe-shine
#  Pool = Default
#}

#}

# Backup the catalog database (after the nightly save)

#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#


# List of files to be backed up
FileSet {
   Name = "Full Set"
   Include {
     Options {
       signature = MD5
       compression = GZIP
     }
#
#  Put your list of files here, preceded by 'File =', one per line
#    or include an external list with:
#
#    File = <file-name
#
#  Note: / backs up everything on the root partition.
#    if you have other partitions such as /usr or /home
#    you will probably want to add them too.
#
#  By default this is defined to point to the Bacula binary
#    directory to give a reasonable FileSet to backup to
#    disk storage during initial testing.
#
     File = /
   }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
   Exclude {
     File = /var/spool/bacula
     File = /tmp
     File = /proc
     File = /tmp
     File = /sys
     File = /.journal
     File = /.fsck
     File = /bacula
   }
}

#
# 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 = "WeeklyCycle"
   Run = Full 1st sun at 23:05
   Run = Differential 2nd-5th sun at 23:05
   Run = Incremental mon-sat at 23:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
   Name = "WeeklyCycleAfterBackup"
   Run = Full sun-sat at 23:10
}

# This is the backup of the catalog
FileSet {
   Name = "Catalog"
   Include {
     Options {
       signature = MD5
     }
     File = "/var/spool/bacula/bacula.sql"
   }
}
###########################OVH##################
#Client (File Services) to backup
Client {
   #Name = BackOVH-fd
   Name = bacula-fd
   #Name = 54.39.187.124-fd
   Address = 51.79.119.27
   FDPort = 9102
   Catalog = MyCatalog
   Password = "xxxx"          # password for FileDaemon
   File Retention = 60 days            # 60 days
   Job Retention = 6 months            # six months
   AutoPrune = yes                     # Prune expired Jobs/Files
}

#
# Second Client (File Services) to backup
#  You should change Name, Address, and Password before using
#
Client {
   Name = 54.39.187.124-fd
   Address = 54.39.187.124
   FDPort = 9102
   Catalog = MyCatalog
   Password = "xxxx"
   File Retention = 90 days
   Job Retention = 6 months
   AutoPrune = yes
}
#########################FIN OVH#######################
#########################PHP PROD######################

# Second Client (File Services) to backup
#  You should change Name, Address, and Password before using
#
Client {
   Name = 162.241.136.42-fd
   Address = 162.241.136.42
   FDPort = 9102
   Catalog = MyCatalog
   Password = "xxxx"
   File Retention = 90 days
   Job Retention = 6 months
   AutoPrune = yes
}
#########################FIN PHP PROD##################
#########################FICHIER BRAVAD######################

# Second Client (File Services) to backup
#  You should change Name, Address, and Password before using
#
Client {
   Name = 54.39.187.84-fd
   Address = 54.39.187.84
   FDPort = 9102
   Catalog = MyCatalog
   Password = "xxxx"
   File Retention = 90 days
   Job Retention = 6 months
   AutoPrune = yes
}
#########################FIN FICHIER BRAVAD##################
#########################BLANCHARD######################

# Second Client (File Services) to backup
#  You should change Name, Address, and Password before using
#
Client {
   Name = 162.241.5.144-fd
   Address = 162.241.5.144
   FDPort = 9102
   Catalog = MyCatalog
   Password = "xxxx"
   File Retention = 90 days
   Job Retention = 6 months
   AutoPrune = yes
}
#########################FIN FICHIER BLANCHARD##################

# Definition of file Virtual Autochanger device
Storage {
   Name = File1
# Do not use "localhost" here
   Address = 51.79.119.27                # N.B. Use a fully qualified name here
   SDPort = 9103
   Password = "xxxx"
   Device = FileStorage
   Media Type = File
   Maximum Concurrent Jobs = 200        # run up to 10 jobs a the same time
}

# Definition of a second file Virtual Autochanger device
#   Possibly pointing to a different disk drive
Storage {
   Name = File2
# Do not use "localhost" here
   Address = 51.79.119.27                # N.B. Use a fully qualified name here
   SDPort = 9103
   Password = "xxxx"
   Device = FileChgr2
   Media Type = File2
   Maximum Concurrent Jobs = 200        # run up to 10 jobs a the same time
}

# Definition of LTO-4 tape Autochanger device
#Storage {
#  Name = LTO-4
#  Do not use "localhost" here
#  Address = 51.79.119.27               # N.B. Use a fully qualified name here
#  SDPort = 9103
#  Password = "xxxx"         # password for Storage daemon
#  Device = LTO-4                     # must be same as Device in Storage daemon
#  Media Type = LTO-4                 # must be same as MediaType in Storage 
daemon
#  Maximum Concurrent Jobs = 200
#}

# Generic catalog service
Catalog {
   Name = MyCatalog
   dbname = "bacula"; dbuser = "bacula"; dbpassword = "xxxx"
}

# 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-re...@mydomain.com', is better since that tends to
#  tell (most) people that its coming from an automated source.

#
   mailcommand = "/usr/sbin/bsmtp -h 51.79.119.27 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: 
%t %e of %c %l\" %r"
   operatorcommand = "/usr/sbin/bsmtp -h 51.79.119.27 -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: Intervention needed for %j\" %r"
   mail = root@51.79.119.27 = all, !skipped
   operator = root@51.79.119.27 = 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, !skipped, !saved
}


#
# Message delivery for daemon messages (no job).
Messages {
   Name = Daemon
   mailcommand = "/usr/sbin/bsmtp -h 51.79.119.27 -f \"\(Bacula\) \<%r\>\" -s \"Bacula 
daemon message\" %r"
   mail = root@51.79.119.27 = all, !skipped
   console = all, !skipped, !saved
   append = "/var/log/bacula/bacula.log" = all, !skipped
}

# 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
   Maximum Volume Bytes = 50G          # Limit Volume size to something 
reasonable
   Maximum Volumes = 100               # Limit number of Volumes in Pool
}

# File Pool definition
Pool {
   Name = File
   Pool Type = Backup
   Label Format = Local-
   Recycle = yes                       # Bacula can automatically recycle 
Volumes
   AutoPrune = yes                     # Prune expired volumes
   Volume Retention = 365 days         # one year
   Maximum Volume Bytes = 50G          # Limit Volume size to something 
reasonable
   Maximum Volumes = 100               # Limit number of Volumes in Pool
   #Label Format = "Vol-"               # Auto label
}


# Scratch pool definition
Pool {
   Name = Scratch
   Pool Type = Backup
}

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
   Name = bacula-mon
   Password = "xxxx"
   CommandACL = status, .status
}

#@|"find /etc/bacula/conf.d -name '*.conf' -type f -exec echo @{} \;"

Schedule {
   Name = Daily
   Run = Level=Incremental Pool=Default at 23:00
}
###############BACK OVH####################
FileSet {
   Name = BackOVH
   Include {
     File = /root/home2
     Options {
       signature = MD5
   Compression = GZIP1
     }
   }
}
Job {
   Name = BackOVH
   Type = Backup
   Level = Incremental
   Client = 54.39.187.124-fd
   FileSet = BackOVH
   Schedule = Daily
   Storage = File1
   Pool = jm
   Messages = Standard
}
Pool {
   Name = jm
   Pool Type = Backup
   Volume Retention = 365 days
   Recycle = yes
   AutoPrune = yes
   Maximum Volume Bytes = 28000G
   LabelFormat = ovh-
}
# Standard Restore template, to be changed by Console program
Job {
   Name = "RestoreOVH"
   Type = Restore
   Client=54.39.187.124-fd
   FileSet="BackOVH"
   Storage = File1
   Pool = jm
   Messages = Standard
   Where = /root/home1
}
###################FIN BACK OVH####################
###################BACK PHP PROD###################
FileSet {
   Name = BackphppROD
   Include {
     File = /home
     Options {
       signature = MD5
   Compression = GZIP1
     }
   }
}
Job {
   Name = BackphppROD
   Type = Backup
   Level = Incremental
   Client = 162.241.136.42-fd
   FileSet = BackphppROD
   Schedule = Daily
   Storage = File1
   Pool = PHPProd
   Messages = Standard
}

# Standard Restore template, to be changed by Console program
Job {
   Name = "RestorePHPProd"
   Type = Restore
   Client=162.241.136.42-fd
   FileSet="BackphppROD"
   Storage = File1
   Pool = PHPProd
   Messages = Standard
   Where = /bacula/restore
}

Pool {
   Name = PHPProd
   Pool Type = Backup
   Volume Retention = 90 days
   Recycle = yes
   AutoPrune = yes
   LabelFormat = PHPProd-
   Maximum Volume Bytes = 28000G
}
##########################FIN PHP PROD#####################
###################BACK Serveur Fichiers Bravad###################
FileSet {
   Name = BackServeurFichier
   Include {
     File = /home
     Options {
       signature = MD5
   Compression = GZIP1
     }
   }
}
Job {
   Name = BackServeurFichier
   Type = Backup
   Level = Incremental
   Client = 54.39.187.84-fd
   FileSet = BackServeurFichier
   Schedule = Daily
   Storage = File1
   Pool = ServeurFichier
   Messages = Standard
}

# Standard Restore template, to be changed by Console program
Job {
   Name = "RestoreServeurFichier"
   Type = Restore
   Client=54.39.187.84-fd
   FileSet="BackServeurFichier"
   Storage = File1
   Pool = ServeurFichier
   Messages = Standard
   Where = /bacula/restore
}

Pool {
   Name = ServeurFichier
   Pool Type = Backup
   Volume Retention = 90 days
   Recycle = yes
   AutoPrune = yes
   LabelFormat = ServeurFichier-
   Maximum Volume Bytes = 28000G
}
##########################FIN Serveur Fichiers Bravad#####################
###################BACK Serveur BLANCHARD###################
FileSet {
   Name = BackBlanchard
   Include {
     File = /backup
     Options {
       signature = MD5
   Compression = GZIP1
     }
   }
}
Job {
   Name = BackBlanchard
   Type = Backup
   Level = Incremental
   Client = 162.241.5.144-fd
   FileSet = BackBlanchard
   Schedule = Daily
   Storage = File1
   Pool = BackBlanchard
   Messages = Standard
}

# Standard Restore template, to be changed by Console program
Job {
   Name = "RestoreBlanchard"
   Type = Restore
   Client=162.241.5.144-fd
   FileSet="BackBlanchard"
   Storage = File1
   Pool = BackBlanchard
   Messages = Standard
   Where = /bacula/restore
}

Pool {
   Name = BackBlanchard
   Pool Type = Backup
   Volume Retention = 90 days
   Recycle = yes
   AutoPrune = yes
   LabelFormat = Blanchard-
   Maximum Volume Bytes = 28000G
}
##########################FIN Serveur BLANCHARD#####################

========================================================================================================================================================

Bacula-fd.comf

#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 9.0.6 (20 November 2017) -- redhat (Core)
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# Copyright (C) 2000-2015 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
   Name = bacula-dir
   Password = "xxxx"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
   Name = bacula-mon
   Password = "xxxx"
   Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
   Name = bacula-fd
   FDport = 9102                  # where we listen for the director
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 20
   Plugin Directory = /usr/lib64/bacula
}

# Send all messages except skipped files back to Director
Messages {
   Name = Standard
   director = bacula-dir = all, !skipped, !restored
}
=================================================================================================================================

Bacula-sd.conf

#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 9.0.6 (20 November 2017) -- redhat (Core)
#
# 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.
#
#
# Copyright (C) 2000-2017 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

Storage {                             # definition of myself
   Name = bacula-fd
   SDPort = 9103                  # Director's port
   WorkingDirectory = "/var/spool/bacula"
   Pid Directory = "/var/run"
   Plugin Directory = "/usr/lib64/bacula"
   Maximum Concurrent Jobs = 100
   SDAddress = 51.79.119.27
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
   Name = bacula-dir
   Password = "xxxx"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
   Name = bacula-mon
   Password = "xxxx"
   Monitor = yes
}

#
# Note, for a list of additional Device templates please
#  see the directory <bacula-source>/examples/devices
# Or follow the following link:
#  
http://www.bacula.org/git/cgit.cgi/bacula/tree/bacula/examples/devices?h=Branch-7.4
#

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

#
# Define a Virtual autochanger
#
Autochanger {
   Name = FileChgr1
   Device = FileChgr1-Dev1, FileChgr1-Dev2
   Changer Command = ""
   Changer Device = /dev/null
}

Device {
   Name = FileStorage
   Media Type = File
   Archive Device = /home/bacula/backup
   LabelMedia = yes
   Random Access = yes
   AutomaticMount = yes
   RemovableMedia = no
   AlwaysOpen = no
}

Device {
   Name = FileChgr1-Dev1
   Media Type = File1
   Archive Device = /tmp
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 100
}

Device {
   Name = FileChgr1-Dev2
   Media Type = File1
   Archive Device = /tmp
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 100
}

#
# Define a second Virtual autochanger
#
Autochanger {
   Name = FileChgr2
   Device = FileChgr2-Dev1, FileChgr2-Dev2
   Changer Command = ""
   Changer Device = /dev/null
}

Device {
   Name = FileChgr2-Dev1
   Media Type = File2
   Archive Device = /tmp
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 100
}

Device {
   Name = FileChgr2-Dev2
   Media Type = File2
   Archive Device = /tmp
   LabelMedia = yes;                   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;               # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
   Maximum Concurrent Jobs = 100
}



#
# An autochanger device with two drives
#
#Autochanger {
#  Name = Autochanger
#  Device = Drive-1
#  Device = Drive-2
#  Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
#  Changer Device = /dev/sg0
#}

#Device {
#  Name = Drive-1                      #
#  Drive Index = 0
#  Media Type = DLT-8000
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  AutoChanger = yes
#  #
#  # New alert command in Bacula 9.0.0
#  #  Note: you must have the sg3_utils (rpms) or the
#  #        sg3-utils (deb) installed on your system.
#  #        and you must set the correct control device that
#  #        corresponds to the Archive Device
#  Control Device = /dev/sg?? # must be SCSI ctl for /dev/nst0
#  Alert Command = "/usr/libexec/bacula/tapealert %l"
#
#  #
#  # Enable the Alert command only if you have the mtx package loaded
#  # Note, apparently on some systems, tapeinfo resets the SCSI controller
#  #  thus if you turn this on, make sure it does not reset your SCSI
#  #  controller.  I have never had any problems, and smartctl does
#  #  not seem to cause such problems.
#  #
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#Device {
#  Name = Drive-2                      #
#  Drive Index = 1
#  Media Type = DLT-8000
#  Archive Device = /dev/nst1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A Linux or Solaris LTO-2 tape drive
#
#Device {
#  Name = LTO-2
#  Media Type = LTO-2
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  Maximum File Size = 3GB
## Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
## Changer Device = /dev/sg0
## AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A Linux or Solaris LTO-3 tape drive
#
#Device {
#  Name = 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
# Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sg0
# AutoChanger = yes
#  #
#  # New alert command in Bacula 9.0.0
#  #  Note: you must have the sg3_utils (rpms) or the
#  #        sg3-utils (deb) installed on your system.
#  #        and you must set the correct control device that
#  #        corresponds to the Archive Device
#  Control Device = /dev/sg??  # must be SCSI ctl for /dev/nst0
#  Alert Command = "/usr/libexec/bacula/tapealert %l"
#
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A Linux or Solaris LTO-4 tape drive
#
#Device {
#  Name = LTO-4
#  Media Type = LTO-4
#  Archive Device = /dev/nst0
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  Maximum File Size = 5GB
# Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
# Changer Device = /dev/sg0
# AutoChanger = yes
#  #
#  # New alert command in Bacula 9.0.0
#  #  Note: you must have the sg3_utils (rpms) or the
#  #        sg3-utils (deb) installed on your system.
#  #        and you must set the correct control device that
#  #        corresponds to the Archive Device
#  Control Device = /dev/sg??  # must be SCSI ctl for /dev/nst0
#  Alert Command = "/usr/libexec/bacula/tapealert %l"
#
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# An HP-UX tape drive
#
#Device {
#  Name = Drive-1                      #
#  Drive Index = 0
#  Media Type = DLT-8000
#  Archive Device = /dev/rmt/1mnb
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#  AutoChanger = no
#  Two EOF = yes
#  Hardware End of Medium = no
#  Fast Forward Space File = no
#  #
#  # New alert command in Bacula 9.0.0
#  #  Note: you must have the sg3_utils (rpms) or the
#  #        sg3-utils (deb) installed on your system.
#  #        and you must set the correct control device that
#  #        corresponds to the Archive Device
#  Control Device = /dev/sg??  # must be SCSI ctl for /dev/rmt/1mnb
#  Alert Command = "/usr/libexec/bacula/tapealert %l"
#
#  #
#  # Enable the Alert command only if you have the mtx package loaded
#  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# A FreeBSD tape drive
#
#Device {
#  Name = DDS-4
#  Description = "DDS-4 for FreeBSD"
#  Media Type = DDS-4
#  Archive Device = /dev/nsa1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
#  Hardware End of Medium = no
#  BSF at EOM = yes
#  Backward Space Record = no
#  Fast Forward Space File = no
#  TWO EOF = yes
#  #
#  # New alert command in Bacula 9.0.0
#  #  Note: you must have the sg3_utils (rpms) or the
#  #        sg3-utils (deb) installed on your system.
#  #        and you must set the correct control device that
#  #        corresponds to the Archive Device
#  Control Device = /dev/sg??  # must be SCSI ctl for /dev/nsa1
#  Alert Command = "/usr/libexec/bacula/tapealert %l"
#
#  If you have smartctl, enable this, it has more info than tapeinfo
#  Alert Command = "sh -c 'smartctl -H -l error %c'"
#}

#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
   Name = Standard
   director = bacula-dir = all
}
===========================================================================================================================

Bconsole.conf

#
# Bacula User Agent (or Console) Configuration File
#
# Copyright (C) 2000-2015 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

Director {
   Name = bacula-dir
   #Name = BackOVH-fd
   DIRport = 9101
   address = 51.79.119.27
   Password = "xxxx"
}

============================================================================================================================
On the client side

Bacula-fd.conf

#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 5.2.13 (19 February 2013) -- redhat (Core)
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
   #Name = bacula-dir
   Name = bacula-dir
   Password = "xxxx"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
   Name = bacula-mon
   Password = "xxxx"
   Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
   #Name = 54.39.187.124-fd
   Name = bacula-fd2
   FDAddress = 54.39.187.124
   FDport = 9102                  # where we listen for the director
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
   Maximum Concurrent Jobs = 100
}

# Send all messages except skipped files back to Director
Messages {
   Name = Standard
   director = BackupServer-dir = all, !skipped, !restored
}

============================================================================================================================
bconsole.conf

#
# Bacula User Agent (or Console) Configuration File
#

Director {
   Name = bacula-dir
   DIRport = 9101
   address = 54.39.187.124
   Password = "xxxx"



Jean Mark Orfali . Sys admin
T. 1-877-258-4542  P. 227
bravad.ca/Fabrique

Avis de confidentialité
Le contenu de ce message ainsi que du ou des fichiers qui y sont joints est 
strictement confidentiel et destiné exclusivement à son ou sa destinataire. Si 
vous n'êtes pas cette personne, nous attirons votre attention sur le fait qu'il 
est strictement interdit de copier, de faire suivre ou d'utiliser les 
informations contenues dans ce courriel. Si vous l'avez reçu par erreur, nous 
vous remercions de nous le faire savoir.

-----Message d'origine-----
De : Phil Stracchino <ph...@caerllewys.net>
Envoyé : Monday, 27 January, 2020 11:25 AM
À : bacula-users@lists.sourceforge.net
Objet : Re: [Bacula-users] Bacula and memory usage

On 2020-01-27 10:38, Jean Mark Orfali wrote:
Hello,

I have a Bacula server and 4 clients. The server has 8 cpu and 30 GIB
of ram. I don't know why, it's been 5 days since the first backup
started and they are still not finished. The ram on the server is
still used at almost 100%, 29.30GIB. Do you know why Bacula uses so much memory?

thank you so much
This is not nearly enough information from which to diagnose the problem.

What back-end catalog database are you running?  How is it configured?
Does it have enough memory?  How much data are you backing up, and where are 
you backing it up to?  What are the concurrency settings on ALL of your Bacula 
daemons?  What is the Director currently *doing*?  What jobs are running, what 
jobs are pending, what jobs are scheduled?  This would probably be enough to 
start troubleshooting.

Tell us how your system is set up, at high level, and give us an overview of 
your configuration (with passwords obscured, of course).


One unfortunate beginner mistake that I have seen people run into is to run 
disk-to-disk backups stored on one of the filesystems that is backed up, 
leading to a job that will effectively run forever as it recursively backs up 
its own backups.

Another common mistake is to put the catalog on a fresh-out-of-the-box, 
unconfigured, untuned MySQL instance.  The only thing that can be said of the 
typical fresh-from-the-box default MySQL configuration file is that it's 
usually no longer actively harmful.  Whichever database you are using for your 
catalog, make sure it is properly configured and tuned before you start.

(And don't use SQLite as a production catalog DB.  Seriously.)


--
   Phil Stracchino
   Babylon Communications
   ph...@caerllewys.net
   p...@co.ordinate.org
   Landline: +1.603.293.8485
   Mobile:   +1.603.998.6958


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to