Beruflich Dokumente
Kultur Dokumente
###########################
#################################### Configuracion Bacula Director
###########################################
###################################################################################
###########################
Director {
Name = backup
DIRport = 9101
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = /var/spool/bacula
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "123456"
Messages = Daemon
DirAddress = 192.168.11.158
}
###################################################################################
###########################
#################################### Fin Configuracion Bacula Director
#######################################
###################################################################################
###########################
###################################################################################
###########################
############################### Trabajo de respaldo Servidor Correo Interno Jobs
#############################
###################################################################################
###########################
JobDefs {
Name = "Correo Interno"
Enabled = yes
Type = Backup
Level = Full
Client = correo-fd
FileSet = "Respaldo Correo Interno"
# Schedule = "Horario Correo Interno"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Correo Interno"
JobDefs = "Correo Interno"
Write Bootstrap = "/var/spool/bacula/Client1.bsr"
}
###################################################################################
###########################
###################################### Fin Servidor Correo Interno Jobs
######################################
###################################################################################
###########################
###################################################################################
###########################
############################## Trabajo de respaldo Servidor Web Jobs
#########################################
###################################################################################
###########################
JobDefs {
Name = "Servidor Web"
Enabled = yes
Type = Backup
Level = Full
Client = fach-fd
FileSet = "Respaldo Servidor Web"
# Schedule = "Diario"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Servidor Web"
JobDefs = "Servidor Web"
Write Bootstrap = "/var/spool/bacula/www.bsr"
}
###################################################################################
###########################
###################################### Fin Servidor Web Jobs
#################################################
###################################################################################
###########################
###################################################################################
###########################
################################ Trabajo de respaldo Servidor de Intranet Jobs
###############################
###################################################################################
###########################
JobDefs {
Name = "Servidor Intranet"
Enabled = yes
Type = Backup
Level = Full
Client = intranet-fd
FileSet = "Respaldo Servidor de Intranet"
# Schedule = "Horario Intranet"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Servidor Intranet"
JobDefs = "Servidor Intranet"
Write Bootstrap = "/var/spool/bacula/intranet.bsr"
}
###################################################################################
###########################
########################################## Fin Servidor Intranet Jobs
########################################
###################################################################################
###########################
###################################################################################
###########################
##################################### Trabajo de respaldo Servidor PKI Jobs
##################################
###################################################################################
###########################
JobDefs {
Name = "PKI"
Enabled = yes
Type = Backup
Level = Full
Client = pki-fd
FileSet = "Respaldo PKI"
# Schedule = "Horario PKI"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "PKI"
JobDefs = "PKI"
Write Bootstrap = "/var/spool/bacula/pki.bsr"
}
###################################################################################
###########################
########################################### Fin Servidor PKI Jobs
############################################
###################################################################################
###########################
###################################################################################
###########################
################################### Trabajo de respaldo Servidor GesDoc Jobs
#################################
###################################################################################
###########################
JobDefs {
Name = "Servidor GesDoc"
Enabled = yes
Type = Backup
Level = Full
Client = gesdoc-fd
FileSet = "Respaldo GesDoc"
# Schedule = "Horario GesDoc"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Servidor GesDoc"
JobDefs = "Servidor GesDoc"
Write Bootstrap = "/var/spool/bacula/gesdoc.bsr"
}
###################################################################################
###########################
########################################## Fin Servidor GesDoc Jobs
##########################################
###################################################################################
###########################
###################################################################################
###########################
################################### Trabajo de respaldo Correo Externo Jobs
##################################
###################################################################################
###########################
JobDefs {
Name = "CorreoExterno"
Enabled = yes
Type = Backup
Level = Full
Client = cexterno-fd
FileSet = "Respaldo Correo Externo"
Schedule = "Horario cexterno"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Correo Externo"
JobDefs = "CorreoExterno"
Write Bootstrap = "/var/spool/bacula/cexterno.bsr"
}
###################################################################################
###########################
##################################### Fin Servidor Correo Externo jobs
#######################################
###################################################################################
###########################
##########################################################################
###########################TRABAJO SERVERCIC ############################33
#############################################################################
JobDefs {
Name = "Servidor Servercic"
Enabled = yes
Type = Backup
Level = Incremental
Client = servercic-fd
FileSet = "Respaldo servercic"
#Schedule = "Horario servercic"
Storage = LTO2-0
Messages = Standard
Pool = Default
}
Job {
Name = "Cliente servercic"
JobDefs = "Servidor Servercic"
Write Bootstrap = "/var/spool/bacula/servercic.bsr"
}
###########################################################################333
##############################################################################
###########################TRABAJO Calificaciones ############################33
JobDefs {
Name = "Servidor Calificaciones"
Enabled = yes
Type = Backup
Level = Full
Client = calificaciones-fd
FileSet = "Respaldo Calificaciones"
# Schedule = "Horario Calificaciones"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Calificaciones"
JobDefs = "Servidor Calificaciones"
Write Bootstrap = "/var/spool/bacula/calificaciones.bsr"
}
###########################################################################333
###########################################################################
#########################SERVIDOR BACKUP#####################################
JobDefs {
Name = "Servidor Bacula"
Enabled = yes
Type = Backup
Level = Full
Client = bacula-fd
FileSet = "Respaldo Bacula"
# Schedule = "Horario Calificaciones"
Storage = LTO2-0
Messages = Standard
Pool = Default
Priority = 10
}
Job {
Name = "Cliente Bacula"
JobDefs = "Servidor Bacula"
Write Bootstrap = "/var/spool/bacula/bacula.bsr"
}
###################################################################
####################################
#Job {
# Name = "Servidor Backup"
# Client = bacula-fd
# JobDefs = "DefaultJob"
# Write Bootstrap = "/var/spool/bacula/Client2.bsr"
#}
#
# Standard Restore template, to be changed by Console program
# Only one such job is needed for all Jobs/Clients/Storage ...
#
##########################################################
##################### Para Restaurar ########################
#####################################################33333
Job {
Name = "RestoreFiles"
Type = Restore
Client= bacula-fd
FileSet="Respaldo Bacula"
Storage = File
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
###################################################################################
###########################
########################### Definicion respaldo Servidor Correo Interno
######################################
###################################################################################
###########################
FileSet {
Name = "Respaldo Correo Interno"
Include {
File = /
File = /tmp
File = /usr
File = /var
File = /home
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /.journal
# File = /.fsck
# }
###################################################################################
###########################
######################################## Fin Servidor Correo Interno
#########################################
###################################################################################
###########################
###################################################################################
###########################
################################# Definicion respaldo Servidor PKI
###########################################
###################################################################################
###########################
FileSet {
Name = "Respaldo PKI"
Include {
File = /
File = /usr
File = /var
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# File = /boot
# }
}
###################################################################################
###########################
############################################ Fin Servidor PKI
################################################
###################################################################################
###########################
###################################################################################
###########################
################################### Definicion respaldo Servidor Intranet
####################################
###################################################################################
###########################
FileSet {
Name = "Respaldo Servidor de Intranet"
Include {
File = /home
File = /var
File = /
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# File = /boot
# }
###################################################################################
###########################
###################################### Fin Servidor Intrantet
################################################
###################################################################################
###########################
###################################################################################
###########################
####################################### Definicion respaldo Servidor Web
#####################################
###################################################################################
###########################
FileSet {
Name = "Respaldo Servidor Web"
Include {
File = /
File = /boot
File = /home
File = /tmp
File = /usr
File = /var
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# File = /boot
# }
###################################################################################
###########################
############################################# Fin Servidor Web
###############################################
###################################################################################
###########################
###################################################################################
###########################
################################## Definicion Respaldo Servidor Correo Externo
###############################
###################################################################################
###########################
FileSet {
Name = "Respaldo Correo Externo"
Include {
File = /
File = /home
File = /var
# File = /bin
# File = /boot
# File = /opt
Options {
signature = MD5
compression = GZIP
}
# exclusiones
Exclude {
File = /tmp
}
###################################################################################
###########################
####################################### Fin Servidor Correo Externo
##########################################
###################################################################################
###########################
###################################################################################
###########################
#################################### Definicion respaldos Servidor GesDoc
####################################
###################################################################################
###########################
FileSet {
Name = "Respaldo GesDoc"
Include {
File = /
File = /boot
File = /oracle
File = /usr
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /home/oracle/oraInventory
# File = /home/oracle/Desktop
# File = /home/oracle/*.buf
# }
}
###################################################################################
###########################
############################################ Fin Servidor GesDoc
############################################
#######################################Server
Cic################################################################
FileSet {
Name = "Respaldo servercic"
Include {
File = "D:/"
File = "F:/"
Options {
signature = MD5
compression = GZIP
}
}
# exclusiones
# Exclude {
# File = /home/oracle/oraInventory
# File = /home/oracle/Desktop
# File = /home/oracle/*.buf
# }
###################################################################################
###########################
####################################### Definicion respaldo Servidor
Calificaciones###########################
###################################################################################
###########################
FileSet {
Name = "Respaldo Calificaciones"
Include {
File = C:
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# File = /boot
# }
###################################################################################
###########################
############################################# Fin Servidor Calificaciones
####################################
###################################################################################
###########################
###################################################################################
###########################
####################################### Definicion respaldo Servidor Backup
###########################
###################################################################################
###########################
FileSet {
Name = "Respaldo Bacula"
Include {
File = /
Options {
signature = MD5
compression = GZIP
}
# exclusiones
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# File = /boot
# }
###################################################################################
###########################
############################################# Fin Servidor Backup
####################################
###################################################################################
###########################
###################################################################################
###3
# 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
Client {
Name = correo-fd
Address = 192.168.14.152
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
###################################### Fin Cliente Correo Interno
###########################################
###################################################################################
###########################
###################################################################################
###########################
########################################## Cliente Servidor PKI
##############################################
###################################################################################
###########################
Client {
Name = pki-fd
Address = 192.168.14.153
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
############################################# Fin Cliente PKI
################################################
###################################################################################
###########################
###################################################################################
###########################
###################################### Cliente Servidor Correo Externo
######################################
###################################################################################
###########################
Client {
Name = cexterno-fd
Address = 192.168.11.4
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
######################################## Fin Cliente Correo Externo
##########################################
###################################################################################
###########################
###################################################################################
###########################
############################################ Cliente Servidor Web
############################################
###################################################################################
###########################
Client {
Name = fach-fd
Address = 192.168.11.8
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
############################################ Fin Servidor Web
################################################
###################################################################################
###########################
###################################################################################
###########################
########################################### Cliente Servidor Intranet
########################################
###################################################################################
###########################
Client {
Name = intranet-fd
Address = 192.168.14.162
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
########################################### Fin Servidor Intranet
############################################
###################################################################################
###########################
###################################################################################
#################
########################################## Cliente Servidor GesDoc
###########################################
###################################################################################
###########################
Client {
Name = gesdoc-fd
Address = 192.168.14.163
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
########################################### Fin Servidor GesDoc
##############################################
###################################################################################
###########################
###################################################################################
#######################3
###################################### Cliente Servercic
##################################################
###################################################################################
#######################
Client {
Name = servercic-fd
Address = 10.100.200.8
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
###################################################################################
###########################
########################################## Cliente Servidor Calificaciones
###################################
###################################################################################
###########################
Client {
Name = calificaciones-fd
Address = 192.168.14.155
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
########################################### Fin Servidor Calificaciones
######################################
###################################################################################
###########################
Client {
Name = bacula-fd
Address = 192.168.14.158
FDPort = 9102
Catalog = MyCatalog
Password = "123456" # password for FileDaemon 2
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
###################################################################################
###########################
########################################### Fin Servidor Backup
######################################
###################################################################################
###########################
###################################################################################
###########################
################################### Definicion unidad de Respaldo LTO2
#######################################
###################################################################################
###########################
Storage {
Name = "LTO2-0"
# Do not use "localhost" here
Address = 192.168.11.158 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "123456"
Device = "LTO2-0"
MediaType = "LTO-2"
}
###################################################################################
###########################
################################## Fin defenicion unidad de respaldo
#########################################
###################################################################################
###########################
#Storage {
# Name = "DVD"
# Do not use "localhost" here
# Address = storage.example.com # N.B. Use a fully qualified name here
# SDPort = 9103
# Password = "@@SD_PASSWORD@@"
# Device = "DVD Writer"
# MediaType = "DVD"
#}
###################################################################################
###########################
################################ Comando Envio de Correo a Administrador
#####################################
###################################################################################
###########################
#
# Esta es la seccion en donde se configura el envio de correo por parte del sistema
bacula hacia su
# administrador o a quien sea designado
#
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-reply@mydomain.com', is better since that tends to
# tell (most) people that its coming from an automated source.
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h 192.168.11.4 -f \"\(Respaldo\) %r\" -s \"Mensaje
Sistema Respaldo\" %r"
mail = 15558005@fach.cl = all, !skipped
# mail = interno2808@cic = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula.log" = all, !skipped
}
###################################################################################
###########################
################################## Fin Comando Envio de Correo
###############################################
###################################################################################
###########################
# Default pool definition
Pool {
Name = Default
UseVolumeOnce = no
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days # one year
}
#
# Restricted console used by tray-monitor to get the status of the director
#
###################################################################################
###########################
######################################## Definicion de consola
###############################################
###################################################################################
###########################
Console {
Name = backup-mon
Password = "123456"
CommandACL = status, .status
}
###################################################################################
###########################
######################################## Fin definicion consola
##############################################
###################################################################################
###########################