> because you are forwarding port 8874 on the BackupPC server 
> to localhost:873 on the client host (that's the whole purpose 
> of the ssh tunnel). So you need to make BackupPC connect to 
> port 8874 on the BackupPC server in order to reach the 
> client's rsyncd.

You're right, I just forgot how the syntax effectively works out. Now
that I've set it like that, I still get no backups.

Executing DumpPreUserCmd: /var/lib/backuppc/tunnel.sh -fC
[email protected] -L 8874:127.0.0.1:873 sleep 20
full backup started for directory data
Error connecting to rsync daemon at localhost:8874: inet connect:
Connessione rifiutata
Got fatal error during xfer (inet connect: Connessione rifiutata)
Backup aborted (inet connect: Connessione rifiutata)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)
------------------------------

If I do "ssh [email protected]" I get logged in without password
request, therefore the key-based authentication is working.

I would like to get some more detailed log about the "DumpPreUserCmd"
(which reads: ssh $@ 1>/dev/null 2>/dev/null && echo "SSH started
successfully.") because I don't know if the ssh tunnel effectively gets
opened and *remains* open.

How do I debug this further?

Thanks guys!

Flavio.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to