Hello,
Chris Joelly wrote:
Hello!
i try to backup a remote w2k server using the "Run Before Job" parameter to build a ssh tunnel to the bacula-fd on the remote server with the following script ...
the script builds the tunnel succesfull (but only with using start-stop-daemon, nohup doesn't work...), but i get the following messages on the director:
18-Mar 15:49 local-backupserver: No prior Full backup Job record found. 18-Mar 15:49 local-backupserver: No prior or suitable Full backup found. Doing FULL backup. 18-Mar 15:49 local-backupserver: Start Backup JobId 39, Job=srv-remote.2005-03-18_15.49.17 18-Mar 15:48 srv-remote: srv-remote.2005-03-18_15.49.17 Fatal error: Failed to connect to Storage daemon: local-backupserver:9103 18-Mar 15:48 srv-remote: srv-remote.2005-03-18_15.49.17 Error: ..\lib \../../lib/bnet.c:685 gethostbyname() for host "local-backupserver" failed: ERR=Authoritative answer for host not found. 18-Mar 15:49 local-backupserver: srv-remote.2005-03-18_15.49.17 Fatal error: Socket error from Filed on Storage command: ERR=No data available
hm. which application want's to connect to the bacula-sd which is running at the same machine as the director (local-bachupserver:9103):
the director or the bacula-fd on the remote w2k server to which the director connects via the ssh tunnel?
Right.
on the w2k server the name local-backupserver is not known nor kan the bacula-sd be reached through the (2) firewalls, one local and one remote...
There you've got the problem...
The FD needs to connect to the SD. It resolves the name the DIR gives as the SDs address, so basically, on all machines you have to be able to resolve all relevant hostnames.
With dynamic IP addresses that's not exactly simple, with static ones you could edit the windows' computers hosts file.
f you want to backup more than one computer remotely, a VPN might be a much better idea as it can make administration of all the tunnels, keys etc. much easier.
how can i setup a backup system to a remote system with ssh tunnels? or is this not possible with bacula?
Everything's possible ;-)
But not everything is simple :-(
In your situation, I'd try the VPN, or create a sophisticated script which, triggered by the director, sets up windows' hosts file. Might work, but I wouldn't want to do that...
Arno
thx for any hint,
Chris
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
-- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users