Sie sind auf Seite 1von 20

###################################################################################

###########################
#################################### 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"
#}

# Backup the catalog database (after the nightly save)


#Job {
# Name = "BackupCatalog"
# JobDefs = "DefaultJob"
# Level = Full
# FileSet="Catalog"
# Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
# RunBeforeJob = "/usr/libexec/bacula/make_catalog_backup bacula bacula"
# This deletes the copy of the catalog
# RunAfterJob = "/usr/libexec/bacula/delete_catalog_backup"
# Write Bootstrap = "/var/spool/bacula/BackupCatalog.bsr"
# Priority = 11 # run after main backup
#}

#
# 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

############################### programacion respaldo Correo Interno


#############################3
Schedule {
Name = "Horario Correo Interno"
# Run = Full 2nd mon at 12:00
# Run = Full 1st tue at 10:30
# Run = Differential 2nd-5th sun at 15:30
Run = Incremental mon-sat at 12:00
}
###################################################################################
##################

############################### programacion respaldo Intranet


#############################3
Schedule {
Name = "Horario Intranet"
Run = Full 3rd fri at 08:45
# Run = Full 1st tue at 10:30
# Run = Differential 2nd-5th sun at 23:05
# Run = Incremental mon-sat at 16:30
}
###################################################################################
##################
############################### programacion respaldo CORREO EXTERNO
#############################3
Schedule {
Name = "Horario cexterno"
Run = Full 4th sun at 00:00
# Run = Full 1st tue at 10:30
# Run = Differential 2nd-5th sun at 23:05
# Run = Incremental mon-sun at 17:34
}
#######

############################### programacion respaldo GesDoc


#############################3
Schedule {
Name = "Horario GesDoc"
Run = Full 3rd fri at 19:00
# Run = Full 1st tue at 10:30
# Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 17:00
}
###################################################################################
##################

############################### programacion respaldo PKI


#############################3
Schedule {
Name = "Horario PKI"
Run = Full 3rd fri at 13:00
# Run = Full 1st tue at 10:30
# Run = Differential 2nd-5th sun at 23:05
# Run = Incremental mon-sat at 17:30
}
###################################################################################
##################

############################# programacion calificaciones


####################################
Schedule {
Name = "Horario servercic"
Run = Full 2nd tue at 12:00
# Run = Differential 2nd-5th sun at 23:05
# Run = Incremental mon-sat at 22:00
# Run = Level=Incremental jan on 7 mon at 12:00
}
###################################################################3

# This schedule does the catalog. It starts after the WeeklyCycle


Schedule {
Name = "Diario"
Run = Full 1st thu at 11:25
# Run = Full sun-sat at 23:10
}
###################################################################################
###########################
##################################### Cliente Servidor Correo Interno
########################################
###################################################################################
###########################

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
######################################
###################################################################################
###########################

# Definition of file storage device


Storage {
Name = File
# Do not use "localhost" here
Address = 192.168.11.158 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "123456"
Device = FileStorage
Media Type = File
}

########################################## Cliente Servidor Backup


###################################
###################################################################################
###########################

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
######################################
###################################################################################
###########################

# Definition of DDS tape storage device


#Storage {
# Name = File
# Do not use "localhost" here
# Address = 192.168.11.158 # N.B. Use a fully qualified name here
# SDPort = 9103
# Password = "123456" # password for Storage daemon
# Device = FileStorage # must be same as Device in Storage
daemon
# Media Type = File # must be same as MediaType in Storage daemon
# Autochanger = yes # enable for autochanger device
#}

# Definition of 8mm tape storage device

###################################################################################
###########################
################################### 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"
#}

# Generic catalog service


Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = "123456"
}

###################################################################################
###########################
################################ 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.

mailcommand = "/usr/sbin/bsmtp -h 192.168.11.4 -f \"\(Respaldo\) %r\"


-s \"Respaldo: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h 192.168.11.4 -f \"\(Respaldo\) %r\"
-s \"Respaldo: Se necesita intervencion manual para %j\" %r"
# mail = 9289633@fach.cl = all, !skipped
mail = 15558005@fach.cl = all, !skipped
# mail = interno2008@cic = all, !skipped
# mail = interno2808@cic = all, !skipped
# operator = interno2803@cic = mount
operator = 15558005@fach.cl = 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/spool/bacula/log" = all, !skipped
}

#
# 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
##############################################
###################################################################################
###########################

Das könnte Ihnen auch gefallen