Professional Documents
Culture Documents
BACULA
Objetivo: Realizar a configurao de um cliente com sistema operacionar Windows
Server 2003/2008 ao servidor Bacula Backup.
Ambiente do Servidor:
Servidor: Debian Squeeze
IP: 10.106.0.200
Ambiente do Cliente Windows Server 2008:
Servidor: Windows Server 2008 R2
IP: 10.104.0.202
FDport = 9102
# Porta de Comunicacao
WorkingDirectory = "C:\\Program Files\\Bacula\\working"
# Diretorio de Trabalho
Pid Directory = "C:\\Program Files\\Bacula\\working"
# Diretorio de PID
# Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
# Diretorio de Plugins
Maximum Concurrent Jobs = 10
# Numero Maximo de Jobs em execucao
}
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-dir
# ALTERAR PARA O
NOME DO 'DIRECTOR' DO BACULA
Password = "a0wDKVckyaTacqItfkCxddJxyBLwAXFn7"
# SENHA PARA
COMUNICACAO COM ARQUIVO CLIENTS-AND-JOBS.CONF
}
#
# Restricted Director, used by tray-monitor to get the
#
status of the file daemon
# UTILIZADO PELO BACULA MONITOR
Director {
Name = bacula-mon
Password = "yQevDJfJg7fBgp8PfOxWTKqTqhUUTvAMn"
Monitor = yes
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}
REGEDIT\\
HKEY_LOCAL_MACHINE\\
SYSTEM\\
CURRENTE CONTROL SETS\\
SERVICES\\
localhost
bacula
bacula
# SERVIDOR AD
# NOME
#
#
Client {
Name = dc2-fd
# NOME DO
CLIENTE
Address = dc2
#
Ajustado no /etc/hosts (Pode ser o IP ou Nome do Cliente)
Password = "a0wDKVckyaTacqItfkCxddJxyBLwAXFn7"
#
ALTERAR A SENHA PARA A SENHA GERADA NO ARQUIVO DO CLIENTE 'BACULAFD.CONF'
@/etc/bacula/clientes/dc2.client
# Arquivo
onde contem informacoes de catalogo e periodo do backup do cliente
}
## ------------------------------------------------------------------- ##
[...]
vi /etc/bacula/clientes/dc2.conf
##########################################################
## ARQUIVO PARA CONFIGURACAO DE CLIENTE LINUX NO BACULA ##
## IP: 10.104.0.204
##
## HOSTNAME: dc2
##
##########################################################
Catalog = Catalogo
Catalogo definido
File Retention = 30 days
Retencao do Backup
Job Retention = 6 months
Retencao do Job
AutoPrune = yes
Jobs/Arquivos Expirados
# Nome do
# Tempo de
# Tempo de
# Prune de