SILLAT
April 18th, 2012, 07:52 PM
I have Bacula 5.0.0-9 running on a CentOS x64 Box, I have configured Bacula to backup 2 Win2003 Server at present and all is well, I want it to backup my Ubuntu Desktop as well as 2 more Linux Server.
I'm running ubuntu 11.04 with bacula-client 5.0.3-0ubuntu2
I'm having problems configuring the Ubuntu bacula-client so it can run backups, I'm not sure if I've installed all the right packages but this is what i did:
I ran
sudo apt-get install bacula-client bacula-common bacula-console bacula-fd
I then edited bacula-fd.conf and bconsole.conf and started the service /etc/init.d/bacula-fd start
I also open port 9102 -
root@ubuntu:~# netstat -tulpn | grep LISTEN
tcp 0 0 127.0.1.1:9102 0.0.0.0:* LISTEN 3687/bacula-fd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 867/cupsd
Bconsole works fine i can connect and run jobs,verify etc..but the bacula-client has errors when i try to run a backup - Fatal error: bsock.c.135 unable to connect to client ERR=Connection refused
What am I Missing ??
Here's my bacula-fd.conf
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 5.0.3 (04 August 2010) -- ubuntu 11.04
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-dir
Password = "bacula-dir password"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
#Director {
# Name = buntu-mon
# Password = "hKyy3ScGadhHOg2uMQvaTzwDXRiDWN5Sr"
# Monitor = yes
#}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = ubuntu-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = ubuntu.domain.local #127.0.0.1
}
here's my bconsole.conf
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = bacula-dir
DIRport = 9101
address = bacula.domain.local
Password = "bacula-dir password"
}
I'm running ubuntu 11.04 with bacula-client 5.0.3-0ubuntu2
I'm having problems configuring the Ubuntu bacula-client so it can run backups, I'm not sure if I've installed all the right packages but this is what i did:
I ran
sudo apt-get install bacula-client bacula-common bacula-console bacula-fd
I then edited bacula-fd.conf and bconsole.conf and started the service /etc/init.d/bacula-fd start
I also open port 9102 -
root@ubuntu:~# netstat -tulpn | grep LISTEN
tcp 0 0 127.0.1.1:9102 0.0.0.0:* LISTEN 3687/bacula-fd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 867/cupsd
Bconsole works fine i can connect and run jobs,verify etc..but the bacula-client has errors when i try to run a backup - Fatal error: bsock.c.135 unable to connect to client ERR=Connection refused
What am I Missing ??
Here's my bacula-fd.conf
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 5.0.3 (04 August 2010) -- ubuntu 11.04
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-dir
Password = "bacula-dir password"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
#Director {
# Name = buntu-mon
# Password = "hKyy3ScGadhHOg2uMQvaTzwDXRiDWN5Sr"
# Monitor = yes
#}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = ubuntu-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = ubuntu.domain.local #127.0.0.1
}
here's my bconsole.conf
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = bacula-dir
DIRport = 9101
address = bacula.domain.local
Password = "bacula-dir password"
}