quando tento fazer o backup manualmente
bconsole -c /etc/bacula/bconsole.conf
da esse erro :S
bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to
Director daemon on debian:9101. ERR=Conexão recusada
eu digitando nmap -sT -O localhost
a porta 9101 num aparece as outras 9102 e 9103 estão rodandoo....
alguém já passou por isso ou sabe resolver...
Desde já grato;
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.
Director { # define myself
Name = debian-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
Password = "123" # Console password
Messages = Mensagens
}
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
Client {
Name = Linux_Client_Debian
Address = 10.68.16.26
FDPort = 9102
Catalog = MyCatalog
Password = "123" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 30 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1d # one year
}
Pool {
Name = SegundaPoolDebian
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Segunda_Debian"
}
Pool {
Name = TercaPoolDebian
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Terca_Debian"
}
Pool {
Name = QuartaPoolDebian
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Quarta_Debian"
}
Pool {
Name = QuintaPoolDebian
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Quinta_Debian"
}
Pool {
Name = SextaPoolDebian
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Sexta_Debian"
}
Schedule {
Name = "Diario_Debian"
Run = Level=Full Pool=SegundaPoolDebian Monday at 12:00pm
Run = Level=Full Pool=TercaPoolDebian Tuesday at 12:00pm
Run = Level=Full Pool=QuartaPoolDebian Wednesday at 12:00pm
Run = Level=Full Pool=QuintaPoolDebian Thursday at 12:00pm
Run = Level=Full Pool=SextaPoolDebian Friday at 12:00pm
}
FileSet {
Name = "Linux_File_Debian"
Include {
Options {
signature = MD5
IgnoreCase = yes
wildfile = "*.tmp"
Exclude = yes
}
File = /var/www
File = /home
}
}
Storage {
Name = FileStorage
Device = FileStorage
Address = 10.68.16.26
SDPort = 9103
Password = "123"
Media Type = File
}
Job {
Name = Linux_Debian
Enabled = Yes
Level = Incremental
Type = Backup
Client = Linux_Client_Debian
FileSet = Linux_File_Debian
Storage = FileStorage
Schedule = "Diario_Debian"
Pool = Default
Messages = Mensagens
Priority = 10
Write Bootstrap = "/var/bacula/working/Linux_Debian.bsr"
}
Job {
Name = Restore_Linux_Debian
Type = Restore
Client = Linux_Client_Debian
FileSet = Linux_File_Debian
Storage = FileStorage
Messages = Mensagens
Pool = Default
Where = /tmp/bacula-restores
}
Messages {
Name = Mensagens
# Envia todas as mensagens geradas pelo Bacula para o arquivo
#/var/log/bacula.log
syslog = all, !skipped, !saved
}
===============
bacula-sd.conf
Storage { # definition of myself
Name = debian-dir
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
}
Director {
Name = debian-dir
Password = "123"
}
Device {
Name = "FileStorage"
Media Type = File
Archive Device = /tmp/bacula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Messages {
Name = Standard
director = debian-dir = all
# operator = root = mount
}
=========================
bacula-fd.conf
Director {
Name = debian-dir
Password = "123"
}
FileDaemon { # this is me
Name = debian-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 1
}
Messages {
Name = Standard
director = debian-dir = all, !skipped !restored
}
========================
bconsole.conf
Director {
Name = debian-dir
DIRport = 9101
address = debian
Password = "123"
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.
e o fd
Name = Linux_Client_Debian
isto:
aguardando resposta...
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.
debian:/etc/bacula# /etc/init.d/bacula-dir restart
Stopping Bacula Director: bacula-dir
Starting Bacula Director: bacula-dir
debian:/etc/bacula# /etc/init.d/bacula-fd restart
Stopping Bacula File Daemon: bacula-fd
Starting Bacula File Daemon: bacula-fd
debian:/etc/bacula# /etc/init.d/bacula-sd restart
Stopping Bacula Storage Daemon: bacula-sd
Starting Bacula Storage Daemon: bacula-sd
nd ainda visse...:S
debian:/etc/bacula# bconsole -c /etc/bacula/bconsole.conf
Connecting to Director debian:9101
13-Abr 10:42 bconsole JobId 0: Fatal error: bsock.c:135 Unable to
connect to Director daemon on debian:9101. ERR=Conexão recusada
é minha primeira vez mexendo com o bacula estou realmente precisando
ake no trab...
procurei sobre este erro e vir mto gente aê no google reclamando.
estou usando o debian lenny 5.0
bacula bacula-3.0.3
eu acho q vou instalar essa p.... de noovo kkkkkkkkkkkk
uma semana já nisso eu tou, acho q vou fazer ake uma maquina virtual e
fazer td de novo ver se da certo.
qual seria melhor opção já q vc é bem experiente em bacula.
oq vc me indica fazer ...
aguardo resposta com calma ta na paz... :D
posta ai o conteudo do seu console.conf Grato. jacó Ramos --- Em ter, 13/4/10, Daniel Augusto <daniel...@gmail.com> escreveu: |
|
|
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
Director {
Name = debian-dir
DIRport = 9101
address = debian
Password = "123"
}
==============================
debian endereço : 10.68.16.26
desculpa a demora fui almoçar...
Desculpe Daniel é o bconsole.conf mesmo! Faz o seguinte no bconsole.conf no lugar de : address = debian Substitua por: address = 10.68.16.26 Reinicie os servicos. Depois dê um: netstat -tulpen | grep bacula E verifique as portas 9101, 9102 e 9103 Grato. Jacó Ramos |
--- Em ter, 13/4/10, Daniel Augusto <daniel...@gmail.com> escreveu: |
|
Azuil Júnior e aê alguma ideia?
eu tou pensando em criar uma VM e instalar td do inicio pra ver se da
certoo...
e aê alguma ideia ?
já q vc trabalha com isso a mto tempo.
esperando resposta...
grato
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
Ok Daniel Vamos instalar a maquina virtual então e colocar a versão mais recente! E ver se não dar nenhum problema. |
Grato. Jacó Ramos --- Em ter, 13/4/10, Daniel Augusto <daniel...@gmail.com> escreveu: |
|
|
|
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.
Vou instalando agora meu VM.
Sim Alípio
rodei o comando bacula-dir -t -c /etc/bacula/bacula-dir.conf
num deu nd nenhum erro
lá nos logs só tem o mesmo erro a[i q coloquei nd a mais....
obrigado galera...
.
blz...
Sim estou me baseando na instalação com esse artigo
http://www.vivaolinux.com.br/artigo/Bacula-no-Debian-Lenny?pagina=1
blz...
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.
Bacula 5 com o Debian 4 q coloquei agora vou ver ake...
--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.