Instalar Bacula FD no Scientific Linux/CentOS/Red Hat Enterprise Linux
1. Crie o arquivo de repositório /etc/yum.repos.d/pstorz.repo:
[home_pstorz]
name=pstorz's Home Project (CentOS_CentOS-6)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/pstorz/CentOS_CentOS-6/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/pstorz/CentOS_CentOS-6/repodata/repomd.xml.key
enabled=1
2. Atualize os repositórios usados pelo yum:
# yum update
3. Instale o Bacula FD:
# yum install bacula-fd
4. Obtenha o nome e a senha do Director do Bacula Server:
# vi /etc/bacula/bacula-dir.conf

# Define the Director name, password used for authenticating the Console program.
Director {
   Name = nome-do-bacula-dir

   Password = "senha-do-bacula-dir" # Console password.
5. Edite o arquivo de configuração do Bacula FD. Configure o nome e a senha do Director do Bacula, comente a seção Restricted Director e salve o arquivo /etc/bacula/bacula.conf:
# vi /etc/bacula/bacula.conf

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

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

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = nome-do-bacula-dir = all, !skipped, !restored
6. Configure a autoinicialização do serviço do Bacula FD:
# chkconfig --add bacula-fd
7. Inicie o serviço do Bacula FD:
# /etc/init.d/bacula-fd start
8. Obtenha o nome do Bacula FD:
# vi /etc/bacula/bacula-fd.conf

# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = nome-do-bacula-fd
9. Crie a senha do Bacula FD:
# openssl rand -base64 33
senha-do-bacula-fd
10. Crie o arquivo de configuração de cliente no Bacula Server a partir do arquivo /etc/bacula/conf.d/clients/example-client1.conf ou /etc/bacula/conf.d/clients/example-client2.conf:
# cp /etc/bacula/conf.d/clients/example-client1.conf /etc/bacula/conf.d/clients/nome-do-bacula-fd.conf
# vi /etc/bacula/conf.d/clients/nome-do-bacula-fd.conf

##################################################
# /etc/bacula/conf.d/clients/nome-do-bacula-fd.conf #
##################################################

# This can be used as the standard client config.

# Remote client name, address, and matching password with their bacula-fd.conf.
Client {
   Name = nome-do-bacula-fd
   Address = endereço.do.bacula.fd # Remote client address.
   FD Port = 9102 # Default.
   Password = "senha-do-bacula-fd" # Matches remote client /etc/bacula/bacula-fd.conf
   Catalog = PrimaryCatalog # Matches in /etc/bacula/bacula-dir.conf
# These do not affect your archive, and should be set lower than the Pool/Volume retention definitions.
   File Retention = 2 weeks # Files are pruned from Catalog database if Files are older than File retention period.
   Job Retention = 2 weeks # Jobs are pruned from Catalog database if Job records are older than File retention period.
   AutoPrune = yes # Yes to enable the above.
   Heartbeat Interval = 1 Minute # Prevents timeouts
}


# Job name for client, and JobDef. Explicitly specifying Job rules here will
# overide the defaults defined in the /etc/bacula/conf.d/jobdefs.conf
Job {
   Name = nome-do-bacula-fd
   Client = nome-do-bacula-fd
   JobDefs = "StandardLinuxJob"
}
11. Mude o owner (proprietário) do arquivo /etc/bacula/conf.d/clients/nome-do-bacula-fd.conf para root:bacula:
# chown root:bacula /etc/bacula/conf.d/clients/nome-do-bacula-fd.conf
12. Edite o arquivo /etc/bacula/bacula.conf. Configure a senha do Bacula FD e salve o arquivo:
# vi /etc/bacula/bacula.conf

# List Directors who are permitted to contact this File daemon
#
Director {

  Password = "senha-do-bacula-fd"
13. Reinicie o serviço do Director do Bacula Server:
# /etc/init.d/bacula-dir restart
14. Reinicie o serviço do Bacula FD:
# /etc/init.d/bacula-fd restart
IP
3.237.16.210