Adicionando Um Cliente Windows Ao Bacula

June 20, 2018 | Author: José Antônio Oliveira | Category: System Software, Computing, Technology, Software, Computer Architecture
Report this link


Description

ADICIONANDO UM CLIENTE WINDOWS AOBACULA Objetivo: Realizar a configuração 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 AJUSTANDO O SERVIDOR WINDOWS Fazer o download do arquivo para Windows (Versões 32 e 64 Bits). Abaixo segue o link da versão mais atual do bacula-fd para Windows, porém, foi realizado testes com a versão e a mesma não retornou um desempenho adequado. http://sourceforge.net/projects/bacula/files/Win32_64/5.2.10 Instalação no cliente: Execute o arquivo que acabamos de baixar: Next > I Agree > Next > Next > Next > Finished Os arquivos ficam no diretório abaixo: C:\Program Files\Bacula Após realizar a instalação é necessário a criação do arquivo 'bacula-fd.conf' dentro do diretório: C:\Program Files\Bacula # Default Bacula File Daemon Configuration file # # For Bacula release 5.2.6 (02/21/12) -- Windows MinGW32 # # There is not much to change here except perhaps the # File daemon Name # # # "Global" File daemon configuration specifications # FileDaemon { Name = DC1-fd # Nome do cliente-fd !restored } Após o ajuste no arquivo “bacula-fd. Feito isso reinicie o serviço bacula-fd em “services. Abra o registro do Windows: Executar: - REGEDIT\\ HKEY_LOCAL_MACHINE\\ SYSTEM\\ CURRENTE CONTROL SETS\\ SERVICES\\ Crie uma nova chave chamada “wbengine” Dentro de “wbengine” crie uma pasta chamada: 'SystemStateBackup' Dentro dela crie um valor “DWORD” de 32 Bits com o nome de “ALlowSSBToAny”.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. 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.msc” . !skipped.conf” precisamos realizar um acerto no registro do Windows.CONF } # # Restricted Director. 0.0..106.CONF' @/etc/bacula/clientes/dc2. Lembrando que é possível utilizar a resolução de nomes pelo DNS.104.250 bacula.1 10. vi /etc/hosts 127..0.conf” adicione o novo cliente Windows no final do arquivo.0.250 localhost bacula # Servidor de Backup Bacula 10.] O proximo passo é a configuração do arquivo clientes/dc2.conf .204 dc2 WINDOWS SERVER # SERVIDOR AD # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters No Arquivo “bacula-dir-clients-and-jobs.106.com. Veja abaixo: vi /etc/bacula/bacula-dir-clients-and-jobs.br bacula # Clientes de Backup Bacula 10.tidahora..AJUSTANDO O SERVIDOR PARA RECONHECER O CLIENTE Antes de configurar o cliente ao servidor bacula.conf [.0.204 Job { Name = "Backup-WinServer-DC2" DO JOB DE BACKUP PARA O CLIENTE JobDefs = "DefaultWindows" JOBDEF AJUSTADO AO SERVIDOR Client = dc2-fd CLIENTE DO JOB } # 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.104.## [..] ## ------------------------------------------------------------------## # JOB DE BACKUP PARA CLIENTE WINDOWS SERVER # HOSTNAME: dc2 # IP: 10. vamos editar o arquivo ”/etc/hosts” do servidor bacula.0.client # Arquivo onde contem informacoes de catalogo e periodo do backup do cliente } ## ------------------------------------------------------------------. 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 Feito isso. # Nome do # Tempo de # Tempo de # Prune de .d/bacula-dir restart /etc/init.2 (28 April 2010) Enter a period to cancel a command.104. ==== Terminated Jobs: * Cliente Windows ajustado ao Servidor Bacula.vi /etc/bacula/clientes/dc2.0.0. *reload * *status client=dc2-fd Connecting to Client arquivos2-fd at dc2:9102 Running Jobs: Director connected at: 19-Nov-12 15:48 No Jobs running.d/bacula-fd restart Abra o “bconsole” e faça o seguinte: # bconsole Connecting to Director localhost:9101 1000 OK: bacula-dir Version: 5.conf ########################################################## ## ARQUIVO PARA CONFIGURACAO DE CLIENTE LINUX NO BACULA ## ## IP: 10. reinicie o serviço do bacula /etc/init.d/bacula-sd restart /etc/init.


Comments

Copyright © 2024 UPDOCS Inc.