Hello,

First of all, I would like to thank BackupPC's developers for their software. I use it to backup a few personal Linux and Windows machines at home and it has worked flawlessly for years. It is easy to use, robust and well documented. Thanks a lot!

But today I am facing a strange issue that I have issues to debug. :-(

* Context:

 * BackupPC software installed on a fresh Debian 10 machine, using
   standard debian package (Version: 3.3.2-2+deb10u1) with HDD
 * Machine "louise" to backup giving me headaches: Fedora 31 Linux
   machine, with SSD drive
     o about 39Gb to backup
     o "louise" machine is backupped using ssh+rsync
     o I have backupped it for years without any issue up to now.
       Regular "I changed nothing!" argument (but something should have
       changed, of course)

* The Issue: After a backup of "louise" machine starts (either automatically by BackupPC server or manually), the file transfer never succeeds, i.e. I am never reaching the point where there are two PIDs in BackupPC status page. And of course the backups never finishing, even after waiting 12h!

* More information:

Doing backup of a remote Linux machine with same BackupPC server works (for about 8Gb of data, 1h behind a 100Mbit connexion), so BackupPC server seems to work.

I have no problem to connect from BackupPC to root account on "louise" machine. No such errors in the log files of BackupPC.

Locally on "louise" machine, I am able to rsync the relevant directory I want to backup to another local disk (from SSD disk to another HDD disk) in about 6 minutes. Total transferred file size: 41,280,889,122 bytes. File list generation time: 0.001 seconds. So it seems SSD disk is working correctly and file list generation time is negligible.

As recommended in the FAQ, I launched a full dump manually with -v verbose option:

"""
    $ /usr/share/backuppc/bin/BackupPC_dump -v -f louise
cmdSystemOrEval: about to system /bin/ping -c 1 louise
cmdSystemOrEval: finished: got output PING louise (192.168.0.5) 56(84) bytes of data.
64 bytes from louise (192.168.0.5): icmp_seq=1 ttl=64 time=0.160 ms

--- louise ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.160/0.160/0.160/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 louise
cmdSystemOrEval: finished: got output PING louise (192.168.0.5) 56(84) bytes of data.
64 bytes from louise (192.168.0.5): icmp_seq=1 ttl=64 time=0.150 ms

--- louise ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.150/0.150/0.150/0.000 ms

CheckHostAlive: returning 0.150
full backup started for directory /
started full dump, share=/
Running: nice -n 19 /usr/bin/ssh -q -x -l root louise nice -n 0 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 9330
xferPids 9330
Got remote protocol 31
Negotiated protocol version 28
Sent include: /home
Sent exclude: /*
Sent exclude: /home/david/.cache
Sent exclude: /home/david/00-poubelle
Sent exclude: /home/lost+found
Sent exclude: /home/david/.opam

[No answer after 12 hours, so I enter ^C ]

fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal
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: fileListReceive failed
"""

Here is the content of louise.pl configuration file:

"""
#
# ssh+rsync
#
$Conf{XferMethod} = 'rsync';

$Conf{BackupFilesOnly} = ['/home'];

$Conf{BackupFilesExclude} = [ '/home/david/.cache', '/home/david/00-poubelle', '/home/lost+found', '/home/david/.opam' ];

$Conf{RsyncClientCmd} = 'nice -n 19 $sshPath -q -x -l root $host nice -n 19 $rsyncPath $argList+';
"""


I can also do following rsync command from 'backuppc' account on BackupPC server:

    $ /usr/bin/time rsync -azx --stats root@louise:/home/david /var/lib/backuppc/manual

It saves the 39Gb of data in about 26 minutes. File list generation time: 0.001 seconds. File list transfer time: 0.000 seconds


In my current understanding, disks on both louise and BackupPC server machines are working, network is working and configuration aspects should be OK.

I am stuck at this point.

Any idea how I could debug this issue?

Many thanks in advance for any help,
Best regards,
D. Mentré


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

Reply via email to