On 2017-09-06 07:18, Anton Torkunov wrote:
Hello everyone! I've tried to backup host via rsyncd, but got error: Backup aborted (unexpected response: '')rsyncd is well configured, because If I try to run just rsync, everything is fine: rsync rsync://orange.vpn/root/ ... the listing files is here ...
It's a good troubleshooting step. Was this run from the same host? What does your rsyncd.conf look like?
Next, I've tried to run BackupPC_dump: su backuppc -c "/usr/share/backuppc/bin/BackupPC_dump -v -f orange.vpn" cmdSystemOrEval: about to system /bin/ping -c 1 orange.vpn cmdSystemOrEval: finished: got output PING orange.vpn (192.168.220.27) 56(84) bytes of data. 64 bytes from orange (192.168.220.27): icmp_seq=1 ttl=64 time=8.25 ms --- orange.vpn ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 8.259/8.259/8.259/0.000 ms ... CheckHostAlive: returning 9.026 full backup started for directory root started full dump, share=root Connected to orange.vpn:873, remote version 31 Negotiated protocol version 28 Error connecting to module root at orange.vpn:873: unexpected response: '' Got fatal error during xfer (unexpected response: '') cmdSystemOrEval: about to system /bin/ping -c 1 orange.vpn cmdSystemOrEval: finished: got output PING orange.vpn (192.168.220.27) 56(84) bytes of data. 64 bytes from orange (192.168.220.27): icmp_seq=1 ttl=64 time=7.38 ms ... CheckHostAlive: returning 11.452 Backup aborted (unexpected response: '') Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0) dump failed: unexpected response: ''
====== At the client side (rsyncd): 2017/09/06 17:10:52 [4780] name lookup failed for 192.168.220.23 [1]: Name or service not known 2017/09/06 17:10:52 [4780] connect from UNKNOWN (192.168.220.23) 2017/09/06 17:10:52 [4780] rsync on root/ from UNKNOWN (192.168.220.23) 2017/09/06 17:10:52 [4780] building file list 2017/09/06 17:10:52 [4780] sent 459 bytes received 29 bytes total size 0 2017/09/06 17:12:59 [5305] name lookup failed for 192.168.220.23 [1]: Name or service not known 2017/09/06 17:12:59 [5305] connect from UNKNOWN (192.168.220.23) 2017/09/06 17:13:04 [5305] rsync: safe_read failed to read 1 bytes [Receiver]: Connection reset by peer (104) 2017/09/06 17:13:04 [5305] rsync error: error in rsync protocol data stream (code 12) at io.c(276) [Receiver=3.1.1] ======= Could you help me to fix the issue???
It may be instructive to examine the client side log from your successful session to see what's different.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ 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/