First of all, many thanks for the wonderful program. I've been using it 
for nearly 6 months now, and I'm very happy with it.

Now, I want to give the CGI control interface a try. I have a dedicated 
backup host, namely "bckserver", on which the BackupPC server is running 
(and stores backups) as user backuppc. Since I don't want to install 
unneeded things on this host, and moreover I already have another host 
(called "webserver") with apache installed, I'm trying to use the CGI 
interface from this second host.

This is what I did so far:

- on bckserver, I put this in the general config.pl:

[cut]
$Conf{ServerHost} = `hostname`;
chomp($Conf{ServerHost});
[cut]
$Conf{ServerPort} = 8888;      #  was: -1 
[cut]
$Conf{ServerMesgSecret} = 'a-very-hard-to-guess-string';

And, when starting BackupPC -d, I can see that port 8888 is actually 
listening.

- on webserver, I put this in config.pl:

[cut]
$Conf{ServerHost} = 'bckserver';
chomp($Conf{ServerHost});
[cut]
$Conf{ServerPort} = 8888;
[cut]
$Conf{ServerMesgSecret} = 'a-very-hard-to-guess-string';

Now, if I browse to http://webserver/cgi-bin/BackupPC_Admin, I see 
(correctly) that the server is running on host bckserver, but I cannot 
see the host list. If I copy over the "hosts" file from bckserver to 
webserver, the host list appears and I can start backups, but they are 
not shown and can not be browsed, although they complete succesfully.
At the moment, on webserver, only the general "config.pl" and "hosts" 
files are installed (along with the CGI, of course). 
It seems that the CGI program is expecting to find data about backups, 
logs, etc. on the same host it's running on, instead of reading this 
information from the server via the TCP socket.
Is this the expected behaviour? Or am I doing something wrong?
Thanks for any help.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to