Open bacarrdy opened 3 years ago
[root@backuppc ~]# yum list installed rsync-bpc Installed Packages rsync-bpc.x86_64 3.1.3.0-1.el8 @epel [root@backuppc ~]# yum list installed rsync Installed Packages rsync.x86_64 3.1.3-12.el8 @anaconda [root@backuppc ~]#
Thanks for providing the output from BackupPC_dump -f -v target2_host
. It fails quite quickly.
BackupPC_dump
only takes a single -v
option, so repeating it don't increase the log level. Please re-run manually with two changes (but still keep -v
on BackupPC_dump
):
'-vvv'
to $Conf{RsyncArgs}
$Conf{XferLogLevel}
to 7By the way, the default $Conf{RsyncSshArgs}
has added -o ServerAliveInterval=60
so you might try adding that too. The git
default is now:
$Conf{RsyncSshArgs} = ['-e', '$sshPath -l root -o ServerAliveInterval=60'];
Hello,
Sorry for delay. I have deleted all backups of backup target (it starts backups but not finish) and then started again with required by you opinions. As i can see it looks that it tryes to make backup of one of folders, but doesnt start second.
Log attached log.txt
if you will need log from another target then just tell me.
HI ! UP. I have the same problem, I put the same parameters (ServerAliveInterval=60 and ServerAliveCountMax=0)
Backup aborted (rsync error: unexplained error (code 255) at io.c(226) [generator=3.1.3.0])
I don't know how to do.
UP again . I found the reason . I put a bad character in the .ssh/config file on the backuppc server . But I don't understand why the server needs the file, indeed I put "-o " options in the ssh command in the backuppc configuration , so I don't understand why it would need this file ?
We're facing the same symptoms here. I am now trying to implement verbose output from https://github.com/backuppc/rsync-bpc/issues/20#issuecomment-781981358 Too bad that each log line does not necessarily include an exact timestamp what happened when, otherwise it would be easier troubleshooting on network side etc as well. BTW we're also facing https://github.com/backuppc/rsync-bpc/issues/28 regularly. All of it happening on a host with tens of millions of files.
The SSH client (on the backuppc server) is just disappearing as it seems. And then it looks like this:
42de9328cf40862dec68537787c95022 1
1403fad62d5cef9cf2a877be379c31ac 1
5933c24cba1cadc8b80353e47e2665b5 1
DoneGen: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 22482011 filesTotal, 122747042777 sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 120668498 inode
Parsing done: nFilesTotal = 22482011
rsync error: unexplained error (code 255) at io.c(226) [generator=3.1.3.0]
[generator] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(255)
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error (code 255) at io.c(226) [generator=3.1.3.0])
Xfer PIDs are now
Executing DumpPostUserCmd:..
SSH server (on the client) is reporting the following more or less at the same time
2024-08-10T01:21:30.125447+02:00 host sshd[23918]: Read error from remote host 1.2.3.118: Connection timed out
2024-08-10T01:21:30.125710+02:00 host sshd[23918]: debug1: do_cleanup
RsyncClientPath: nice -n 19 ionice -c2 -n7 sudo /usr/bin/rsync RsyncSshArgs: $sshPath -l backuppc -o ServerAliveInterval=60 -v
I'm trying to increase this to "-vvv" then...
Hello,
We have a lot of servers what we are backing up via backuppc and now we have installed new backuppc system on centos 8 and noticed that on only few servers we have issues when backup stops and freezes and then gives error:
So i have started backup from cli with command /usr/share/BackupPC/bin/BackupPC_dump -f -vvv target_host and collected rsync_bpc at what rsync_bpc stucked:
And then started rcync process with this command and rsync process stucked at (Please keep in mind that this is not first directory for what backuppc was runing on same server, but last one and as i noticed backuppc for each directory generate rsync command. Also x@0024waits_global_by_latency.frm,374 is the last file from folder):
Second server what has same issue:
if need to collect any additional data please tell me