Hello

I'm using BackupPC 3 for many local PCs. I would like now to backup some
data from a remote server, located in another entity and where I need to
go throught a frontend

BackupPC <<------->> Frontend <<--------->> serveur-with-data

From my BackupPC, logged as backupc, I can execute commands on the
remote server hosting the data.

I can launch top (after all ssh keys configured) only with:

/usr/bin/ssh -q -x -t -o ProxyCommand='ssh begou@Frontend nc
serveur-with-data 22'  serveur-with-data  top

But I am unable to use BackuPC with such a command. I've set
RsynClientCmd to:

$sshPath -q -x  -t -o ProxyCommand='ssh begou@Frontend nc 
serveur-with-data  22' serveur-with-data  /usr/bin/rsync $argList+

I'v also tryed to use a config file and -F option of ssh to use it (to
avoid quote in the command line) but no more chance.

BackupPC logs shows:

Running: /usr/bin/ssh -q -x -t -o ProxyCommand=\'ssh begou@Frontend nc 
serveur-with-data 22\' serveur-with-data /usr/bin/rsync --server --sender 
--numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 --recursive --ignore-times . /My/Data/to/Save/ 
Xfer PIDs are now 68242
Read EOF: Connection reset by peer
Tried again: got 0 bytes
Done: 0 files, 0 bytes
Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)


On the remote server rsync is /usr/bin/rsync (I've checked, of course)

Any idea ?

Thanks

Patrick

_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to