Hey there,
here is my command (typed from a shell)
/usr/bin/rsync_bpc --bpc-top-dir /data/BackupPC --bpc-host-name evo
--bpc-share-name /root --bpc-bkup-num 0 --bpc-bkup-comp 3
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ root
--rsync-path=/usr/bin/rsync --super --recursive --protect-args
--numeric-ids --perms --owner --group -D --times --links --hard-links
--delete --delete-excluded --one-file-system --partial
--log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum
--timeout=72000 --log-file xxx.log $buggy_srv:/root/ /
and here is the content of log file
2024/07/23 15:14:02 [176638] receiving file list
2024/07/23 15:17:32 [176638] rsync_bpc: connection unexpectedly closed
(0 bytes received so far) [Receiver]
2024/07/23 15:17:32 [176638] rsync error: unexplained error (code 255)
at io.c(226) [Receiver=3.1.2.0]
I'll try a new backup with "-a ServerAliveInterval=60".
Have a good day,
Johnny
On 22/07/2024 17:59, Les Mikesell wrote:
On Mon, Jul 22, 2024 at 9:54 AM Johnny PINSON
<johnny.pin...@polytechnique.edu> wrote:
Hi,
yes, the two servers used to be backup up by a backuppc server but, due
to raid's controller issue, it can no longer.
I tried the keepalive trick :
- edited .ssh/config for user making backups
* inserted this line
Host buggy_server_one
ServerAliveInterval 300
ServerAliveCountMax 2
But it did not fix the issue.
Is that the good way to increase ssh keepalive?
Thanks for your help,
I no longer have a working system to test, but I think adding -o
ServerAliveInterval=60 after $sshPath in $Conf{RsyncClientCmd} should
work. Is there some sort of error listed in your Xferlog for the
failed backups? Another somewhat remote possibility is that you have
some sort of file corruption on the clients causing the remote rsync
to hang up.
--
Laboratoire des Solides Irradiés
UMR 7642 / CNRS - CEA - Ecole polytechnique
ECOLE POLYTECHNIQUE
Route de Saclay
91128 PALAISEAU Cedex
T : 33 (1) 69 33 44 73
https://portail.polytechnique.edu/lsi/fr
bureau 83 20 07
_______________________________________________
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/