My external backup drive died recently so I bought a NAS and installed a
docker with Backuppc in it and set it up to backup my Linux box. Works like
a charm.

Now I want to add my Windows laptop to the list of clients. I was following
this guide
<https://kifarunix.com/backup-windows-system-with-backuppc-using-rsyncd/>
but I get this error in the XferLOG.bad.z file:

XferLOG file /data/backuppc/pc/steveoldlaptop/XferLOG.0.z created
2024-01-18 04:00:03
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0,
newBkupNum = 0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle =
0, noFillCnt = )
Running: /usr/local/bin/rsync_bpc --bpc-top-dir /data/backuppc
--bpc-host-name steveoldlaptop --bpc-share-name cDrive --bpc-bkup-num 0
--bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
--bpc-bkup-inode0 2 --bpc-log-level 1 --bpc-attrib-new -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
steveoldlaptop:cDrive/ /
full backup started for directory cDrive
Xfer PIDs are now 633
This is the rsync child about to exec /usr/local/bin/rsync_bpc
ssh: connect to host steveoldlaptop port 22: Operation timed out
rsync_bpc: connection unexpectedly closed (0 bytes received so far)
[Receiver]
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3.0]
rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained
error (code 255) at io.c(226) [Receiver=3.1.3.0])
Xfer PIDs are now
Got fatal error during xfer (No files dumped for share cDrive)

So it looks like ssh is not set up correctly on my Windows laptop. Since
the guide above didn't mention anything about setting up ssh, I assumed
(probably foolishly) that the rsync configuration would take care of it.

I need some help debugging this, please.

Steve
_______________________________________________
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