CentOS7機へエージェントインストール



# vi /etc/yum.repos.d/Bacula.repo
[Bacula-Community]
name=CentOS - Bacula - Community
baseurl=http://www.bacula.org/packages/[access_key]/rpms/9.4.2/el7/x86_64/
enabled=1
protect=0
gpgcheck=0

# yum -y install bacula-client

#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 9.4.2 (04 February 2019) -- redhat Enterprise release
#
# 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 = bacula9-server-dir
  Password = "bacula9"
}

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

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = cent7
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /opt/bacula/working
  Pid Directory = /opt/bacula/working
  Maximum Concurrent Jobs = 20
  Plugin Directory = /opt/bacula/plugins
}

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

# systemctl start bacula-fd

# systemctl status bacula-fd
# systemctl enable bacula-fd

# firewall-cmd --add-service=bacula-client --permanent
# firewall-cmd --reload