Bacula-users

[Bacula-users] Bacula behind Router for Web Server

2008-10-20 10:04:18
Subject: [Bacula-users] Bacula behind Router for Web Server
From: Dams <smadon AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 20 Oct 2008 21:00:42 +0700
Hi all,

I have already configure my Bacula on my LAN. It's working fine.

But now I would like to configure bacula to backup my Web Server
(Proxy as well). This server is in Internet Zone, my LAN is behind a
firewall.

Internet -- WebServer (10.0.0.1)--(10.0.0.2)Gateway [firewall]
(192.168.2.1)--(192.168.2.5) ServerBacula


>>From the bconsole, I can connect to the webserver and do a estimate,
but if I do a backup, I received an error message :

20-Okt 19:12 webserver-fd JobId 375: Fatal error: Failed to connect to
Storage daemon: baculaserver:9103 20-Okt 19:12 webserver-fd JobId 375:
Error: bsock.c:182 gethostbyname() for host "baculaserver" failed:
ERR=Authoritative answer for host not found. 20-Okt 19:11
baculaserver-dir JobId 375: Fatal error: Socket error on Storage
command: ERR=No data available 20-Okt 19:11 baculaserver-sd JobId 375:
Job Daily_Backup_-_webserver_-_Data_Email.2008-10-20_19.11.08 marked
to be canceled. 20-Okt 19:11 baculaserver-dir JobId 375: Error: Bacula
baculaserver-dir 2.2.8


I write 2 rule on my gateway:

Forward Incoming Traffic :
- Destination port : 9103, Destination address:  10.0.0.2 protocol :
TCP and UDP , forward to 192.168.2.5:9103
- Destination port : 9102, Destination address:  10.0.0.2 protocol :
TCP and UDP , forward to 192.168.2.5:9102



My bacula-fd.conf file on the web server.
Director {
  Name = baculaserver-dir
  Password = "XXXXX"
}
Director {
  Name = baculaserver-mon
  Password = "XXXXX"
  Monitor = yes
}

FileDaemon {                          # this is me
  Name = WEBSERVER-fd
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
}

Messages {
  Name = Standard
  director = baculaserver-dir = all, !skipped, !restored
}



I think I missed somethink in the rule firewall to authorize the
client to talk to the SD.
Could you give an hand on it?

Thanks for you help.
Smad :-)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>