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



# vi /etc/apt/sources.list.d/Bacula-Community.list

# Bacula Community
deb [arch=amd64] http://www.bacula.org/packages//debs/9.4.2/bionic/amd64/ bionic main

# cd /tmp
# wget https://www.bacula.org/downloads/Bacula-4096-Distribution-Verification-key.asc
# apt-key add Bacula-4096-Distribution-Verification-key.asc

# rm Bacula-4096-Distribution-Verification-key.asc

# apt-get update

# apt-get install bacula-client

#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 9.4.2 (04 February 2019) -- ubuntu 18.04
#
# 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 = ubuntu18
  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 = bacula9-server-dir = all, !skipped, !restored
}

# systemctl start bacula-fd

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

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