Bacula-users

Re: [Bacula-users] Bacula behind Router for Web Server

2008-10-20 10:27:16
Subject: Re: [Bacula-users] Bacula behind Router for Web Server
From: "John Drescher" <drescherjm AT gmail DOT com>
To: "Bacula-users AT lists.sourceforge DOT net" <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 20 Oct 2008 10:25:09 -0400
On Mon, Oct 20, 2008 at 10:24 AM, John Drescher <drescherjm AT gmail DOT com> 
wrote:
> On Mon, Oct 20, 2008 at 10:00 AM, Dams <smadon AT gmail DOT com> wrote:
>> 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?
>>
> The problem is that the the client bacula-fd needs to contact the
> bacula-sd directly using whatever ip address (or FQDN
> http://en.wikipedia.org/wiki/FQDN) you have in your bacula-dir.conf
> file in the storage section. You probably want to use a FQDN and
> modify the host file on the client machine to set this FQDN to the
> gateway machine's ipaddress.
>
> John
>



-- 
John M. Drescher

-------------------------------------------------------------------------
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>